From 4fbacfb72b8beafa3f878cee403227e6c87a4526 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:28:00 +0000 Subject: [PATCH 1/2] fix: update gapic-generator-java with mock service generation fixes PiperOrigin-RevId: 457524730 Source-Link: https://github.com/googleapis/googleapis/commit/917e7f21cb1dc062744c6694437cdd46219f28cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9 --- .../cloud/datafusion/v1/DataFusionGrpc.java | 1062 ------ .../datafusion/v1beta1/DataFusionGrpc.java | 1807 --------- .../cloud/datafusion/v1/DataFusionClient.java | 36 +- .../datafusion/v1/DataFusionSettings.java | 13 +- .../cloud/datafusion/v1/gapic_metadata.json | 0 .../cloud/datafusion/v1/package-info.java | 0 .../datafusion/v1/stub/DataFusionStub.java | 0 .../v1/stub/DataFusionStubSettings.java | 24 +- .../stub/GrpcDataFusionCallableFactory.java | 0 .../v1/stub/GrpcDataFusionStub.java | 1 + .../HttpJsonDataFusionCallableFactory.java | 0 .../v1/stub/HttpJsonDataFusionStub.java | 1 + .../v1/DataFusionClientHttpJsonTest.java | 0 .../datafusion/v1/DataFusionClientTest.java | 0 .../cloud/datafusion/v1/MockDataFusion.java | 0 .../datafusion/v1/MockDataFusionImpl.java | 0 .../cloud/datafusion/v1/DataFusionGrpc.java | 837 ++++ .../cloud/datafusion/v1/Accelerator.java | 497 +-- .../datafusion/v1/AcceleratorOrBuilder.java | 30 +- .../datafusion/v1/CreateInstanceRequest.java | 519 +-- .../v1/CreateInstanceRequestOrBuilder.java | 52 +- .../cloud/datafusion/v1/CryptoKeyConfig.java | 301 +- .../v1/CryptoKeyConfigOrBuilder.java | 27 +- .../cloud/datafusion/v1/Datafusion.java | 411 ++ .../datafusion/v1/DeleteInstanceRequest.java | 339 +- .../v1/DeleteInstanceRequestOrBuilder.java | 31 + .../datafusion/v1/GetInstanceRequest.java | 339 +- .../v1/GetInstanceRequestOrBuilder.java | 31 + .../google/cloud/datafusion/v1/Instance.java | 3395 +++++++---------- .../cloud/datafusion/v1/InstanceName.java | 0 .../datafusion/v1/InstanceOrBuilder.java | 389 +- .../v1/ListAvailableVersionsRequest.java | 492 +-- ...ListAvailableVersionsRequestOrBuilder.java | 50 +- .../v1/ListAvailableVersionsResponse.java | 464 +-- ...istAvailableVersionsResponseOrBuilder.java | 45 +- .../datafusion/v1/ListInstancesRequest.java | 612 ++- .../v1/ListInstancesRequestOrBuilder.java | 65 +- .../datafusion/v1/ListInstancesResponse.java | 570 ++- .../v1/ListInstancesResponseOrBuilder.java | 63 +- .../cloud/datafusion/v1/LocationName.java | 0 .../cloud/datafusion/v1/NetworkConfig.java | 380 +- .../datafusion/v1/NetworkConfigOrBuilder.java | 36 +- .../datafusion/v1/OperationMetadata.java | 1018 +++-- .../v1/OperationMetadataOrBuilder.java | 104 +- .../datafusion/v1/RestartInstanceRequest.java | 342 +- .../v1/RestartInstanceRequestOrBuilder.java | 31 + .../datafusion/v1/UpdateInstanceRequest.java | 480 +-- .../v1/UpdateInstanceRequestOrBuilder.java | 46 +- .../google/cloud/datafusion/v1/Version.java | 562 ++- .../cloud/datafusion/v1/VersionOrBuilder.java | 54 +- .../cloud/datafusion/v1/datafusion.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createinstance/AsyncCreateInstance.java | 0 .../AsyncCreateInstanceLRO.java | 0 .../createinstance/SyncCreateInstance.java | 0 ...ateInstanceLocationnameInstanceString.java | 0 ...yncCreateInstanceStringInstanceString.java | 0 .../deleteinstance/AsyncDeleteInstance.java | 0 .../AsyncDeleteInstanceLRO.java | 0 .../deleteinstance/SyncDeleteInstance.java | 1 + .../SyncDeleteInstanceInstancename.java | 1 + .../SyncDeleteInstanceString.java | 1 + .../getinstance/AsyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../AsyncListAvailableVersions.java | 0 .../AsyncListAvailableVersionsPaged.java | 0 .../SyncListAvailableVersions.java | 0 ...SyncListAvailableVersionsLocationname.java | 0 .../SyncListAvailableVersionsString.java | 0 .../listinstances/AsyncListInstances.java | 0 .../AsyncListInstancesPaged.java | 0 .../listinstances/SyncListInstances.java | 0 .../restartinstance/AsyncRestartInstance.java | 0 .../AsyncRestartInstanceLRO.java | 0 .../restartinstance/SyncRestartInstance.java | 0 .../updateinstance/AsyncUpdateInstance.java | 0 .../AsyncUpdateInstanceLRO.java | 0 .../updateinstance/SyncUpdateInstance.java | 0 .../SyncUpdateInstanceInstanceFieldmask.java | 0 .../getinstance/SyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../datafusion/v1beta1/DataFusionClient.java | 55 +- .../v1beta1/DataFusionSettings.java | 13 +- .../datafusion/v1beta1/gapic_metadata.json | 0 .../datafusion/v1beta1/package-info.java | 0 .../v1beta1/stub/DataFusionStub.java | 0 .../v1beta1/stub/DataFusionStubSettings.java | 24 +- .../stub/GrpcDataFusionCallableFactory.java | 0 .../v1beta1/stub/GrpcDataFusionStub.java | 1 + .../HttpJsonDataFusionCallableFactory.java | 0 .../v1beta1/stub/HttpJsonDataFusionStub.java | 1 + .../v1beta1/DataFusionClientHttpJsonTest.java | 0 .../v1beta1/DataFusionClientTest.java | 0 .../datafusion/v1beta1/MockDataFusion.java | 0 .../v1beta1/MockDataFusionImpl.java | 0 .../datafusion/v1beta1/DataFusionGrpc.java | 1357 +++++++ .../cloud/datafusion/v1beta1/Accelerator.java | 379 +- .../v1beta1/AcceleratorOrBuilder.java | 24 +- .../v1beta1/AddDnsPeeringRequest.java | 440 +-- .../AddDnsPeeringRequestOrBuilder.java | 43 +- .../v1beta1/AddDnsPeeringResponse.java | 238 +- .../AddDnsPeeringResponseOrBuilder.java | 9 + .../v1beta1/CreateInstanceRequest.java | 519 +-- .../CreateInstanceRequestOrBuilder.java | 52 +- .../datafusion/v1beta1/CryptoKeyConfig.java | 311 +- .../v1beta1/CryptoKeyConfigOrBuilder.java | 27 +- .../v1beta1/DeleteInstanceRequest.java | 342 +- .../DeleteInstanceRequestOrBuilder.java | 31 + .../cloud/datafusion/v1beta1/DnsPeering.java | 619 ++- .../v1beta1/DnsPeeringOrBuilder.java | 63 +- .../v1beta1/GetInstanceRequest.java | 342 +- .../v1beta1/GetInstanceRequestOrBuilder.java | 31 + .../cloud/datafusion/v1beta1/IAMPolicy.java | 399 +- .../v1beta1/IAMPolicyOrBuilder.java | 34 +- .../cloud/datafusion/v1beta1/Instance.java | 3394 +++++++--------- .../datafusion/v1beta1/InstanceName.java | 0 .../datafusion/v1beta1/InstanceOrBuilder.java | 392 +- .../v1beta1/ListAvailableVersionsRequest.java | 513 +-- ...ListAvailableVersionsRequestOrBuilder.java | 50 +- .../ListAvailableVersionsResponse.java | 472 +-- ...istAvailableVersionsResponseOrBuilder.java | 45 +- .../v1beta1/ListDnsPeeringsRequest.java | 455 +-- .../ListDnsPeeringsRequestOrBuilder.java | 47 +- .../v1beta1/ListDnsPeeringsResponse.java | 458 +-- .../ListDnsPeeringsResponseOrBuilder.java | 45 +- .../v1beta1/ListInstancesRequest.java | 615 ++- .../ListInstancesRequestOrBuilder.java | 65 +- .../v1beta1/ListInstancesResponse.java | 574 ++- .../ListInstancesResponseOrBuilder.java | 63 +- .../v1beta1/ListNamespacesRequest.java | 523 +-- .../ListNamespacesRequestOrBuilder.java | 53 +- .../v1beta1/ListNamespacesResponse.java | 461 +-- .../ListNamespacesResponseOrBuilder.java | 45 +- .../datafusion/v1beta1/LocationName.java | 0 .../cloud/datafusion/v1beta1/Namespace.java | 399 +- .../v1beta1/NamespaceOrBuilder.java | 35 +- .../datafusion/v1beta1/NamespaceView.java | 82 +- .../datafusion/v1beta1/NetworkConfig.java | 390 +- .../v1beta1/NetworkConfigOrBuilder.java | 36 +- .../datafusion/v1beta1/OperationMetadata.java | 774 ++-- .../v1beta1/OperationMetadataOrBuilder.java | 73 +- .../v1beta1/RemoveDnsPeeringRequest.java | 421 +- .../RemoveDnsPeeringRequestOrBuilder.java | 49 + .../v1beta1/RemoveDnsPeeringResponse.java | 245 +- .../RemoveDnsPeeringResponseOrBuilder.java | 9 + .../v1beta1/RemoveIamPolicyRequest.java | 314 +- .../RemoveIamPolicyRequestOrBuilder.java | 27 +- .../v1beta1/RemoveIamPolicyResponse.java | 238 +- .../RemoveIamPolicyResponseOrBuilder.java | 9 + .../v1beta1/RestartInstanceRequest.java | 342 +- .../RestartInstanceRequestOrBuilder.java | 31 + .../v1beta1/UpdateInstanceRequest.java | 480 +-- .../UpdateInstanceRequestOrBuilder.java | 46 +- .../v1beta1/UpgradeInstanceRequest.java | 342 +- .../UpgradeInstanceRequestOrBuilder.java | 35 + .../cloud/datafusion/v1beta1/V1Beta1.java | 628 +++ .../cloud/datafusion/v1beta1/Version.java | 573 ++- .../datafusion/v1beta1/VersionOrBuilder.java | 54 +- .../cloud/datafusion/v1beta1/v1beta1.proto | 0 .../adddnspeering/AsyncAddDnsPeering.java | 0 .../adddnspeering/SyncAddDnsPeering.java | 0 .../SyncAddDnsPeeringInstancename.java | 0 .../SyncAddDnsPeeringString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createinstance/AsyncCreateInstance.java | 0 .../AsyncCreateInstanceLRO.java | 0 .../createinstance/SyncCreateInstance.java | 0 ...ateInstanceLocationnameInstanceString.java | 6 +- ...yncCreateInstanceStringInstanceString.java | 0 .../deleteinstance/AsyncDeleteInstance.java | 0 .../AsyncDeleteInstanceLRO.java | 0 .../deleteinstance/SyncDeleteInstance.java | 1 + .../SyncDeleteInstanceInstancename.java | 1 + .../SyncDeleteInstanceString.java | 1 + .../getinstance/AsyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../AsyncListAvailableVersions.java | 0 .../AsyncListAvailableVersionsPaged.java | 0 .../SyncListAvailableVersions.java | 0 ...SyncListAvailableVersionsLocationname.java | 0 .../SyncListAvailableVersionsString.java | 0 .../listdnspeerings/AsyncListDnsPeerings.java | 0 .../AsyncListDnsPeeringsPaged.java | 0 .../listdnspeerings/SyncListDnsPeerings.java | 0 .../SyncListDnsPeeringsInstancename.java | 0 .../SyncListDnsPeeringsString.java | 0 .../listinstances/AsyncListInstances.java | 0 .../AsyncListInstancesPaged.java | 0 .../listinstances/SyncListInstances.java | 0 .../listnamespaces/AsyncListNamespaces.java | 0 .../AsyncListNamespacesPaged.java | 0 .../listnamespaces/SyncListNamespaces.java | 0 .../SyncListNamespacesInstancename.java | 0 .../SyncListNamespacesString.java | 0 .../AsyncRemoveDnsPeering.java | 0 .../SyncRemoveDnsPeering.java | 0 .../SyncRemoveDnsPeeringInstancename.java | 0 .../SyncRemoveDnsPeeringString.java | 0 .../removeiampolicy/AsyncRemoveIamPolicy.java | 0 .../removeiampolicy/SyncRemoveIamPolicy.java | 0 .../restartinstance/AsyncRestartInstance.java | 0 .../AsyncRestartInstanceLRO.java | 0 .../restartinstance/SyncRestartInstance.java | 0 .../updateinstance/AsyncUpdateInstance.java | 0 .../AsyncUpdateInstanceLRO.java | 0 .../updateinstance/SyncUpdateInstance.java | 0 .../SyncUpdateInstanceInstanceFieldmask.java | 0 .../upgradeinstance/AsyncUpgradeInstance.java | 0 .../AsyncUpgradeInstanceLRO.java | 0 .../upgradeinstance/SyncUpgradeInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../cloud/datafusion/v1/Datafusion.java | 479 --- .../v1/DeleteInstanceRequestOrBuilder.java | 56 - .../v1/GetInstanceRequestOrBuilder.java | 56 - .../v1/RestartInstanceRequestOrBuilder.java | 56 - .../AddDnsPeeringResponseOrBuilder.java | 24 - .../DeleteInstanceRequestOrBuilder.java | 56 - .../v1beta1/GetInstanceRequestOrBuilder.java | 56 - .../RemoveDnsPeeringRequestOrBuilder.java | 79 - .../RemoveDnsPeeringResponseOrBuilder.java | 24 - .../RemoveIamPolicyResponseOrBuilder.java | 24 - .../RestartInstanceRequestOrBuilder.java | 56 - .../UpgradeInstanceRequestOrBuilder.java | 60 - .../cloud/datafusion/v1beta1/V1Beta1.java | 700 ---- 229 files changed, 14299 insertions(+), 22251 deletions(-) delete mode 100644 grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java delete mode 100644 grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java (97%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java (96%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/gapic_metadata.json (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/package-info.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStub.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java (97%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionCallableFactory.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java (99%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionCallableFactory.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionStub.java (99%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientHttpJsonTest.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientTest.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1/MockDataFusion.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1/MockDataFusionImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/Accelerator.java (71%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java (65%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.java (68%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java (61%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.java (71%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.java (59%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/Instance.java (71%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/InstanceName.java (100%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java (76%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.java (69%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java (61%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.java (73%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.java (68%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.java (70%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.java (65%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.java (74%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.java (72%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/LocationName.java (100%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.java (73%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.java (68%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.java (70%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.java (77%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.java (71%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java (73%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/Version.java (74%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java (72%) rename {proto-google-cloud-data-fusion-v1 => owl-bot-staging/v1/proto-google-cloud-data-fusion-v1}/src/main/proto/google/cloud/datafusion/v1/datafusion.proto (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/AsyncGetInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/SyncGetInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstances.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstancesPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/SyncListInstances.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/SyncRestartInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionsettings/getinstance/SyncGetInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datafusion/v1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java (98%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java (97%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/gapic_metadata.json (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/package-info.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStub.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java (98%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionCallableFactory.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java (99%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionCallableFactory.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionStub.java (99%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientHttpJsonTest.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientTest.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusion.java (100%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusionImpl.java (100%) create mode 100644 owl-bot-staging/v1beta1/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.java (68%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.java (57%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.java (66%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java (55%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.java (65%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.java (68%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java (61%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.java (70%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.java (60%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.java (65%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.java (72%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java (70%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.java (65%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.java (72%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.java (68%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.java (71%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceName.java (100%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java (76%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.java (68%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java (61%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.java (73%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.java (68%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.java (67%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java (53%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.java (73%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.java (69%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.java (70%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.java (65%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.java (74%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.java (72%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.java (69%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java (65%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.java (73%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.java (68%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/LocationName.java (100%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.java (69%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java (63%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java (67%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.java (73%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.java (69%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.java (72%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.java (76%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.java (66%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.java (64%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.java (68%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java (52%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.java (65%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.java (65%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.java (70%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java (72%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.java (66%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/Version.java (73%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java (72%) rename {proto-google-cloud-data-fusion-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1}/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/AsyncAddDnsPeering.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeering.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringInstancename.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstance.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstance.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java (88%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstance.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java (98%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java (97%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java (97%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/AsyncGetInstance.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/SyncGetInstance.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersions.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeerings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeeringsPaged.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeerings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsInstancename.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstances.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstancesPaged.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/SyncListInstances.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespaces.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespacesPaged.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespaces.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesInstancename.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/AsyncRemoveDnsPeering.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeering.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringInstancename.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/AsyncRemoveIamPolicy.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/SyncRemoveIamPolicy.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstance.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/SyncRestartInstance.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstance.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstance.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstance.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstanceLRO.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/SyncUpgradeInstance.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionsettings/getinstance/SyncGetInstance.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java (100%) delete mode 100644 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java delete mode 100644 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java delete mode 100644 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java delete mode 100644 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java delete mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java delete mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java delete mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java delete mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java delete mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java delete mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java delete mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java delete mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java delete mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java diff --git a/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java b/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java deleted file mode 100644 index 1176d3f4..00000000 --- a/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java +++ /dev/null @@ -1,1062 +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.datafusion.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service for creating and managing Data Fusion instances.
- * Data Fusion enables ETL developers to build code-free, data integration
- * pipelines via a point-and-click UI.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/datafusion/v1/datafusion.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataFusionGrpc { - - private DataFusionGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.datafusion.v1.DataFusion"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest, - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse> - getListAvailableVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAvailableVersions", - requestType = com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.class, - responseType = com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest, - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse> - getListAvailableVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest, - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse> - getListAvailableVersionsMethod; - if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) - == null) { - DataFusionGrpc.getListAvailableVersionsMethod = - getListAvailableVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListAvailableVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataFusionMethodDescriptorSupplier("ListAvailableVersions")) - .build(); - } - } - } - return getListAvailableVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.ListInstancesRequest, - com.google.cloud.datafusion.v1.ListInstancesResponse> - getListInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstances", - requestType = com.google.cloud.datafusion.v1.ListInstancesRequest.class, - responseType = com.google.cloud.datafusion.v1.ListInstancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.ListInstancesRequest, - com.google.cloud.datafusion.v1.ListInstancesResponse> - getListInstancesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.ListInstancesRequest, - com.google.cloud.datafusion.v1.ListInstancesResponse> - getListInstancesMethod; - if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { - DataFusionGrpc.getListInstancesMethod = - getListInstancesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.ListInstancesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.ListInstancesResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListInstances")) - .build(); - } - } - } - return getListInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.GetInstanceRequest, - com.google.cloud.datafusion.v1.Instance> - getGetInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstance", - requestType = com.google.cloud.datafusion.v1.GetInstanceRequest.class, - responseType = com.google.cloud.datafusion.v1.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.GetInstanceRequest, - com.google.cloud.datafusion.v1.Instance> - getGetInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.GetInstanceRequest, - com.google.cloud.datafusion.v1.Instance> - getGetInstanceMethod; - if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { - DataFusionGrpc.getGetInstanceMethod = - getGetInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.GetInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.Instance.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("GetInstance")) - .build(); - } - } - } - return getGetInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInstance", - requestType = com.google.cloud.datafusion.v1.CreateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod; - if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { - DataFusionGrpc.getCreateInstanceMethod = - getCreateInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.CreateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("CreateInstance")) - .build(); - } - } - } - return getCreateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.DeleteInstanceRequest, com.google.longrunning.Operation> - getDeleteInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", - requestType = com.google.cloud.datafusion.v1.DeleteInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.DeleteInstanceRequest, com.google.longrunning.Operation> - getDeleteInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.DeleteInstanceRequest, com.google.longrunning.Operation> - getDeleteInstanceMethod; - if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { - DataFusionGrpc.getDeleteInstanceMethod = - getDeleteInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.DeleteInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("DeleteInstance")) - .build(); - } - } - } - return getDeleteInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.UpdateInstanceRequest, com.google.longrunning.Operation> - getUpdateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", - requestType = com.google.cloud.datafusion.v1.UpdateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.UpdateInstanceRequest, com.google.longrunning.Operation> - getUpdateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.UpdateInstanceRequest, com.google.longrunning.Operation> - getUpdateInstanceMethod; - if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { - DataFusionGrpc.getUpdateInstanceMethod = - getUpdateInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.UpdateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("UpdateInstance")) - .build(); - } - } - } - return getUpdateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.RestartInstanceRequest, com.google.longrunning.Operation> - getRestartInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestartInstance", - requestType = com.google.cloud.datafusion.v1.RestartInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.RestartInstanceRequest, com.google.longrunning.Operation> - getRestartInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1.RestartInstanceRequest, com.google.longrunning.Operation> - getRestartInstanceMethod; - if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { - DataFusionGrpc.getRestartInstanceMethod = - getRestartInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.RestartInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataFusionMethodDescriptorSupplier("RestartInstance")) - .build(); - } - } - } - return getRestartInstanceMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DataFusionStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataFusionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionStub(channel, callOptions); - } - }; - return DataFusionStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataFusionBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataFusionBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionBlockingStub(channel, callOptions); - } - }; - return DataFusionBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DataFusionFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataFusionFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionFutureStub(channel, callOptions); - } - }; - return DataFusionFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public abstract static class DataFusionImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public void listAvailableVersions( - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAvailableVersionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public void listInstances( - com.google.cloud.datafusion.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstancesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public void getInstance( - com.google.cloud.datafusion.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public void createInstance( - com.google.cloud.datafusion.v1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Date Fusion instance.
-     * 
- */ - public void deleteInstance( - com.google.cloud.datafusion.v1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public void updateInstance( - com.google.cloud.datafusion.v1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public void restartInstance( - com.google.cloud.datafusion.v1.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRestartInstanceMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListAvailableVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest, - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse>( - this, METHODID_LIST_AVAILABLE_VERSIONS))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1.ListInstancesRequest, - com.google.cloud.datafusion.v1.ListInstancesResponse>( - this, METHODID_LIST_INSTANCES))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1.GetInstanceRequest, - com.google.cloud.datafusion.v1.Instance>(this, METHODID_GET_INSTANCE))) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1.CreateInstanceRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1.DeleteInstanceRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_INSTANCE))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1.UpdateInstanceRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_INSTANCE))) - .addMethod( - getRestartInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1.RestartInstanceRequest, - com.google.longrunning.Operation>(this, METHODID_RESTART_INSTANCE))) - .build(); - } - } - - /** - * - * - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public static final class DataFusionStub extends io.grpc.stub.AbstractAsyncStub { - private DataFusionStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataFusionStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public void listAvailableVersions( - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public void listInstances( - com.google.cloud.datafusion.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public void getInstance( - com.google.cloud.datafusion.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public void createInstance( - com.google.cloud.datafusion.v1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Date Fusion instance.
-     * 
- */ - public void deleteInstance( - com.google.cloud.datafusion.v1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public void updateInstance( - com.google.cloud.datafusion.v1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public void restartInstance( - com.google.cloud.datafusion.v1.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public static final class DataFusionBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataFusionBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataFusionBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse listAvailableVersions( - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAvailableVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public com.google.cloud.datafusion.v1.ListInstancesResponse listInstances( - com.google.cloud.datafusion.v1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public com.google.cloud.datafusion.v1.Instance getInstance( - com.google.cloud.datafusion.v1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public com.google.longrunning.Operation createInstance( - com.google.cloud.datafusion.v1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Date Fusion instance.
-     * 
- */ - public com.google.longrunning.Operation deleteInstance( - com.google.cloud.datafusion.v1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public com.google.longrunning.Operation updateInstance( - com.google.cloud.datafusion.v1.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public com.google.longrunning.Operation restartInstance( - com.google.cloud.datafusion.v1.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestartInstanceMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public static final class DataFusionFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataFusionFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataFusionFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse> - listAvailableVersions(com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datafusion.v1.ListInstancesResponse> - listInstances(com.google.cloud.datafusion.v1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datafusion.v1.Instance> - getInstance(com.google.cloud.datafusion.v1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createInstance(com.google.cloud.datafusion.v1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Date Fusion instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteInstance(com.google.cloud.datafusion.v1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateInstance(com.google.cloud.datafusion.v1.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - restartInstance(com.google.cloud.datafusion.v1.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_AVAILABLE_VERSIONS = 0; - private static final int METHODID_LIST_INSTANCES = 1; - private static final int METHODID_GET_INSTANCE = 2; - private static final int METHODID_CREATE_INSTANCE = 3; - private static final int METHODID_DELETE_INSTANCE = 4; - private static final int METHODID_UPDATE_INSTANCE = 5; - private static final int METHODID_RESTART_INSTANCE = 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 DataFusionImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DataFusionImplBase 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_LIST_AVAILABLE_VERSIONS: - serviceImpl.listAvailableVersions( - (com.google.cloud.datafusion.v1.ListAvailableVersionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse>) - responseObserver); - break; - case METHODID_LIST_INSTANCES: - serviceImpl.listInstances( - (com.google.cloud.datafusion.v1.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance( - (com.google.cloud.datafusion.v1.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance( - (com.google.cloud.datafusion.v1.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance( - (com.google.cloud.datafusion.v1.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance( - (com.google.cloud.datafusion.v1.UpdateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTART_INSTANCE: - serviceImpl.restartInstance( - (com.google.cloud.datafusion.v1.RestartInstanceRequest) 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 abstract static class DataFusionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataFusionBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataFusion"); - } - } - - private static final class DataFusionFileDescriptorSupplier - extends DataFusionBaseDescriptorSupplier { - DataFusionFileDescriptorSupplier() {} - } - - private static final class DataFusionMethodDescriptorSupplier - extends DataFusionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DataFusionMethodDescriptorSupplier(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 (DataFusionGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataFusionFileDescriptorSupplier()) - .addMethod(getListAvailableVersionsMethod()) - .addMethod(getListInstancesMethod()) - .addMethod(getGetInstanceMethod()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getUpdateInstanceMethod()) - .addMethod(getRestartInstanceMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java b/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java deleted file mode 100644 index d25baf58..00000000 --- a/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java +++ /dev/null @@ -1,1807 +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.datafusion.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service for creating and managing Data Fusion instances.
- * Data Fusion enables ETL developers to build code-free, data integration
- * pipelines via a point-and-click UI.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/datafusion/v1beta1/v1beta1.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataFusionGrpc { - - private DataFusionGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.datafusion.v1beta1.DataFusion"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest, - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse> - getListAvailableVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAvailableVersions", - requestType = com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest, - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse> - getListAvailableVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest, - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse> - getListAvailableVersionsMethod; - if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) - == null) { - DataFusionGrpc.getListAvailableVersionsMethod = - getListAvailableVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListAvailableVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataFusionMethodDescriptorSupplier("ListAvailableVersions")) - .build(); - } - } - } - return getListAvailableVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.ListInstancesRequest, - com.google.cloud.datafusion.v1beta1.ListInstancesResponse> - getListInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstances", - requestType = com.google.cloud.datafusion.v1beta1.ListInstancesRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.ListInstancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.ListInstancesRequest, - com.google.cloud.datafusion.v1beta1.ListInstancesResponse> - getListInstancesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.ListInstancesRequest, - com.google.cloud.datafusion.v1beta1.ListInstancesResponse> - getListInstancesMethod; - if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { - DataFusionGrpc.getListInstancesMethod = - getListInstancesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListInstancesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListInstancesResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListInstances")) - .build(); - } - } - } - return getListInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.GetInstanceRequest, - com.google.cloud.datafusion.v1beta1.Instance> - getGetInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstance", - requestType = com.google.cloud.datafusion.v1beta1.GetInstanceRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.GetInstanceRequest, - com.google.cloud.datafusion.v1beta1.Instance> - getGetInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.GetInstanceRequest, - com.google.cloud.datafusion.v1beta1.Instance> - getGetInstanceMethod; - if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { - DataFusionGrpc.getGetInstanceMethod = - getGetInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.GetInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("GetInstance")) - .build(); - } - } - } - return getGetInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest, - com.google.longrunning.Operation> - getCreateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInstance", - requestType = com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest, - com.google.longrunning.Operation> - getCreateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest, - com.google.longrunning.Operation> - getCreateInstanceMethod; - if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { - DataFusionGrpc.getCreateInstanceMethod = - getCreateInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("CreateInstance")) - .build(); - } - } - } - return getCreateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest, - com.google.longrunning.Operation> - getDeleteInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", - requestType = com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest, - com.google.longrunning.Operation> - getDeleteInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest, - com.google.longrunning.Operation> - getDeleteInstanceMethod; - if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { - DataFusionGrpc.getDeleteInstanceMethod = - getDeleteInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("DeleteInstance")) - .build(); - } - } - } - return getDeleteInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest, - com.google.longrunning.Operation> - getUpdateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", - requestType = com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest, - com.google.longrunning.Operation> - getUpdateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest, - com.google.longrunning.Operation> - getUpdateInstanceMethod; - if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { - DataFusionGrpc.getUpdateInstanceMethod = - getUpdateInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("UpdateInstance")) - .build(); - } - } - } - return getUpdateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest, - com.google.longrunning.Operation> - getRestartInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestartInstance", - requestType = com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest, - com.google.longrunning.Operation> - getRestartInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest, - com.google.longrunning.Operation> - getRestartInstanceMethod; - if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { - DataFusionGrpc.getRestartInstanceMethod = - getRestartInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataFusionMethodDescriptorSupplier("RestartInstance")) - .build(); - } - } - } - return getRestartInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest, - com.google.longrunning.Operation> - getUpgradeInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpgradeInstance", - requestType = com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest, - com.google.longrunning.Operation> - getUpgradeInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest, - com.google.longrunning.Operation> - getUpgradeInstanceMethod; - if ((getUpgradeInstanceMethod = DataFusionGrpc.getUpgradeInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getUpgradeInstanceMethod = DataFusionGrpc.getUpgradeInstanceMethod) == null) { - DataFusionGrpc.getUpgradeInstanceMethod = - getUpgradeInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpgradeInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataFusionMethodDescriptorSupplier("UpgradeInstance")) - .build(); - } - } - } - return getUpgradeInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest, - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse> - getRemoveIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RemoveIamPolicy", - requestType = com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest, - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse> - getRemoveIamPolicyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest, - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse> - getRemoveIamPolicyMethod; - if ((getRemoveIamPolicyMethod = DataFusionGrpc.getRemoveIamPolicyMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getRemoveIamPolicyMethod = DataFusionGrpc.getRemoveIamPolicyMethod) == null) { - DataFusionGrpc.getRemoveIamPolicyMethod = - getRemoveIamPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataFusionMethodDescriptorSupplier("RemoveIamPolicy")) - .build(); - } - } - } - return getRemoveIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest, - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse> - getListNamespacesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNamespaces", - requestType = com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest, - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse> - getListNamespacesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest, - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse> - getListNamespacesMethod; - if ((getListNamespacesMethod = DataFusionGrpc.getListNamespacesMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getListNamespacesMethod = DataFusionGrpc.getListNamespacesMethod) == null) { - DataFusionGrpc.getListNamespacesMethod = - getListNamespacesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNamespaces")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListNamespaces")) - .build(); - } - } - } - return getListNamespacesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest, - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse> - getAddDnsPeeringMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AddDnsPeering", - requestType = com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest, - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse> - getAddDnsPeeringMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest, - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse> - getAddDnsPeeringMethod; - if ((getAddDnsPeeringMethod = DataFusionGrpc.getAddDnsPeeringMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getAddDnsPeeringMethod = DataFusionGrpc.getAddDnsPeeringMethod) == null) { - DataFusionGrpc.getAddDnsPeeringMethod = - getAddDnsPeeringMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AddDnsPeering")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("AddDnsPeering")) - .build(); - } - } - } - return getAddDnsPeeringMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest, - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse> - getRemoveDnsPeeringMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RemoveDnsPeering", - requestType = com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest, - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse> - getRemoveDnsPeeringMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest, - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse> - getRemoveDnsPeeringMethod; - if ((getRemoveDnsPeeringMethod = DataFusionGrpc.getRemoveDnsPeeringMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getRemoveDnsPeeringMethod = DataFusionGrpc.getRemoveDnsPeeringMethod) == null) { - DataFusionGrpc.getRemoveDnsPeeringMethod = - getRemoveDnsPeeringMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveDnsPeering")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataFusionMethodDescriptorSupplier("RemoveDnsPeering")) - .build(); - } - } - } - return getRemoveDnsPeeringMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest, - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse> - getListDnsPeeringsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDnsPeerings", - requestType = com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest, - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse> - getListDnsPeeringsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest, - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse> - getListDnsPeeringsMethod; - if ((getListDnsPeeringsMethod = DataFusionGrpc.getListDnsPeeringsMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getListDnsPeeringsMethod = DataFusionGrpc.getListDnsPeeringsMethod) == null) { - DataFusionGrpc.getListDnsPeeringsMethod = - getListDnsPeeringsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDnsPeerings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataFusionMethodDescriptorSupplier("ListDnsPeerings")) - .build(); - } - } - } - return getListDnsPeeringsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DataFusionStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataFusionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionStub(channel, callOptions); - } - }; - return DataFusionStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataFusionBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataFusionBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionBlockingStub(channel, callOptions); - } - }; - return DataFusionBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DataFusionFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataFusionFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionFutureStub(channel, callOptions); - } - }; - return DataFusionFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public abstract static class DataFusionImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public void listAvailableVersions( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAvailableVersionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public void listInstances( - com.google.cloud.datafusion.v1beta1.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstancesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public void getInstance( - com.google.cloud.datafusion.v1beta1.GetInstanceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public void createInstance( - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Data Fusion instance.
-     * 
- */ - public void deleteInstance( - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public void updateInstance( - com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public void restartInstance( - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRestartInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Upgrade a single Data Fusion instance.
-     * At the end of an operation instance is fully upgraded.
-     * 
- */ - public void upgradeInstance( - com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpgradeInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Remove IAM policy that is currently set on the given resource.
-     * 
- */ - public void removeIamPolicy( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRemoveIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * List namespaces in a given instance
-     * 
- */ - public void listNamespaces( - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListNamespacesMethod(), responseObserver); - } - - /** - * - * - *
-     * Add DNS peering on the given resource.
-     * 
- */ - public void addDnsPeering( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAddDnsPeeringMethod(), responseObserver); - } - - /** - * - * - *
-     * Remove DNS peering on the given resource.
-     * 
- */ - public void removeDnsPeering( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRemoveDnsPeeringMethod(), responseObserver); - } - - /** - * - * - *
-     * List DNS peering for a given resource.
-     * 
- */ - public void listDnsPeerings( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDnsPeeringsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListAvailableVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest, - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse>( - this, METHODID_LIST_AVAILABLE_VERSIONS))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.ListInstancesRequest, - com.google.cloud.datafusion.v1beta1.ListInstancesResponse>( - this, METHODID_LIST_INSTANCES))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.GetInstanceRequest, - com.google.cloud.datafusion.v1beta1.Instance>(this, METHODID_GET_INSTANCE))) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_INSTANCE))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_INSTANCE))) - .addMethod( - getRestartInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest, - com.google.longrunning.Operation>(this, METHODID_RESTART_INSTANCE))) - .addMethod( - getUpgradeInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest, - com.google.longrunning.Operation>(this, METHODID_UPGRADE_INSTANCE))) - .addMethod( - getRemoveIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest, - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse>( - this, METHODID_REMOVE_IAM_POLICY))) - .addMethod( - getListNamespacesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest, - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse>( - this, METHODID_LIST_NAMESPACES))) - .addMethod( - getAddDnsPeeringMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest, - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse>( - this, METHODID_ADD_DNS_PEERING))) - .addMethod( - getRemoveDnsPeeringMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest, - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse>( - this, METHODID_REMOVE_DNS_PEERING))) - .addMethod( - getListDnsPeeringsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest, - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse>( - this, METHODID_LIST_DNS_PEERINGS))) - .build(); - } - } - - /** - * - * - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public static final class DataFusionStub extends io.grpc.stub.AbstractAsyncStub { - private DataFusionStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataFusionStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public void listAvailableVersions( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public void listInstances( - com.google.cloud.datafusion.v1beta1.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public void getInstance( - com.google.cloud.datafusion.v1beta1.GetInstanceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public void createInstance( - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Data Fusion instance.
-     * 
- */ - public void deleteInstance( - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public void updateInstance( - com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public void restartInstance( - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Upgrade a single Data Fusion instance.
-     * At the end of an operation instance is fully upgraded.
-     * 
- */ - public void upgradeInstance( - com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpgradeInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Remove IAM policy that is currently set on the given resource.
-     * 
- */ - public void removeIamPolicy( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRemoveIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List namespaces in a given instance
-     * 
- */ - public void listNamespaces( - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListNamespacesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Add DNS peering on the given resource.
-     * 
- */ - public void addDnsPeering( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAddDnsPeeringMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Remove DNS peering on the given resource.
-     * 
- */ - public void removeDnsPeering( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRemoveDnsPeeringMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List DNS peering for a given resource.
-     * 
- */ - public void listDnsPeerings( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDnsPeeringsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public static final class DataFusionBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataFusionBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataFusionBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse listAvailableVersions( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAvailableVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.ListInstancesResponse listInstances( - com.google.cloud.datafusion.v1beta1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.Instance getInstance( - com.google.cloud.datafusion.v1beta1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public com.google.longrunning.Operation createInstance( - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Data Fusion instance.
-     * 
- */ - public com.google.longrunning.Operation deleteInstance( - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public com.google.longrunning.Operation updateInstance( - com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public com.google.longrunning.Operation restartInstance( - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestartInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Upgrade a single Data Fusion instance.
-     * At the end of an operation instance is fully upgraded.
-     * 
- */ - public com.google.longrunning.Operation upgradeInstance( - com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpgradeInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Remove IAM policy that is currently set on the given resource.
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse removeIamPolicy( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRemoveIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List namespaces in a given instance
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.ListNamespacesResponse listNamespaces( - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNamespacesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Add DNS peering on the given resource.
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse addDnsPeering( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAddDnsPeeringMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Remove DNS peering on the given resource.
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse removeDnsPeering( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRemoveDnsPeeringMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List DNS peering for a given resource.
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse listDnsPeerings( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDnsPeeringsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public static final class DataFusionFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataFusionFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataFusionFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse> - listAvailableVersions( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datafusion.v1beta1.ListInstancesResponse> - listInstances(com.google.cloud.datafusion.v1beta1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datafusion.v1beta1.Instance> - getInstance(com.google.cloud.datafusion.v1beta1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createInstance(com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Data Fusion instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteInstance(com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateInstance(com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - restartInstance(com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Upgrade a single Data Fusion instance.
-     * At the end of an operation instance is fully upgraded.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - upgradeInstance(com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpgradeInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Remove IAM policy that is currently set on the given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse> - removeIamPolicy(com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRemoveIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List namespaces in a given instance
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse> - listNamespaces(com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNamespacesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Add DNS peering on the given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse> - addDnsPeering(com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAddDnsPeeringMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Remove DNS peering on the given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse> - removeDnsPeering(com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRemoveDnsPeeringMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List DNS peering for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse> - listDnsPeerings(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDnsPeeringsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_AVAILABLE_VERSIONS = 0; - private static final int METHODID_LIST_INSTANCES = 1; - private static final int METHODID_GET_INSTANCE = 2; - private static final int METHODID_CREATE_INSTANCE = 3; - private static final int METHODID_DELETE_INSTANCE = 4; - private static final int METHODID_UPDATE_INSTANCE = 5; - private static final int METHODID_RESTART_INSTANCE = 6; - private static final int METHODID_UPGRADE_INSTANCE = 7; - private static final int METHODID_REMOVE_IAM_POLICY = 8; - private static final int METHODID_LIST_NAMESPACES = 9; - private static final int METHODID_ADD_DNS_PEERING = 10; - private static final int METHODID_REMOVE_DNS_PEERING = 11; - private static final int METHODID_LIST_DNS_PEERINGS = 12; - - 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 DataFusionImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DataFusionImplBase 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_LIST_AVAILABLE_VERSIONS: - serviceImpl.listAvailableVersions( - (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse>) - responseObserver); - break; - case METHODID_LIST_INSTANCES: - serviceImpl.listInstances( - (com.google.cloud.datafusion.v1beta1.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datafusion.v1beta1.ListInstancesResponse>) - responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance( - (com.google.cloud.datafusion.v1beta1.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance( - (com.google.cloud.datafusion.v1beta1.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance( - (com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance( - (com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTART_INSTANCE: - serviceImpl.restartInstance( - (com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPGRADE_INSTANCE: - serviceImpl.upgradeInstance( - (com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REMOVE_IAM_POLICY: - serviceImpl.removeIamPolicy( - (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse>) - responseObserver); - break; - case METHODID_LIST_NAMESPACES: - serviceImpl.listNamespaces( - (com.google.cloud.datafusion.v1beta1.ListNamespacesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse>) - responseObserver); - break; - case METHODID_ADD_DNS_PEERING: - serviceImpl.addDnsPeering( - (com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse>) - responseObserver); - break; - case METHODID_REMOVE_DNS_PEERING: - serviceImpl.removeDnsPeering( - (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse>) - responseObserver); - break; - case METHODID_LIST_DNS_PEERINGS: - serviceImpl.listDnsPeerings( - (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse>) - 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 DataFusionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataFusionBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataFusion"); - } - } - - private static final class DataFusionFileDescriptorSupplier - extends DataFusionBaseDescriptorSupplier { - DataFusionFileDescriptorSupplier() {} - } - - private static final class DataFusionMethodDescriptorSupplier - extends DataFusionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DataFusionMethodDescriptorSupplier(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 (DataFusionGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataFusionFileDescriptorSupplier()) - .addMethod(getListAvailableVersionsMethod()) - .addMethod(getListInstancesMethod()) - .addMethod(getGetInstanceMethod()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getUpdateInstanceMethod()) - .addMethod(getRestartInstanceMethod()) - .addMethod(getUpgradeInstanceMethod()) - .addMethod(getRemoveIamPolicyMethod()) - .addMethod(getListNamespacesMethod()) - .addMethod(getAddDnsPeeringMethod()) - .addMethod(getRemoveDnsPeeringMethod()) - .addMethod(getListDnsPeeringsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java similarity index 97% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java rename to owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java index 934194a3..202c1b3f 100644 --- a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java +++ b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -65,13 +66,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. *
* @@ -190,6 +191,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -994,11 +996,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListAvailableVersionsPagedResponse extends AbstractPagedListResponse< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, - Version, - ListAvailableVersionsPage, - ListAvailableVersionsFixedSizeCollection> { + ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, + ListAvailableVersionsPage, ListAvailableVersionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -1018,9 +1017,7 @@ private ListAvailableVersionsPagedResponse(ListAvailableVersionsPage page) { public static class ListAvailableVersionsPage extends AbstractPage< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, - Version, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, ListAvailableVersionsPage> { private ListAvailableVersionsPage( @@ -1050,11 +1047,8 @@ public ApiFuture createPageAsync( public static class ListAvailableVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, - Version, - ListAvailableVersionsPage, - ListAvailableVersionsFixedSizeCollection> { + ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, + ListAvailableVersionsPage, ListAvailableVersionsFixedSizeCollection> { private ListAvailableVersionsFixedSizeCollection( List pages, int collectionSize) { @@ -1074,10 +1068,7 @@ protected ListAvailableVersionsFixedSizeCollection createCollection( public static class ListInstancesPagedResponse extends AbstractPagedListResponse< - ListInstancesRequest, - ListInstancesResponse, - Instance, - ListInstancesPage, + ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage, ListInstancesFixedSizeCollection> { public static ApiFuture createAsync( @@ -1127,10 +1118,7 @@ public ApiFuture createPageAsync( public static class ListInstancesFixedSizeCollection extends AbstractFixedSizeCollection< - ListInstancesRequest, - ListInstancesResponse, - Instance, - ListInstancesPage, + ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage, ListInstancesFixedSizeCollection> { private ListInstancesFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java similarity index 96% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java rename to owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java index c7431eab..dd603514 100644 --- a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java +++ b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java @@ -30,6 +30,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.datafusion.v1.stub.DataFusionStubSettings; @@ -46,9 +47,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -77,8 +78,7 @@ public class DataFusionSettings extends ClientSettings { /** Returns the object with the settings used for calls to listAvailableVersions. */ public PagedCallSettings< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return ((DataFusionStubSettings) getStubSettings()).listAvailableVersionsSettings(); @@ -255,8 +255,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listAvailableVersions. */ public PagedCallSettings.Builder< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return getStubSettingsBuilder().listAvailableVersionsSettings(); diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/gapic_metadata.json similarity index 100% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/gapic_metadata.json diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/package-info.java b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/package-info.java similarity index 100% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/package-info.java diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStub.java b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStub.java similarity index 100% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStub.java rename to owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStub.java diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java similarity index 97% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java rename to owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java index 5f437809..62cb1385 100644 --- a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java @@ -78,9 +78,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -111,8 +111,7 @@ public class DataFusionStubSettings extends StubSettings ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); private final PagedCallSettings< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings; private final PagedCallSettings< @@ -209,13 +208,11 @@ public Iterable extractResources(ListInstancesResponse payload) { }; private static final PagedListResponseFactory< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> LIST_AVAILABLE_VERSIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -250,8 +247,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listAvailableVersions. */ public PagedCallSettings< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return listAvailableVersionsSettings; @@ -435,8 +431,7 @@ protected DataFusionStubSettings(Builder settingsBuilder) throws IOException { public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; private final PagedCallSettings.Builder< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings; private final PagedCallSettings.Builder< @@ -722,8 +717,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listAvailableVersions. */ public PagedCallSettings.Builder< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return listAvailableVersionsSettings; diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionCallableFactory.java b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionCallableFactory.java similarity index 100% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionCallableFactory.java rename to owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionCallableFactory.java diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java similarity index 99% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java rename to owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java index cd585725..da3639e2 100644 --- a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java +++ b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java @@ -44,6 +44,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-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionCallableFactory.java b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionCallableFactory.java similarity index 100% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionCallableFactory.java rename to owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionCallableFactory.java diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionStub.java b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionStub.java similarity index 99% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionStub.java rename to owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionStub.java index 5d409d58..8a81d547 100644 --- a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionStub.java +++ b/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionStub.java @@ -31,6 +31,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientHttpJsonTest.java similarity index 100% rename from google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientHttpJsonTest.java diff --git a/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientTest.java b/owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientTest.java similarity index 100% rename from google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientTest.java rename to owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientTest.java diff --git a/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusion.java b/owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusion.java similarity index 100% rename from google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusion.java rename to owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusion.java diff --git a/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusionImpl.java b/owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusionImpl.java similarity index 100% rename from google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusionImpl.java rename to owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusionImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java new file mode 100644 index 00000000..d4283a37 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java @@ -0,0 +1,837 @@ +package com.google.cloud.datafusion.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Service for creating and managing Data Fusion instances.
+ * Data Fusion enables ETL developers to build code-free, data integration
+ * pipelines via a point-and-click UI.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/datafusion/v1/datafusion.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataFusionGrpc { + + private DataFusionGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.datafusion.v1.DataFusion"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListAvailableVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAvailableVersions", + requestType = com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.class, + responseType = com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAvailableVersionsMethod() { + io.grpc.MethodDescriptor getListAvailableVersionsMethod; + if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) == null) { + DataFusionGrpc.getListAvailableVersionsMethod = getListAvailableVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAvailableVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListAvailableVersions")) + .build(); + } + } + } + return getListAvailableVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstances", + requestType = com.google.cloud.datafusion.v1.ListInstancesRequest.class, + responseType = com.google.cloud.datafusion.v1.ListInstancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListInstancesMethod() { + io.grpc.MethodDescriptor getListInstancesMethod; + if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { + DataFusionGrpc.getListInstancesMethod = getListInstancesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.ListInstancesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.ListInstancesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListInstances")) + .build(); + } + } + } + return getListInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.cloud.datafusion.v1.GetInstanceRequest.class, + responseType = com.google.cloud.datafusion.v1.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetInstanceMethod() { + io.grpc.MethodDescriptor getGetInstanceMethod; + if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { + DataFusionGrpc.getGetInstanceMethod = getGetInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.GetInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.Instance.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.cloud.datafusion.v1.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateInstanceMethod() { + io.grpc.MethodDescriptor getCreateInstanceMethod; + if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { + DataFusionGrpc.getCreateInstanceMethod = getCreateInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.CreateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.cloud.datafusion.v1.DeleteInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { + io.grpc.MethodDescriptor getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { + DataFusionGrpc.getDeleteInstanceMethod = getDeleteInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.DeleteInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", + requestType = com.google.cloud.datafusion.v1.UpdateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateInstanceMethod() { + io.grpc.MethodDescriptor getUpdateInstanceMethod; + if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { + DataFusionGrpc.getUpdateInstanceMethod = getUpdateInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.UpdateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("UpdateInstance")) + .build(); + } + } + } + return getUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getRestartInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestartInstance", + requestType = com.google.cloud.datafusion.v1.RestartInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRestartInstanceMethod() { + io.grpc.MethodDescriptor getRestartInstanceMethod; + if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { + DataFusionGrpc.getRestartInstanceMethod = getRestartInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.RestartInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("RestartInstance")) + .build(); + } + } + } + return getRestartInstanceMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DataFusionStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataFusionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionStub(channel, callOptions); + } + }; + return DataFusionStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataFusionBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataFusionBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionBlockingStub(channel, callOptions); + } + }; + return DataFusionBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DataFusionFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataFusionFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionFutureStub(channel, callOptions); + } + }; + return DataFusionFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public static abstract class DataFusionImplBase implements io.grpc.BindableService { + + /** + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public void listAvailableVersions(com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAvailableVersionsMethod(), responseObserver); + } + + /** + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public void listInstances(com.google.cloud.datafusion.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public void getInstance(com.google.cloud.datafusion.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); + } + + /** + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public void createInstance(com.google.cloud.datafusion.v1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Date Fusion instance.
+     * 
+ */ + public void deleteInstance(com.google.cloud.datafusion.v1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); + } + + /** + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public void updateInstance(com.google.cloud.datafusion.v1.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); + } + + /** + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public void restartInstance(com.google.cloud.datafusion.v1.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestartInstanceMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListAvailableVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest, + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse>( + this, METHODID_LIST_AVAILABLE_VERSIONS))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1.ListInstancesRequest, + com.google.cloud.datafusion.v1.ListInstancesResponse>( + this, METHODID_LIST_INSTANCES))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1.GetInstanceRequest, + com.google.cloud.datafusion.v1.Instance>( + this, METHODID_GET_INSTANCE))) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1.CreateInstanceRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1.DeleteInstanceRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_INSTANCE))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1.UpdateInstanceRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_INSTANCE))) + .addMethod( + getRestartInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1.RestartInstanceRequest, + com.google.longrunning.Operation>( + this, METHODID_RESTART_INSTANCE))) + .build(); + } + } + + /** + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public static final class DataFusionStub extends io.grpc.stub.AbstractAsyncStub { + private DataFusionStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataFusionStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionStub(channel, callOptions); + } + + /** + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public void listAvailableVersions(com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public void listInstances(com.google.cloud.datafusion.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public void getInstance(com.google.cloud.datafusion.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public void createInstance(com.google.cloud.datafusion.v1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Date Fusion instance.
+     * 
+ */ + public void deleteInstance(com.google.cloud.datafusion.v1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public void updateInstance(com.google.cloud.datafusion.v1.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public void restartInstance(com.google.cloud.datafusion.v1.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public static final class DataFusionBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private DataFusionBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataFusionBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse listAvailableVersions(com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAvailableVersionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public com.google.cloud.datafusion.v1.ListInstancesResponse listInstances(com.google.cloud.datafusion.v1.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public com.google.cloud.datafusion.v1.Instance getInstance(com.google.cloud.datafusion.v1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public com.google.longrunning.Operation createInstance(com.google.cloud.datafusion.v1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Date Fusion instance.
+     * 
+ */ + public com.google.longrunning.Operation deleteInstance(com.google.cloud.datafusion.v1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public com.google.longrunning.Operation updateInstance(com.google.cloud.datafusion.v1.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public com.google.longrunning.Operation restartInstance(com.google.cloud.datafusion.v1.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestartInstanceMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public static final class DataFusionFutureStub extends io.grpc.stub.AbstractFutureStub { + private DataFusionFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataFusionFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionFutureStub(channel, callOptions); + } + + /** + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAvailableVersions( + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listInstances( + com.google.cloud.datafusion.v1.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getInstance( + com.google.cloud.datafusion.v1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createInstance( + com.google.cloud.datafusion.v1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Date Fusion instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteInstance( + com.google.cloud.datafusion.v1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateInstance( + com.google.cloud.datafusion.v1.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture restartInstance( + com.google.cloud.datafusion.v1.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_AVAILABLE_VERSIONS = 0; + private static final int METHODID_LIST_INSTANCES = 1; + private static final int METHODID_GET_INSTANCE = 2; + private static final int METHODID_CREATE_INSTANCE = 3; + private static final int METHODID_DELETE_INSTANCE = 4; + private static final int METHODID_UPDATE_INSTANCE = 5; + private static final int METHODID_RESTART_INSTANCE = 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 DataFusionImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DataFusionImplBase 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_LIST_AVAILABLE_VERSIONS: + serviceImpl.listAvailableVersions((com.google.cloud.datafusion.v1.ListAvailableVersionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INSTANCES: + serviceImpl.listInstances((com.google.cloud.datafusion.v1.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance((com.google.cloud.datafusion.v1.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_INSTANCE: + serviceImpl.createInstance((com.google.cloud.datafusion.v1.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance((com.google.cloud.datafusion.v1.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INSTANCE: + serviceImpl.updateInstance((com.google.cloud.datafusion.v1.UpdateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTART_INSTANCE: + serviceImpl.restartInstance((com.google.cloud.datafusion.v1.RestartInstanceRequest) 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 DataFusionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataFusionBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataFusion"); + } + } + + private static final class DataFusionFileDescriptorSupplier + extends DataFusionBaseDescriptorSupplier { + DataFusionFileDescriptorSupplier() {} + } + + private static final class DataFusionMethodDescriptorSupplier + extends DataFusionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DataFusionMethodDescriptorSupplier(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 (DataFusionGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataFusionFileDescriptorSupplier()) + .addMethod(getListAvailableVersionsMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getRestartInstanceMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Accelerator.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Accelerator.java similarity index 71% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Accelerator.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Accelerator.java index 4269324e..48bc3168 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Accelerator.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Accelerator.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** - * - * *
  * Identifies Data Fusion accelerators for an instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.Accelerator} */ -public final class Accelerator extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Accelerator extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.Accelerator) AcceleratorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Accelerator.newBuilder() to construct. private Accelerator(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Accelerator() { acceleratorType_ = 0; state_ = 0; @@ -44,15 +26,16 @@ private Accelerator() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Accelerator(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Accelerator( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private Accelerator( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - acceleratorType_ = rawValue; - break; - } - case 16: - { - int rawValue = input.readEnum(); + acceleratorType_ = rawValue; + break; + } + case 16: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + state_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,31 +80,27 @@ private Accelerator( } 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.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_Accelerator_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Accelerator_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.Accelerator.class, - com.google.cloud.datafusion.v1.Accelerator.Builder.class); + com.google.cloud.datafusion.v1.Accelerator.class, com.google.cloud.datafusion.v1.Accelerator.Builder.class); } /** - * - * *
    * Each type represents an Accelerator (Add-On) supported by Cloud Data Fusion
    * service.
@@ -131,10 +108,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.datafusion.v1.Accelerator.AcceleratorType}
    */
-  public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AcceleratorType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default value, if unspecified.
      * 
@@ -143,8 +119,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { */ ACCELERATOR_TYPE_UNSPECIFIED(0), /** - * - * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -153,8 +127,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { */ CDC(1), /** - * - * *
      * Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud
      * Healthcare specific CDF plugins developed by Healthcare team.
@@ -164,8 +136,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
      */
     HEALTHCARE(2),
     /**
-     *
-     *
      * 
      * Contact Center AI Insights
      * This accelerator is used to enable import and export pipelines
@@ -179,8 +149,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value, if unspecified.
      * 
@@ -189,8 +157,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCELERATOR_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -199,8 +165,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CDC_VALUE = 1; /** - * - * *
      * Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud
      * Healthcare specific CDF plugins developed by Healthcare team.
@@ -210,8 +174,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int HEALTHCARE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Contact Center AI Insights
      * This accelerator is used to enable import and export pipelines
@@ -222,6 +184,7 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CCAI_INSIGHTS_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -246,44 +209,40 @@ public static AcceleratorType valueOf(int value) {
      */
     public static AcceleratorType forNumber(int value) {
       switch (value) {
-        case 0:
-          return ACCELERATOR_TYPE_UNSPECIFIED;
-        case 1:
-          return CDC;
-        case 2:
-          return HEALTHCARE;
-        case 3:
-          return CCAI_INSIGHTS;
-        default:
-          return null;
+        case 0: return ACCELERATOR_TYPE_UNSPECIFIED;
+        case 1: return CDC;
+        case 2: return HEALTHCARE;
+        case 3: return CCAI_INSIGHTS;
+        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<
+        AcceleratorType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public AcceleratorType findValueByNumber(int number) {
+              return AcceleratorType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public AcceleratorType findValueByNumber(int number) {
-                return AcceleratorType.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() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.datafusion.v1.Accelerator.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -292,7 +251,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static AcceleratorType 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;
@@ -310,18 +270,15 @@ private AcceleratorType(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Different values possible for the state of an accelerator
    * 
* * Protobuf enum {@code google.cloud.datafusion.v1.Accelerator.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value, do not use
      * 
@@ -330,8 +287,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Indicates that the accelerator is enabled and available to use
      * 
@@ -340,8 +295,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ENABLED(1), /** - * - * *
      * Indicates that the accelerator is disabled and not available to use
      * 
@@ -350,8 +303,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DISABLED(2), /** - * - * *
      * Indicates that accelerator state is currently unknown.
      * Requests for enable, disable could be retried while in this state
@@ -364,8 +315,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value, do not use
      * 
@@ -374,8 +323,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Indicates that the accelerator is enabled and available to use
      * 
@@ -384,8 +331,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENABLED_VALUE = 1; /** - * - * *
      * Indicates that the accelerator is disabled and not available to use
      * 
@@ -394,8 +339,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DISABLED_VALUE = 2; /** - * - * *
      * Indicates that accelerator state is currently unknown.
      * Requests for enable, disable could be retried while in this state
@@ -405,6 +348,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNKNOWN_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -429,51 +373,50 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return ENABLED;
-        case 2:
-          return DISABLED;
-        case 3:
-          return UNKNOWN;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return ENABLED;
+        case 2: return DISABLED;
+        case 3: return UNKNOWN;
+        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() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.datafusion.v1.Accelerator.getDescriptor().getEnumTypes().get(1);
     }
 
     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;
@@ -493,79 +436,58 @@ private State(int value) {
   public static final int ACCELERATOR_TYPE_FIELD_NUMBER = 1;
   private int acceleratorType_;
   /**
-   *
-   *
    * 
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; - * * @return The enum numeric value on the wire for acceleratorType. */ - @java.lang.Override - public int getAcceleratorTypeValue() { + @java.lang.Override public int getAcceleratorTypeValue() { return acceleratorType_; } /** - * - * *
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; - * * @return The acceleratorType. */ - @java.lang.Override - public com.google.cloud.datafusion.v1.Accelerator.AcceleratorType getAcceleratorType() { + @java.lang.Override public com.google.cloud.datafusion.v1.Accelerator.AcceleratorType getAcceleratorType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Accelerator.AcceleratorType result = - com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.valueOf(acceleratorType_); - return result == null - ? com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.UNRECOGNIZED - : result; + com.google.cloud.datafusion.v1.Accelerator.AcceleratorType result = com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.valueOf(acceleratorType_); + return result == null ? com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.UNRECOGNIZED : result; } public static final int STATE_FIELD_NUMBER = 2; private int state_; /** - * - * *
    * The state of the accelerator
    * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The state of the accelerator
    * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.datafusion.v1.Accelerator.State getState() { + @java.lang.Override public com.google.cloud.datafusion.v1.Accelerator.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Accelerator.State result = - com.google.cloud.datafusion.v1.Accelerator.State.valueOf(state_); + com.google.cloud.datafusion.v1.Accelerator.State result = com.google.cloud.datafusion.v1.Accelerator.State.valueOf(state_); return result == null ? com.google.cloud.datafusion.v1.Accelerator.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -577,10 +499,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (acceleratorType_ - != com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.ACCELERATOR_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (acceleratorType_ != com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.ACCELERATOR_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, acceleratorType_); } if (state_ != com.google.cloud.datafusion.v1.Accelerator.State.STATE_UNSPECIFIED.getNumber()) { @@ -595,13 +516,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (acceleratorType_ - != com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.ACCELERATOR_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, acceleratorType_); + if (acceleratorType_ != com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.ACCELERATOR_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, acceleratorType_); } if (state_ != com.google.cloud.datafusion.v1.Accelerator.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, state_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -611,13 +532,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.datafusion.v1.Accelerator)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.Accelerator other = - (com.google.cloud.datafusion.v1.Accelerator) obj; + com.google.cloud.datafusion.v1.Accelerator other = (com.google.cloud.datafusion.v1.Accelerator) obj; if (acceleratorType_ != other.acceleratorType_) return false; if (state_ != other.state_) return false; @@ -641,127 +561,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1.Accelerator parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1.Accelerator parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.Accelerator parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1.Accelerator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.Accelerator parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator 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; } /** - * - * *
    * Identifies Data Fusion accelerators for an instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.Accelerator} */ - 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.datafusion.v1.Accelerator) com.google.cloud.datafusion.v1.AcceleratorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_Accelerator_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Accelerator_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.Accelerator.class, - com.google.cloud.datafusion.v1.Accelerator.Builder.class); + com.google.cloud.datafusion.v1.Accelerator.class, com.google.cloud.datafusion.v1.Accelerator.Builder.class); } // Construct using com.google.cloud.datafusion.v1.Accelerator.newBuilder() @@ -769,15 +680,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(); @@ -789,9 +701,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; } @java.lang.Override @@ -810,8 +722,7 @@ public com.google.cloud.datafusion.v1.Accelerator build() { @java.lang.Override public com.google.cloud.datafusion.v1.Accelerator buildPartial() { - com.google.cloud.datafusion.v1.Accelerator result = - new com.google.cloud.datafusion.v1.Accelerator(this); + com.google.cloud.datafusion.v1.Accelerator result = new com.google.cloud.datafusion.v1.Accelerator(this); result.acceleratorType_ = acceleratorType_; result.state_ = state_; onBuilt(); @@ -822,39 +733,38 @@ public com.google.cloud.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator) { - return mergeFrom((com.google.cloud.datafusion.v1.Accelerator) other); + return mergeFrom((com.google.cloud.datafusion.v1.Accelerator)other); } else { super.mergeFrom(other); return this; @@ -900,93 +810,73 @@ public Builder mergeFrom( private int acceleratorType_ = 0; /** - * - * *
      * The type of an accelator for a CDF instance.
      * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; - * * @return The enum numeric value on the wire for acceleratorType. */ - @java.lang.Override - public int getAcceleratorTypeValue() { + @java.lang.Override public int getAcceleratorTypeValue() { return acceleratorType_; } /** - * - * *
      * The type of an accelator for a CDF instance.
      * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; - * * @param value The enum numeric value on the wire for acceleratorType to set. * @return This builder for chaining. */ public Builder setAcceleratorTypeValue(int value) { - + acceleratorType_ = value; onChanged(); return this; } /** - * - * *
      * The type of an accelator for a CDF instance.
      * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; - * * @return The acceleratorType. */ @java.lang.Override public com.google.cloud.datafusion.v1.Accelerator.AcceleratorType getAcceleratorType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Accelerator.AcceleratorType result = - com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.valueOf(acceleratorType_); - return result == null - ? com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.UNRECOGNIZED - : result; + com.google.cloud.datafusion.v1.Accelerator.AcceleratorType result = com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.valueOf(acceleratorType_); + return result == null ? com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.UNRECOGNIZED : result; } /** - * - * *
      * The type of an accelator for a CDF instance.
      * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; - * * @param value The acceleratorType to set. * @return This builder for chaining. */ - public Builder setAcceleratorType( - com.google.cloud.datafusion.v1.Accelerator.AcceleratorType value) { + public Builder setAcceleratorType(com.google.cloud.datafusion.v1.Accelerator.AcceleratorType value) { if (value == null) { throw new NullPointerException(); } - + acceleratorType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of an accelator for a CDF instance.
      * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; - * * @return This builder for chaining. */ public Builder clearAcceleratorType() { - + acceleratorType_ = 0; onChanged(); return this; @@ -994,67 +884,51 @@ public Builder clearAcceleratorType() { private int state_ = 0; /** - * - * *
      * The state of the accelerator
      * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of the accelerator
      * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; - * * @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; } /** - * - * *
      * The state of the accelerator
      * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; - * * @return The state. */ @java.lang.Override public com.google.cloud.datafusion.v1.Accelerator.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Accelerator.State result = - com.google.cloud.datafusion.v1.Accelerator.State.valueOf(state_); - return result == null - ? com.google.cloud.datafusion.v1.Accelerator.State.UNRECOGNIZED - : result; + com.google.cloud.datafusion.v1.Accelerator.State result = com.google.cloud.datafusion.v1.Accelerator.State.valueOf(state_); + return result == null ? com.google.cloud.datafusion.v1.Accelerator.State.UNRECOGNIZED : result; } /** - * - * *
      * The state of the accelerator
      * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1062,31 +936,28 @@ public Builder setState(com.google.cloud.datafusion.v1.Accelerator.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The state of the accelerator
      * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 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); } @@ -1096,12 +967,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.Accelerator) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.Accelerator) private static final com.google.cloud.datafusion.v1.Accelerator DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.Accelerator(); } @@ -1110,16 +981,16 @@ public static com.google.cloud.datafusion.v1.Accelerator getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Accelerator parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Accelerator(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Accelerator parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Accelerator(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1134,4 +1005,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.Accelerator getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java similarity index 65% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java index afc36f0b..e96d8a75 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java @@ -1,74 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface AcceleratorOrBuilder - extends +public interface AcceleratorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.Accelerator) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; - * * @return The enum numeric value on the wire for acceleratorType. */ int getAcceleratorTypeValue(); /** - * - * *
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; - * * @return The acceleratorType. */ com.google.cloud.datafusion.v1.Accelerator.AcceleratorType getAcceleratorType(); /** - * - * *
    * The state of the accelerator
    * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of the accelerator
    * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; - * * @return The state. */ com.google.cloud.datafusion.v1.Accelerator.State getState(); diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.java similarity index 68% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.java index 3da4c754..6fdb4ded 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** - * - * *
  * Request message for creating a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.CreateInstanceRequest} */ -public final class CreateInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.CreateInstanceRequest) CreateInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateInstanceRequest.newBuilder() to construct. private CreateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -44,15 +26,16 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateInstanceRequest( 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: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - instanceId_ = s; - break; + instanceId_ = s; + break; + } + case 26: { + com.google.cloud.datafusion.v1.Instance.Builder subBuilder = null; + if (instance_ != null) { + subBuilder = instance_.toBuilder(); } - case 26: - { - com.google.cloud.datafusion.v1.Instance.Builder subBuilder = null; - if (instance_ != null) { - subBuilder = instance_.toBuilder(); - } - instance_ = - input.readMessage( - com.google.cloud.datafusion.v1.Instance.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(instance_); - instance_ = subBuilder.buildPartial(); - } - - break; + instance_ = input.readMessage(com.google.cloud.datafusion.v1.Instance.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(instance_); + instance_ = 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) { @@ -115,42 +93,35 @@ private CreateInstanceRequest( } 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.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.CreateInstanceRequest.class, - com.google.cloud.datafusion.v1.CreateInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.CreateInstanceRequest.class, com.google.cloud.datafusion.v1.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * - * 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 @@ -159,32 +130,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 instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * - * 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 { @@ -195,14 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INSTANCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceId_; /** - * - * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -211,29 +177,29 @@ public java.lang.String getInstanceId() { 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(); instanceId_ = s; return s; } } /** - * - * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; 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); instanceId_ = b; return b; } else { @@ -244,14 +210,11 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.datafusion.v1.Instance instance_; /** - * - * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1.Instance instance = 3; - * * @return Whether the instance field is set. */ @java.lang.Override @@ -259,25 +222,18 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1.Instance instance = 3; - * * @return The instance. */ @java.lang.Override public com.google.cloud.datafusion.v1.Instance getInstance() { - return instance_ == null - ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * An instance resource.
    * 
@@ -290,7 +246,6 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,7 +257,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_); } @@ -328,7 +284,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceId_); } if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInstance()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -338,19 +295,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.datafusion.v1.CreateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.CreateInstanceRequest other = - (com.google.cloud.datafusion.v1.CreateInstanceRequest) obj; + com.google.cloud.datafusion.v1.CreateInstanceRequest other = (com.google.cloud.datafusion.v1.CreateInstanceRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -377,126 +336,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.CreateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest 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 message for creating a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.CreateInstanceRequest} */ - 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.datafusion.v1.CreateInstanceRequest) com.google.cloud.datafusion.v1.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.CreateInstanceRequest.class, - com.google.cloud.datafusion.v1.CreateInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.CreateInstanceRequest.class, com.google.cloud.datafusion.v1.CreateInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1.CreateInstanceRequest.newBuilder() @@ -504,15 +454,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(); @@ -530,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -551,8 +502,7 @@ public com.google.cloud.datafusion.v1.CreateInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1.CreateInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1.CreateInstanceRequest result = - new com.google.cloud.datafusion.v1.CreateInstanceRequest(this); + com.google.cloud.datafusion.v1.CreateInstanceRequest result = new com.google.cloud.datafusion.v1.CreateInstanceRequest(this); result.parent_ = parent_; result.instanceId_ = instanceId_; if (instanceBuilder_ == null) { @@ -568,39 +518,38 @@ public com.google.cloud.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1.CreateInstanceRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1.CreateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -608,8 +557,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.CreateInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1.CreateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1.CreateInstanceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -640,8 +588,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1.CreateInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1.CreateInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -653,23 +600,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * - * 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; @@ -678,24 +621,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * - * 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 { @@ -703,70 +643,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * - * 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 instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * - * 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 instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * - * 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; @@ -774,20 +701,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; 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(); instanceId_ = s; return s; @@ -796,21 +721,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; 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); instanceId_ = b; return b; } else { @@ -818,61 +742,54 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { + public Builder setInstanceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** - * - * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceId_ = value; onChanged(); return this; @@ -880,47 +797,34 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datafusion.v1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, - com.google.cloud.datafusion.v1.Instance.Builder, - com.google.cloud.datafusion.v1.InstanceOrBuilder> - instanceBuilder_; + com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * An instance resource.
      * 
* * .google.cloud.datafusion.v1.Instance instance = 3; - * * @return Whether the instance field is set. */ public boolean hasInstance() { return instanceBuilder_ != null || instance_ != null; } /** - * - * *
      * An instance resource.
      * 
* * .google.cloud.datafusion.v1.Instance instance = 3; - * * @return The instance. */ public com.google.cloud.datafusion.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * An instance resource.
      * 
@@ -941,15 +845,14 @@ public Builder setInstance(com.google.cloud.datafusion.v1.Instance value) { return this; } /** - * - * *
      * An instance resource.
      * 
* * .google.cloud.datafusion.v1.Instance instance = 3; */ - public Builder setInstance(com.google.cloud.datafusion.v1.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.cloud.datafusion.v1.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); onChanged(); @@ -960,8 +863,6 @@ public Builder setInstance(com.google.cloud.datafusion.v1.Instance.Builder build return this; } /** - * - * *
      * An instance resource.
      * 
@@ -972,9 +873,7 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1.Instance value) { if (instanceBuilder_ == null) { if (instance_ != null) { instance_ = - com.google.cloud.datafusion.v1.Instance.newBuilder(instance_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datafusion.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); } else { instance_ = value; } @@ -986,8 +885,6 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1.Instance value) { return this; } /** - * - * *
      * An instance resource.
      * 
@@ -1006,8 +903,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * An instance resource.
      * 
@@ -1015,13 +910,11 @@ public Builder clearInstance() { * .google.cloud.datafusion.v1.Instance instance = 3; */ public com.google.cloud.datafusion.v1.Instance.Builder getInstanceBuilder() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * An instance resource.
      * 
@@ -1032,14 +925,11 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.cloud.datafusion.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * An instance resource.
      * 
@@ -1047,24 +937,21 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { * .google.cloud.datafusion.v1.Instance instance = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, - com.google.cloud.datafusion.v1.Instance.Builder, - com.google.cloud.datafusion.v1.InstanceOrBuilder> + com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, - com.google.cloud.datafusion.v1.Instance.Builder, - com.google.cloud.datafusion.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; } - @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); } @@ -1074,12 +961,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.CreateInstanceRequest) private static final com.google.cloud.datafusion.v1.CreateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.CreateInstanceRequest(); } @@ -1088,16 +975,16 @@ public static com.google.cloud.datafusion.v1.CreateInstanceRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1112,4 +999,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java index 7c347e3e..7587a72e 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java @@ -1,111 +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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface CreateInstanceRequestOrBuilder - extends +public interface CreateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * - * 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 instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * - * 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(); /** - * - * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1.Instance instance = 3; - * * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1.Instance instance = 3; - * * @return The instance. */ com.google.cloud.datafusion.v1.Instance getInstance(); /** - * - * *
    * An instance resource.
    * 
diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.java similarity index 71% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.java index c44616de..584d4205 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** - * - * *
  * The crypto key configuration. This field is used by the Customer-managed
  * encryption keys (CMEK) feature.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1.CryptoKeyConfig}
  */
-public final class CryptoKeyConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CryptoKeyConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.CryptoKeyConfig)
     CryptoKeyConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CryptoKeyConfig.newBuilder() to construct.
   private CryptoKeyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CryptoKeyConfig() {
     keyReference_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CryptoKeyConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CryptoKeyConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private CryptoKeyConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              keyReference_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            keyReference_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,33 +74,29 @@ private CryptoKeyConfig(
     } 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.datafusion.v1.Datafusion
-        .internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1.Datafusion
-        .internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_fieldAccessorTable
+    return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1.CryptoKeyConfig.class,
-            com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder.class);
+            com.google.cloud.datafusion.v1.CryptoKeyConfig.class, com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder.class);
   }
 
   public static final int KEY_REFERENCE_FIELD_NUMBER = 1;
   private volatile java.lang.Object keyReference_;
   /**
-   *
-   *
    * 
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -126,7 +104,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @return The keyReference. */ @java.lang.Override @@ -135,15 +112,14 @@ public java.lang.String getKeyReference() { 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(); keyReference_ = s; return s; } } /** - * - * *
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -151,15 +127,16 @@ public java.lang.String getKeyReference() {
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for keyReference. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyReferenceBytes() { + public com.google.protobuf.ByteString + getKeyReferenceBytes() { java.lang.Object ref = keyReference_; 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); keyReference_ = b; return b; } else { @@ -168,7 +145,6 @@ public com.google.protobuf.ByteString getKeyReferenceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +156,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(keyReference_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyReference_); } @@ -204,15 +181,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.datafusion.v1.CryptoKeyConfig)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.CryptoKeyConfig other = - (com.google.cloud.datafusion.v1.CryptoKeyConfig) obj; + com.google.cloud.datafusion.v1.CryptoKeyConfig other = (com.google.cloud.datafusion.v1.CryptoKeyConfig) obj; - if (!getKeyReference().equals(other.getKeyReference())) return false; + if (!getKeyReference() + .equals(other.getKeyReference())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,104 +208,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1.CryptoKeyConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1.CryptoKeyConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.CryptoKeyConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1.CryptoKeyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.CryptoKeyConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig 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 crypto key configuration. This field is used by the Customer-managed
    * encryption keys (CMEK) feature.
@@ -336,23 +306,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datafusion.v1.CryptoKeyConfig}
    */
-  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.datafusion.v1.CryptoKeyConfig)
       com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datafusion.v1.Datafusion
-          .internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1.Datafusion
-          .internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_fieldAccessorTable
+      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1.CryptoKeyConfig.class,
-              com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder.class);
+              com.google.cloud.datafusion.v1.CryptoKeyConfig.class, com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1.CryptoKeyConfig.newBuilder()
@@ -360,15 +328,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();
@@ -378,9 +347,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datafusion.v1.Datafusion
-          .internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor;
     }
 
     @java.lang.Override
@@ -399,8 +368,7 @@ public com.google.cloud.datafusion.v1.CryptoKeyConfig build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1.CryptoKeyConfig buildPartial() {
-      com.google.cloud.datafusion.v1.CryptoKeyConfig result =
-          new com.google.cloud.datafusion.v1.CryptoKeyConfig(this);
+      com.google.cloud.datafusion.v1.CryptoKeyConfig result = new com.google.cloud.datafusion.v1.CryptoKeyConfig(this);
       result.keyReference_ = keyReference_;
       onBuilt();
       return result;
@@ -410,39 +378,38 @@ public com.google.cloud.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig) {
-        return mergeFrom((com.google.cloud.datafusion.v1.CryptoKeyConfig) other);
+        return mergeFrom((com.google.cloud.datafusion.v1.CryptoKeyConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -486,8 +453,6 @@ public Builder mergeFrom(
 
     private java.lang.Object keyReference_ = "";
     /**
-     *
-     *
      * 
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -495,13 +460,13 @@ public Builder mergeFrom(
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @return The keyReference. */ public java.lang.String getKeyReference() { java.lang.Object ref = keyReference_; 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(); keyReference_ = s; return s; @@ -510,8 +475,6 @@ public java.lang.String getKeyReference() { } } /** - * - * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -519,14 +482,15 @@ public java.lang.String getKeyReference() {
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for keyReference. */ - public com.google.protobuf.ByteString getKeyReferenceBytes() { + public com.google.protobuf.ByteString + getKeyReferenceBytes() { java.lang.Object ref = keyReference_; 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); keyReference_ = b; return b; } else { @@ -534,8 +498,6 @@ public com.google.protobuf.ByteString getKeyReferenceBytes() { } } /** - * - * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -543,22 +505,20 @@ public com.google.protobuf.ByteString getKeyReferenceBytes() {
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @param value The keyReference to set. * @return This builder for chaining. */ - public Builder setKeyReference(java.lang.String value) { + public Builder setKeyReference( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + keyReference_ = value; onChanged(); return this; } /** - * - * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -566,18 +526,15 @@ public Builder setKeyReference(java.lang.String value) {
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearKeyReference() { - + keyReference_ = getDefaultInstance().getKeyReference(); onChanged(); return this; } /** - * - * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -585,23 +542,23 @@ public Builder clearKeyReference() {
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for keyReference to set. * @return This builder for chaining. */ - public Builder setKeyReferenceBytes(com.google.protobuf.ByteString value) { + public Builder setKeyReferenceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + keyReference_ = 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); } @@ -611,12 +568,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.CryptoKeyConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.CryptoKeyConfig) private static final com.google.cloud.datafusion.v1.CryptoKeyConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.CryptoKeyConfig(); } @@ -625,16 +582,16 @@ public static com.google.cloud.datafusion.v1.CryptoKeyConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CryptoKeyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CryptoKeyConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CryptoKeyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CryptoKeyConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,4 +606,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.CryptoKeyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.java similarity index 59% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.java index f5ef8603..24899686 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface CryptoKeyConfigOrBuilder - extends +public interface CryptoKeyConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.CryptoKeyConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -33,13 +15,10 @@ public interface CryptoKeyConfigOrBuilder
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @return The keyReference. */ java.lang.String getKeyReference(); /** - * - * *
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -47,8 +26,8 @@ public interface CryptoKeyConfigOrBuilder
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for keyReference. */ - com.google.protobuf.ByteString getKeyReferenceBytes(); + com.google.protobuf.ByteString + getKeyReferenceBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java new file mode 100644 index 00000000..b4286254 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java @@ -0,0 +1,411 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1/datafusion.proto + +package com.google.cloud.datafusion.v1; + +public final class Datafusion { + private Datafusion() {} + 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_datafusion_v1_NetworkConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_NetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_Version_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_Version_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_Accelerator_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_Instance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_Instance_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_Instance_OptionsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_Instance_OptionsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_OperationMetadata_AdditionalStatusEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_OperationMetadata_AdditionalStatusEntry_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/datafusion/v1/datafusion." + + "proto\022\032google.cloud.datafusion.v1\032\034googl" + + "e/api/annotations.proto\032\027google/api/clie" + + "nt.proto\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\032#google/lon" + + "grunning/operations.proto\032 google/protob" + + "uf/field_mask.proto\032\037google/protobuf/tim" + + "estamp.proto\"7\n\rNetworkConfig\022\017\n\007network" + + "\030\001 \001(\t\022\025\n\rip_allocation\030\002 \001(\t\"\335\001\n\007Versio" + + "n\022\026\n\016version_number\030\001 \001(\t\022\027\n\017default_ver" + + "sion\030\002 \001(\010\022\032\n\022available_features\030\003 \003(\t\0226" + + "\n\004type\030\004 \001(\0162(.google.cloud.datafusion.v" + + "1.Version.Type\"M\n\004Type\022\024\n\020TYPE_UNSPECIFI" + + "ED\020\000\022\020\n\014TYPE_PREVIEW\020\001\022\035\n\031TYPE_GENERAL_A" + + "VAILABILITY\020\002\"\307\002\n\013Accelerator\022Q\n\020acceler" + + "ator_type\030\001 \001(\01627.google.cloud.datafusio" + + "n.v1.Accelerator.AcceleratorType\022<\n\005stat" + + "e\030\002 \001(\0162-.google.cloud.datafusion.v1.Acc" + + "elerator.State\"_\n\017AcceleratorType\022 \n\034ACC" + + "ELERATOR_TYPE_UNSPECIFIED\020\000\022\007\n\003CDC\020\001\022\016\n\n" + + "HEALTHCARE\020\002\022\021\n\rCCAI_INSIGHTS\020\003\"F\n\005State" + + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010" + + "DISABLED\020\002\022\013\n\007UNKNOWN\020\003\"P\n\017CryptoKeyConf" + + "ig\022=\n\rkey_reference\030\001 \001(\tB&\372A#\n!cloudkms" + + ".googleapis.com/CryptoKey\"\322\r\n\010Instance\0228" + + "\n\004name\030\001 \001(\tB*\340A\003\372A$\n\"datafusion.googlea" + + "pis.com/Instance\022\023\n\013description\030\002 \001(\t\022<\n" + + "\004type\030\003 \001(\0162).google.cloud.datafusion.v1" + + ".Instance.TypeB\003\340A\002\022\"\n\032enable_stackdrive" + + "r_logging\030\004 \001(\010\022%\n\035enable_stackdriver_mo" + + "nitoring\030\005 \001(\010\022\030\n\020private_instance\030\006 \001(\010" + + "\022A\n\016network_config\030\007 \001(\0132).google.cloud." + + "datafusion.v1.NetworkConfig\022@\n\006labels\030\010 " + + "\003(\01320.google.cloud.datafusion.v1.Instanc" + + "e.LabelsEntry\022B\n\007options\030\t \003(\01321.google." + + "cloud.datafusion.v1.Instance.OptionsEntr" + + "y\0224\n\013create_time\030\n \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022>\n\005state\030\014" + + " \001(\0162*.google.cloud.datafusion.v1.Instan" + + "ce.StateB\003\340A\003\022\032\n\rstate_message\030\r \001(\tB\003\340A" + + "\003\022\035\n\020service_endpoint\030\016 \001(\tB\003\340A\003\022\014\n\004zone" + + "\030\017 \001(\t\022\017\n\007version\030\020 \001(\t\022\036\n\017service_accou" + + "nt\030\021 \001(\tB\005\030\001\340A\003\022\024\n\014display_name\030\022 \001(\t\022>\n" + + "\021available_version\030\023 \003(\0132#.google.cloud." + + "datafusion.v1.Version\022\031\n\014api_endpoint\030\024 " + + "\001(\tB\003\340A\003\022\027\n\ngcs_bucket\030\025 \001(\tB\003\340A\003\022=\n\014acc" + + "elerators\030\026 \003(\0132\'.google.cloud.datafusio" + + "n.v1.Accelerator\022\037\n\022p4_service_account\030\027" + + " \001(\tB\003\340A\003\022\036\n\021tenant_project_id\030\030 \001(\tB\003\340A" + + "\003\022 \n\030dataproc_service_account\030\031 \001(\t\022\023\n\013e" + + "nable_rbac\030\033 \001(\010\022F\n\021crypto_key_config\030\034 " + + "\001(\0132+.google.cloud.datafusion.v1.CryptoK" + + "eyConfig\022Q\n\017disabled_reason\030\035 \003(\01623.goog" + + "le.cloud.datafusion.v1.Instance.Disabled" + + "ReasonB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\032.\n\014OptionsEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"F\n\004Type\022\024\n\020TY" + + "PE_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\016\n\nENTERPRIS" + + "E\020\002\022\r\n\tDEVELOPER\020\003\"\264\001\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006ACTIVE\020\002\022\n\n" + + "\006FAILED\020\003\022\014\n\010DELETING\020\004\022\r\n\tUPGRADING\020\005\022\016" + + "\n\nRESTARTING\020\006\022\014\n\010UPDATING\020\007\022\021\n\rAUTO_UPD" + + "ATING\020\010\022\022\n\016AUTO_UPGRADING\020\t\022\014\n\010DISABLED\020" + + "\n\"D\n\016DisabledReason\022\037\n\033DISABLED_REASON_U" + + "NSPECIFIED\020\000\022\021\n\rKMS_KEY_ISSUE\020\001:e\352Ab\n\"da" + + "tafusion.googleapis.com/Instance\022 * Request message for deleting a Data Fusion instance. *
* * Protobuf type {@code google.cloud.datafusion.v1.DeleteInstanceRequest} */ -public final class DeleteInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.DeleteInstanceRequest) DeleteInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteInstanceRequest.newBuilder() to construct. private DeleteInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteInstanceRequest( 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 DeleteInstanceRequest( } 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.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.DeleteInstanceRequest.class, - com.google.cloud.datafusion.v1.DeleteInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.DeleteInstanceRequest.class, com.google.cloud.datafusion.v1.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * - * 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 instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * - * 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.datafusion.v1.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.DeleteInstanceRequest other = - (com.google.cloud.datafusion.v1.DeleteInstanceRequest) obj; + com.google.cloud.datafusion.v1.DeleteInstanceRequest other = (com.google.cloud.datafusion.v1.DeleteInstanceRequest) 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,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.DeleteInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest 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 message for deleting a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.DeleteInstanceRequest} */ - 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.datafusion.v1.DeleteInstanceRequest) com.google.cloud.datafusion.v1.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.DeleteInstanceRequest.class, - com.google.cloud.datafusion.v1.DeleteInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.DeleteInstanceRequest.class, com.google.cloud.datafusion.v1.DeleteInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1.DeleteInstanceRequest.newBuilder() @@ -360,15 +324,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(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.datafusion.v1.DeleteInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1.DeleteInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1.DeleteInstanceRequest result = - new com.google.cloud.datafusion.v1.DeleteInstanceRequest(this); + com.google.cloud.datafusion.v1.DeleteInstanceRequest result = new com.google.cloud.datafusion.v1.DeleteInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1.DeleteInstanceRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1.DeleteInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.DeleteInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1.DeleteInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1.DeleteInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1.DeleteInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1.DeleteInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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 { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.DeleteInstanceRequest) private static final com.google.cloud.datafusion.v1.DeleteInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.DeleteInstanceRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.datafusion.v1.DeleteInstanceRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java new file mode 100644 index 00000000..917e4c04 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1/datafusion.proto + +package com.google.cloud.datafusion.v1; + +public interface DeleteInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.DeleteInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * 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-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.java similarity index 65% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.java index b1368fdc..dbfe2d6f 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** - * - * *
  * Request message for getting details about a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.GetInstanceRequest} */ -public final class GetInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.GetInstanceRequest) GetInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetInstanceRequest.newBuilder() to construct. private GetInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetInstanceRequest( 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 GetInstanceRequest( } 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.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.GetInstanceRequest.class, - com.google.cloud.datafusion.v1.GetInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.GetInstanceRequest.class, com.google.cloud.datafusion.v1.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * - * 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 instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * - * 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.datafusion.v1.GetInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.GetInstanceRequest other = - (com.google.cloud.datafusion.v1.GetInstanceRequest) obj; + com.google.cloud.datafusion.v1.GetInstanceRequest other = (com.google.cloud.datafusion.v1.GetInstanceRequest) 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,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.GetInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest 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 message for getting details about a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.GetInstanceRequest} */ - 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.datafusion.v1.GetInstanceRequest) com.google.cloud.datafusion.v1.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.GetInstanceRequest.class, - com.google.cloud.datafusion.v1.GetInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.GetInstanceRequest.class, com.google.cloud.datafusion.v1.GetInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1.GetInstanceRequest.newBuilder() @@ -360,15 +324,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(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.datafusion.v1.GetInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1.GetInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1.GetInstanceRequest result = - new com.google.cloud.datafusion.v1.GetInstanceRequest(this); + com.google.cloud.datafusion.v1.GetInstanceRequest result = new com.google.cloud.datafusion.v1.GetInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1.GetInstanceRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1.GetInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.GetInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1.GetInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1.GetInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1.GetInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1.GetInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * 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; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * 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 { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * 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); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.GetInstanceRequest) private static final com.google.cloud.datafusion.v1.GetInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.GetInstanceRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.datafusion.v1.GetInstanceRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java new file mode 100644 index 00000000..d885e0e4 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1/datafusion.proto + +package com.google.cloud.datafusion.v1; + +public interface GetInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.GetInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}.
+   * 
+ * + * 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-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Instance.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Instance.java similarity index 71% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Instance.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Instance.java index 8b1d305a..283312e4 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Instance.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Instance.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** - * - * *
  * Represents a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.Instance} */ -public final class Instance extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Instance extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.Instance) InstanceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Instance.newBuilder() to construct. private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Instance() { name_ = ""; description_ = ""; @@ -60,15 +42,16 @@ private Instance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Instance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Instance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -88,276 +71,242 @@ private Instance( 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(); - description_ = s; - break; + description_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; + } + case 32: { + + enableStackdriverLogging_ = input.readBool(); + break; + } + case 40: { + + enableStackdriverMonitoring_ = input.readBool(); + break; + } + case 48: { + + privateInstance_ = input.readBool(); + break; + } + case 58: { + com.google.cloud.datafusion.v1.NetworkConfig.Builder subBuilder = null; + if (networkConfig_ != null) { + subBuilder = networkConfig_.toBuilder(); + } + networkConfig_ = input.readMessage(com.google.cloud.datafusion.v1.NetworkConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networkConfig_); + networkConfig_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - type_ = rawValue; - break; + break; + } + case 66: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 32: - { - enableStackdriverLogging_ = input.readBool(); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 74: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + options_ = com.google.protobuf.MapField.newMapField( + OptionsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; } - case 40: - { - enableStackdriverMonitoring_ = input.readBool(); - break; + com.google.protobuf.MapEntry + options__ = input.readMessage( + OptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + options_.getMutableMap().put( + options__.getKey(), options__.getValue()); + break; + } + case 82: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 48: - { - privateInstance_ = input.readBool(); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.datafusion.v1.NetworkConfig.Builder subBuilder = null; - if (networkConfig_ != null) { - subBuilder = networkConfig_.toBuilder(); - } - networkConfig_ = - input.readMessage( - com.google.cloud.datafusion.v1.NetworkConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(networkConfig_); - networkConfig_ = subBuilder.buildPartial(); - } - break; - } - case 66: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + break; + } + case 90: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 74: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - options_ = - com.google.protobuf.MapField.newMapField( - OptionsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry options__ = - input.readMessage( - OptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - options_.getMutableMap().put(options__.getKey(), options__.getValue()); - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 82: - { - 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 90: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } + break; + } + case 96: { + int rawValue = input.readEnum(); - break; - } - case 96: - { - int rawValue = input.readEnum(); + state_ = rawValue; + break; + } + case 106: { + java.lang.String s = input.readStringRequireUtf8(); - state_ = rawValue; - break; - } - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); + stateMessage_ = s; + break; + } + case 114: { + java.lang.String s = input.readStringRequireUtf8(); - stateMessage_ = s; - break; - } - case 114: - { - java.lang.String s = input.readStringRequireUtf8(); + serviceEndpoint_ = s; + break; + } + case 122: { + java.lang.String s = input.readStringRequireUtf8(); - serviceEndpoint_ = s; - break; - } - case 122: - { - java.lang.String s = input.readStringRequireUtf8(); + zone_ = s; + break; + } + case 130: { + java.lang.String s = input.readStringRequireUtf8(); - zone_ = s; - break; - } - case 130: - { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 138: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 138: - { - java.lang.String s = input.readStringRequireUtf8(); + serviceAccount_ = s; + break; + } + case 146: { + java.lang.String s = input.readStringRequireUtf8(); - serviceAccount_ = s; - break; + displayName_ = s; + break; + } + case 154: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + availableVersion_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 146: - { - java.lang.String s = input.readStringRequireUtf8(); + availableVersion_.add( + input.readMessage(com.google.cloud.datafusion.v1.Version.parser(), extensionRegistry)); + break; + } + case 162: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 154: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - availableVersion_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - availableVersion_.add( - input.readMessage( - com.google.cloud.datafusion.v1.Version.parser(), extensionRegistry)); - break; - } - case 162: - { - java.lang.String s = input.readStringRequireUtf8(); + apiEndpoint_ = s; + break; + } + case 170: { + java.lang.String s = input.readStringRequireUtf8(); - apiEndpoint_ = s; - break; + gcsBucket_ = s; + break; + } + case 178: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + accelerators_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 170: - { - java.lang.String s = input.readStringRequireUtf8(); + accelerators_.add( + input.readMessage(com.google.cloud.datafusion.v1.Accelerator.parser(), extensionRegistry)); + break; + } + case 186: { + java.lang.String s = input.readStringRequireUtf8(); - gcsBucket_ = s; - break; - } - case 178: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - accelerators_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - accelerators_.add( - input.readMessage( - com.google.cloud.datafusion.v1.Accelerator.parser(), extensionRegistry)); - break; - } - case 186: - { - java.lang.String s = input.readStringRequireUtf8(); + p4ServiceAccount_ = s; + break; + } + case 194: { + java.lang.String s = input.readStringRequireUtf8(); - p4ServiceAccount_ = s; - break; - } - case 194: - { - java.lang.String s = input.readStringRequireUtf8(); + tenantProjectId_ = s; + break; + } + case 202: { + java.lang.String s = input.readStringRequireUtf8(); - tenantProjectId_ = s; - break; - } - case 202: - { - java.lang.String s = input.readStringRequireUtf8(); + dataprocServiceAccount_ = s; + break; + } + case 216: { - dataprocServiceAccount_ = s; - break; + enableRbac_ = input.readBool(); + break; + } + case 226: { + com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder subBuilder = null; + if (cryptoKeyConfig_ != null) { + subBuilder = cryptoKeyConfig_.toBuilder(); } - case 216: - { - enableRbac_ = input.readBool(); - break; + cryptoKeyConfig_ = input.readMessage(com.google.cloud.datafusion.v1.CryptoKeyConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cryptoKeyConfig_); + cryptoKeyConfig_ = subBuilder.buildPartial(); } - case 226: - { - com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder subBuilder = null; - if (cryptoKeyConfig_ != null) { - subBuilder = cryptoKeyConfig_.toBuilder(); - } - cryptoKeyConfig_ = - input.readMessage( - com.google.cloud.datafusion.v1.CryptoKeyConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cryptoKeyConfig_); - cryptoKeyConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 232: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + disabledReason_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - case 232: - { + disabledReason_.add(rawValue); + break; + } + case 234: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000010) != 0)) { disabledReason_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } disabledReason_.add(rawValue); - break; - } - case 234: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - disabledReason_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - disabledReason_.add(rawValue); - } - input.popLimit(oldLimit); - break; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(oldLimit); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -365,7 +314,8 @@ private Instance( } 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_ & 0x00000004) != 0)) { availableVersion_ = java.util.Collections.unmodifiableList(availableVersion_); @@ -380,38 +330,34 @@ private Instance( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Instance_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 8: return internalGetLabels(); case 9: return internalGetOptions(); 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.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_Instance_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.Instance.class, - com.google.cloud.datafusion.v1.Instance.Builder.class); + com.google.cloud.datafusion.v1.Instance.class, com.google.cloud.datafusion.v1.Instance.Builder.class); } /** - * - * *
    * Represents the type of Data Fusion instance. Each type is configured with
    * the default settings for processing and memory.
@@ -419,10 +365,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    *
    * Protobuf enum {@code google.cloud.datafusion.v1.Instance.Type}
    */
-  public enum Type implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Type
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * No type specified. The instance creation will fail.
      * 
@@ -431,8 +376,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Basic Data Fusion instance. In Basic type, the user will be able to
      * create data pipelines using point and click UI. However, there are
@@ -444,8 +387,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     BASIC(1),
     /**
-     *
-     *
      * 
      * Enterprise Data Fusion instance. In Enterprise type, the user will have
      * all features available, such as support for streaming pipelines, higher
@@ -456,8 +397,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     ENTERPRISE(2),
     /**
-     *
-     *
      * 
      * Developer Data Fusion instance. In Developer type, the user will have all
      * features available but with restrictive capabilities. This is to help
@@ -472,8 +411,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * No type specified. The instance creation will fail.
      * 
@@ -482,8 +419,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Basic Data Fusion instance. In Basic type, the user will be able to
      * create data pipelines using point and click UI. However, there are
@@ -495,8 +430,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BASIC_VALUE = 1;
     /**
-     *
-     *
      * 
      * Enterprise Data Fusion instance. In Enterprise type, the user will have
      * all features available, such as support for streaming pipelines, higher
@@ -507,8 +440,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ENTERPRISE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Developer Data Fusion instance. In Developer type, the user will have all
      * features available but with restrictive capabilities. This is to help
@@ -520,6 +451,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEVELOPER_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -544,51 +476,50 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return BASIC;
-        case 2:
-          return ENTERPRISE;
-        case 3:
-          return DEVELOPER;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return BASIC;
+        case 2: return ENTERPRISE;
+        case 3: return DEVELOPER;
+        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() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.datafusion.v1.Instance.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;
@@ -606,18 +537,15 @@ private Type(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Represents the state of a Data Fusion instance
    * 
* * Protobuf enum {@code google.cloud.datafusion.v1.Instance.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Instance does not have a state yet
      * 
@@ -626,8 +554,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Instance is being created
      * 
@@ -636,8 +562,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(1), /** - * - * *
      * Instance is active and ready for requests. This corresponds to 'RUNNING'
      * in datafusion.v1beta1.
@@ -647,8 +571,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     ACTIVE(2),
     /**
-     *
-     *
      * 
      * Instance creation failed
      * 
@@ -657,8 +579,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * Instance is being deleted
      * 
@@ -667,8 +587,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
      * Instance is being upgraded
      * 
@@ -677,8 +595,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UPGRADING(5), /** - * - * *
      * Instance is being restarted
      * 
@@ -687,8 +603,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RESTARTING(6), /** - * - * *
      * Instance is being updated on customer request
      * 
@@ -697,8 +611,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UPDATING(7), /** - * - * *
      * Instance is being auto-updated
      * 
@@ -707,8 +619,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ AUTO_UPDATING(8), /** - * - * *
      * Instance is being auto-upgraded
      * 
@@ -717,8 +627,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ AUTO_UPGRADING(9), /** - * - * *
      * Instance is disabled
      * 
@@ -730,8 +638,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Instance does not have a state yet
      * 
@@ -740,8 +646,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Instance is being created
      * 
@@ -750,8 +654,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 1; /** - * - * *
      * Instance is active and ready for requests. This corresponds to 'RUNNING'
      * in datafusion.v1beta1.
@@ -761,8 +663,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ACTIVE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Instance creation failed
      * 
@@ -771,8 +671,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * Instance is being deleted
      * 
@@ -781,8 +679,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; /** - * - * *
      * Instance is being upgraded
      * 
@@ -791,8 +687,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADING_VALUE = 5; /** - * - * *
      * Instance is being restarted
      * 
@@ -801,8 +695,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESTARTING_VALUE = 6; /** - * - * *
      * Instance is being updated on customer request
      * 
@@ -811,8 +703,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATING_VALUE = 7; /** - * - * *
      * Instance is being auto-updated
      * 
@@ -821,8 +711,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTO_UPDATING_VALUE = 8; /** - * - * *
      * Instance is being auto-upgraded
      * 
@@ -831,8 +719,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTO_UPGRADING_VALUE = 9; /** - * - * *
      * Instance is disabled
      * 
@@ -841,6 +727,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DISABLED_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -865,65 +752,57 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return CREATING; - case 2: - return ACTIVE; - case 3: - return FAILED; - case 4: - return DELETING; - case 5: - return UPGRADING; - case 6: - return RESTARTING; - case 7: - return UPDATING; - case 8: - return AUTO_UPDATING; - case 9: - return AUTO_UPGRADING; - case 10: - return DISABLED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return STATE_UNSPECIFIED; + case 1: return CREATING; + case 2: return ACTIVE; + case 3: return FAILED; + case 4: return DELETING; + case 5: return UPGRADING; + case 6: return RESTARTING; + case 7: return UPDATING; + case 8: return AUTO_UPDATING; + case 9: return AUTO_UPGRADING; + case 10: return DISABLED; + 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); + } + }; - 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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.datafusion.v1.Instance.getDescriptor().getEnumTypes().get(1); } 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; @@ -941,18 +820,15 @@ private State(int value) { } /** - * - * *
    * The reason for disabling the instance if the state is DISABLED.
    * 
* * Protobuf enum {@code google.cloud.datafusion.v1.Instance.DisabledReason} */ - public enum DisabledReason implements com.google.protobuf.ProtocolMessageEnum { + public enum DisabledReason + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * This is an unknown reason for disabling.
      * 
@@ -961,8 +837,6 @@ public enum DisabledReason implements com.google.protobuf.ProtocolMessageEnum { */ DISABLED_REASON_UNSPECIFIED(0), /** - * - * *
      * The KMS key used by the instance is either revoked or denied access to
      * 
@@ -974,8 +848,6 @@ public enum DisabledReason implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * This is an unknown reason for disabling.
      * 
@@ -984,8 +856,6 @@ public enum DisabledReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DISABLED_REASON_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The KMS key used by the instance is either revoked or denied access to
      * 
@@ -994,6 +864,7 @@ public enum DisabledReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int KMS_KEY_ISSUE_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1018,47 +889,48 @@ public static DisabledReason valueOf(int value) { */ public static DisabledReason forNumber(int value) { switch (value) { - case 0: - return DISABLED_REASON_UNSPECIFIED; - case 1: - return KMS_KEY_ISSUE; - default: - return null; + case 0: return DISABLED_REASON_UNSPECIFIED; + case 1: return KMS_KEY_ISSUE; + 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< + DisabledReason> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DisabledReason findValueByNumber(int number) { + return DisabledReason.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DisabledReason findValueByNumber(int number) { - return DisabledReason.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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.datafusion.v1.Instance.getDescriptor().getEnumTypes().get(2); } private static final DisabledReason[] VALUES = values(); - public static DisabledReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DisabledReason 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; @@ -1078,17 +950,12 @@ private DisabledReason(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -1097,32 +964,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; } } /** - * - * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -1133,14 +998,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * A description of this instance.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -1149,29 +1011,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** - * - * *
    * A description of this instance.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1182,54 +1044,38 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int TYPE_FIELD_NUMBER = 3; private int type_; /** - * - * *
    * Required. Instance type.
    * 
* - * - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. Instance type.
    * 
* - * - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.datafusion.v1.Instance.Type getType() { + @java.lang.Override public com.google.cloud.datafusion.v1.Instance.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Instance.Type result = - com.google.cloud.datafusion.v1.Instance.Type.valueOf(type_); + com.google.cloud.datafusion.v1.Instance.Type result = com.google.cloud.datafusion.v1.Instance.Type.valueOf(type_); return result == null ? com.google.cloud.datafusion.v1.Instance.Type.UNRECOGNIZED : result; } public static final int ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER = 4; private boolean enableStackdriverLogging_; /** - * - * *
    * Option to enable Stackdriver Logging.
    * 
* * bool enable_stackdriver_logging = 4; - * * @return The enableStackdriverLogging. */ @java.lang.Override @@ -1240,14 +1086,11 @@ public boolean getEnableStackdriverLogging() { public static final int ENABLE_STACKDRIVER_MONITORING_FIELD_NUMBER = 5; private boolean enableStackdriverMonitoring_; /** - * - * *
    * Option to enable Stackdriver Monitoring.
    * 
* * bool enable_stackdriver_monitoring = 5; - * * @return The enableStackdriverMonitoring. */ @java.lang.Override @@ -1258,8 +1101,6 @@ public boolean getEnableStackdriverMonitoring() { public static final int PRIVATE_INSTANCE_FIELD_NUMBER = 6; private boolean privateInstance_; /** - * - * *
    * Specifies whether the Data Fusion instance should be private. If set to
    * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -1267,7 +1108,6 @@ public boolean getEnableStackdriverMonitoring() {
    * 
* * bool private_instance = 6; - * * @return The privateInstance. */ @java.lang.Override @@ -1278,15 +1118,12 @@ public boolean getPrivateInstance() { public static final int NETWORK_CONFIG_FIELD_NUMBER = 7; private com.google.cloud.datafusion.v1.NetworkConfig networkConfig_; /** - * - * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1.NetworkConfig network_config = 7; - * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -1294,26 +1131,19 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** - * - * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1.NetworkConfig network_config = 7; - * * @return The networkConfig. */ @java.lang.Override public com.google.cloud.datafusion.v1.NetworkConfig getNetworkConfig() { - return networkConfig_ == null - ? com.google.cloud.datafusion.v1.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.cloud.datafusion.v1.NetworkConfig.getDefaultInstance() : networkConfig_; } /** - * - * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
@@ -1327,23 +1157,24 @@ public com.google.cloud.datafusion.v1.NetworkConfigOrBuilder getNetworkConfigOrB
   }
 
   public static final int LABELS_FIELD_NUMBER = 8;
-
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.datafusion.v1.Datafusion
-                .internal_static_google_cloud_datafusion_v1_Instance_LabelsEntry_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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Instance_LabelsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField labels_;
-
-  private com.google.protobuf.MapField internalGetLabels() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> labels_;
+  private com.google.protobuf.MapField
+  internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -1352,8 +1183,6 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1362,22 +1191,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 8;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1387,12 +1216,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1402,16 +1230,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1421,11 +1249,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1433,23 +1262,24 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int OPTIONS_FIELD_NUMBER = 9;
-
   private static final class OptionsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.datafusion.v1.Datafusion
-                .internal_static_google_cloud_datafusion_v1_Instance_OptionsEntry_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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Instance_OptionsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField options_;
-
-  private com.google.protobuf.MapField internalGetOptions() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> options_;
+  private com.google.protobuf.MapField
+  internalGetOptions() {
     if (options_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(OptionsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          OptionsDefaultEntryHolder.defaultEntry);
     }
     return options_;
   }
@@ -1458,8 +1288,6 @@ public int getOptionsCount() {
     return internalGetOptions().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1467,22 +1295,22 @@ public int getOptionsCount() {
    *
    * map<string, string> options = 9;
    */
+
   @java.lang.Override
-  public boolean containsOptions(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsOptions(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetOptions().getMap().containsKey(key);
   }
-  /** Use {@link #getOptionsMap()} instead. */
+  /**
+   * Use {@link #getOptionsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getOptions() {
     return getOptionsMap();
   }
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1491,12 +1319,11 @@ public java.util.Map getOptions() {
    * map<string, string> options = 9;
    */
   @java.lang.Override
+
   public java.util.Map getOptionsMap() {
     return internalGetOptions().getMap();
   }
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1505,16 +1332,16 @@ public java.util.Map getOptionsMap() {
    * map<string, string> options = 9;
    */
   @java.lang.Override
-  public java.lang.String getOptionsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetOptions().getMap();
+
+  public java.lang.String getOptionsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetOptions().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1523,11 +1350,12 @@ public java.lang.String getOptionsOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> options = 9;
    */
   @java.lang.Override
-  public java.lang.String getOptionsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetOptions().getMap();
+
+  public java.lang.String getOptionsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetOptions().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1537,15 +1365,11 @@ public java.lang.String getOptionsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 10;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -1553,15 +1377,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -1569,14 +1389,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1586,15 +1403,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1602,15 +1415,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1618,14 +1427,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1635,55 +1441,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 12; private int state_; /** - * - * *
    * Output only. The current state of this Data Fusion instance.
    * 
* - * - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.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 this Data Fusion instance.
    * 
* - * - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.datafusion.v1.Instance.State getState() { + @java.lang.Override public com.google.cloud.datafusion.v1.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Instance.State result = - com.google.cloud.datafusion.v1.Instance.State.valueOf(state_); + com.google.cloud.datafusion.v1.Instance.State result = com.google.cloud.datafusion.v1.Instance.State.valueOf(state_); return result == null ? com.google.cloud.datafusion.v1.Instance.State.UNRECOGNIZED : result; } public static final int STATE_MESSAGE_FIELD_NUMBER = 13; private volatile java.lang.Object stateMessage_; /** - * - * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stateMessage. */ @java.lang.Override @@ -1692,30 +1482,30 @@ public java.lang.String getStateMessage() { 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(); stateMessage_ = s; return s; } } /** - * - * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stateMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStateMessageBytes() { + public com.google.protobuf.ByteString + getStateMessageBytes() { java.lang.Object ref = stateMessage_; 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); stateMessage_ = b; return b; } else { @@ -1726,14 +1516,11 @@ public com.google.protobuf.ByteString getStateMessageBytes() { public static final int SERVICE_ENDPOINT_FIELD_NUMBER = 14; private volatile java.lang.Object serviceEndpoint_; /** - * - * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The serviceEndpoint. */ @java.lang.Override @@ -1742,29 +1529,29 @@ public java.lang.String getServiceEndpoint() { 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(); serviceEndpoint_ = s; return s; } } /** - * - * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for serviceEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceEndpointBytes() { + public com.google.protobuf.ByteString + getServiceEndpointBytes() { java.lang.Object ref = serviceEndpoint_; 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); serviceEndpoint_ = b; return b; } else { @@ -1775,15 +1562,12 @@ public com.google.protobuf.ByteString getServiceEndpointBytes() { public static final int ZONE_FIELD_NUMBER = 15; private volatile java.lang.Object zone_; /** - * - * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; - * * @return The zone. */ @java.lang.Override @@ -1792,30 +1576,30 @@ public java.lang.String getZone() { 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(); zone_ = s; return s; } } /** - * - * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; - * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1826,14 +1610,11 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int VERSION_FIELD_NUMBER = 16; private volatile java.lang.Object version_; /** - * - * *
    * Current version of the Data Fusion. Only specifiable in Update.
    * 
* * string version = 16; - * * @return The version. */ @java.lang.Override @@ -1842,29 +1623,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** - * - * *
    * Current version of the Data Fusion. Only specifiable in Update.
    * 
* * string version = 16; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -1875,55 +1656,46 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 17; private volatile java.lang.Object serviceAccount_; /** - * - * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1/datafusion.proto;l=361 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1/datafusion.proto;l=361 * @return The serviceAccount. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getServiceAccount() { + @java.lang.Deprecated public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; } } /** - * - * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1/datafusion.proto;l=361 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1/datafusion.proto;l=361 * @return The bytes for serviceAccount. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getServiceAccountBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -1934,14 +1706,11 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 18; private volatile java.lang.Object displayName_; /** - * - * *
    * Display name for an instance.
    * 
* * string display_name = 18; - * * @return The displayName. */ @java.lang.Override @@ -1950,29 +1719,29 @@ 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; } } /** - * - * *
    * Display name for an instance.
    * 
* * string display_name = 18; - * * @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 { @@ -1983,8 +1752,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int AVAILABLE_VERSION_FIELD_NUMBER = 19; private java.util.List availableVersion_; /** - * - * *
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1997,8 +1764,6 @@ public java.util.List getAvailableVersio
     return availableVersion_;
   }
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -2007,13 +1772,11 @@ public java.util.List getAvailableVersio
    * repeated .google.cloud.datafusion.v1.Version available_version = 19;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAvailableVersionOrBuilderList() {
     return availableVersion_;
   }
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -2026,8 +1789,6 @@ public int getAvailableVersionCount() {
     return availableVersion_.size();
   }
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -2040,8 +1801,6 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersion(int index) {
     return availableVersion_.get(index);
   }
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -2050,21 +1809,19 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersion(int index) {
    * repeated .google.cloud.datafusion.v1.Version available_version = 19;
    */
   @java.lang.Override
-  public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuilder(int index) {
+  public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuilder(
+      int index) {
     return availableVersion_.get(index);
   }
 
   public static final int API_ENDPOINT_FIELD_NUMBER = 20;
   private volatile java.lang.Object apiEndpoint_;
   /**
-   *
-   *
    * 
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiEndpoint. */ @java.lang.Override @@ -2073,29 +1830,29 @@ public java.lang.String getApiEndpoint() { 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(); apiEndpoint_ = s; return s; } } /** - * - * *
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString getApiEndpointBytes() { + public com.google.protobuf.ByteString + getApiEndpointBytes() { java.lang.Object ref = apiEndpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiEndpoint_ = b; return b; } else { @@ -2106,14 +1863,11 @@ public com.google.protobuf.ByteString getApiEndpointBytes() { public static final int GCS_BUCKET_FIELD_NUMBER = 21; private volatile java.lang.Object gcsBucket_; /** - * - * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The gcsBucket. */ @java.lang.Override @@ -2122,29 +1876,29 @@ public java.lang.String getGcsBucket() { 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(); gcsBucket_ = s; return s; } } /** - * - * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for gcsBucket. */ @java.lang.Override - public com.google.protobuf.ByteString getGcsBucketBytes() { + public com.google.protobuf.ByteString + getGcsBucketBytes() { java.lang.Object ref = gcsBucket_; 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); gcsBucket_ = b; return b; } else { @@ -2155,8 +1909,6 @@ public com.google.protobuf.ByteString getGcsBucketBytes() { public static final int ACCELERATORS_FIELD_NUMBER = 22; private java.util.List accelerators_; /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -2168,8 +1920,6 @@ public java.util.List getAccelerator return accelerators_; } /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -2177,13 +1927,11 @@ public java.util.List getAccelerator * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ @java.lang.Override - public java.util.List + public java.util.List getAcceleratorsOrBuilderList() { return accelerators_; } /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -2195,8 +1943,6 @@ public int getAcceleratorsCount() { return accelerators_.size(); } /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -2208,8 +1954,6 @@ public com.google.cloud.datafusion.v1.Accelerator getAccelerators(int index) { return accelerators_.get(index); } /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -2217,21 +1961,19 @@ public com.google.cloud.datafusion.v1.Accelerator getAccelerators(int index) { * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ @java.lang.Override - public com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder(int index) { + public com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder( + int index) { return accelerators_.get(index); } public static final int P4_SERVICE_ACCOUNT_FIELD_NUMBER = 23; private volatile java.lang.Object p4ServiceAccount_; /** - * - * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The p4ServiceAccount. */ @java.lang.Override @@ -2240,29 +1982,29 @@ public java.lang.String getP4ServiceAccount() { 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(); p4ServiceAccount_ = s; return s; } } /** - * - * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for p4ServiceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getP4ServiceAccountBytes() { + public com.google.protobuf.ByteString + getP4ServiceAccountBytes() { java.lang.Object ref = p4ServiceAccount_; 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); p4ServiceAccount_ = b; return b; } else { @@ -2273,14 +2015,11 @@ public com.google.protobuf.ByteString getP4ServiceAccountBytes() { public static final int TENANT_PROJECT_ID_FIELD_NUMBER = 24; private volatile java.lang.Object tenantProjectId_; /** - * - * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tenantProjectId. */ @java.lang.Override @@ -2289,29 +2028,29 @@ public java.lang.String getTenantProjectId() { 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(); tenantProjectId_ = s; return s; } } /** - * - * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for tenantProjectId. */ @java.lang.Override - public com.google.protobuf.ByteString getTenantProjectIdBytes() { + public com.google.protobuf.ByteString + getTenantProjectIdBytes() { java.lang.Object ref = tenantProjectId_; 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); tenantProjectId_ = b; return b; } else { @@ -2321,9 +2060,7 @@ public com.google.protobuf.ByteString getTenantProjectIdBytes() { public static final int DATAPROC_SERVICE_ACCOUNT_FIELD_NUMBER = 25; private volatile java.lang.Object dataprocServiceAccount_; - /** - * - * + /** *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -2332,7 +2069,6 @@ public com.google.protobuf.ByteString getTenantProjectIdBytes() {
    * 
* * string dataproc_service_account = 25; - * * @return The dataprocServiceAccount. */ @java.lang.Override @@ -2341,15 +2077,14 @@ public java.lang.String getDataprocServiceAccount() { 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(); dataprocServiceAccount_ = s; return s; } } /** - * - * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -2358,15 +2093,16 @@ public java.lang.String getDataprocServiceAccount() {
    * 
* * string dataproc_service_account = 25; - * * @return The bytes for dataprocServiceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getDataprocServiceAccountBytes() { + public com.google.protobuf.ByteString + getDataprocServiceAccountBytes() { java.lang.Object ref = dataprocServiceAccount_; 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); dataprocServiceAccount_ = b; return b; } else { @@ -2377,14 +2113,11 @@ public com.google.protobuf.ByteString getDataprocServiceAccountBytes() { public static final int ENABLE_RBAC_FIELD_NUMBER = 27; private boolean enableRbac_; /** - * - * *
    * Option to enable granular role-based access control.
    * 
* * bool enable_rbac = 27; - * * @return The enableRbac. */ @java.lang.Override @@ -2395,15 +2128,12 @@ public boolean getEnableRbac() { public static final int CRYPTO_KEY_CONFIG_FIELD_NUMBER = 28; private com.google.cloud.datafusion.v1.CryptoKeyConfig cryptoKeyConfig_; /** - * - * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28; - * * @return Whether the cryptoKeyConfig field is set. */ @java.lang.Override @@ -2411,26 +2141,19 @@ public boolean hasCryptoKeyConfig() { return cryptoKeyConfig_ != null; } /** - * - * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28; - * * @return The cryptoKeyConfig. */ @java.lang.Override public com.google.cloud.datafusion.v1.CryptoKeyConfig getCryptoKeyConfig() { - return cryptoKeyConfig_ == null - ? com.google.cloud.datafusion.v1.CryptoKeyConfig.getDefaultInstance() - : cryptoKeyConfig_; + return cryptoKeyConfig_ == null ? com.google.cloud.datafusion.v1.CryptoKeyConfig.getDefaultInstance() : cryptoKeyConfig_; } /** - * - * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
@@ -2446,51 +2169,34 @@ public com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder getCryptoKeyConfi
   public static final int DISABLED_REASON_FIELD_NUMBER = 29;
   private java.util.List disabledReason_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-          java.lang.Integer, com.google.cloud.datafusion.v1.Instance.DisabledReason>
-      disabledReason_converter_ =
+      java.lang.Integer, com.google.cloud.datafusion.v1.Instance.DisabledReason> disabledReason_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.datafusion.v1.Instance.DisabledReason>() {
-            public com.google.cloud.datafusion.v1.Instance.DisabledReason convert(
-                java.lang.Integer from) {
+            public com.google.cloud.datafusion.v1.Instance.DisabledReason convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.datafusion.v1.Instance.DisabledReason result =
-                  com.google.cloud.datafusion.v1.Instance.DisabledReason.valueOf(from);
-              return result == null
-                  ? com.google.cloud.datafusion.v1.Instance.DisabledReason.UNRECOGNIZED
-                  : result;
+              com.google.cloud.datafusion.v1.Instance.DisabledReason result = com.google.cloud.datafusion.v1.Instance.DisabledReason.valueOf(from);
+              return result == null ? com.google.cloud.datafusion.v1.Instance.DisabledReason.UNRECOGNIZED : result;
             }
           };
   /**
-   *
-   *
    * 
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the disabledReason. */ @java.lang.Override - public java.util.List - getDisabledReasonList() { + public java.util.List getDisabledReasonList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datafusion.v1.Instance.DisabledReason>( - disabledReason_, disabledReason_converter_); + java.lang.Integer, com.google.cloud.datafusion.v1.Instance.DisabledReason>(disabledReason_, disabledReason_converter_); } /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of disabledReason. */ @java.lang.Override @@ -2498,16 +2204,11 @@ public int getDisabledReasonCount() { return disabledReason_.size(); } /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The disabledReason at the given index. */ @@ -2516,33 +2217,24 @@ public com.google.cloud.datafusion.v1.Instance.DisabledReason getDisabledReason( return disabledReason_converter_.convert(disabledReason_.get(index)); } /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for disabledReason. */ @java.lang.Override - public java.util.List getDisabledReasonValueList() { + public java.util.List + getDisabledReasonValueList() { return disabledReason_; } /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. */ @@ -2550,11 +2242,9 @@ public java.util.List getDisabledReasonValueList() { public int getDisabledReasonValue(int index) { return disabledReason_.get(index); } - private int disabledReasonMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2566,7 +2256,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -2589,10 +2280,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (networkConfig_ != null) { output.writeMessage(7, getNetworkConfig()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetOptions(), OptionsDefaultEntryHolder.defaultEntry, 9); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 8); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetOptions(), + OptionsDefaultEntryHolder.defaultEntry, + 9); if (createTime_ != null) { output.writeMessage(10, getCreateTime()); } @@ -2670,49 +2369,56 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (type_ != com.google.cloud.datafusion.v1.Instance.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, type_); } if (enableStackdriverLogging_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, enableStackdriverLogging_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, enableStackdriverLogging_); } if (enableStackdriverMonitoring_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableStackdriverMonitoring_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, enableStackdriverMonitoring_); } if (privateInstance_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, privateInstance_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, privateInstance_); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getNetworkConfig()); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, labels__); - } - for (java.util.Map.Entry entry : - internalGetOptions().getMap().entrySet()) { - com.google.protobuf.MapEntry options__ = - OptionsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, options__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getNetworkConfig()); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, labels__); + } + for (java.util.Map.Entry entry + : internalGetOptions().getMap().entrySet()) { + com.google.protobuf.MapEntry + options__ = OptionsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, options__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getUpdateTime()); } if (state_ != com.google.cloud.datafusion.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(12, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, stateMessage_); @@ -2733,8 +2439,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, displayName_); } for (int i = 0; i < availableVersion_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(19, availableVersion_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, availableVersion_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiEndpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, apiEndpoint_); @@ -2743,7 +2449,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, gcsBucket_); } for (int i = 0; i < accelerators_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, accelerators_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, accelerators_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(p4ServiceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, p4ServiceAccount_); @@ -2755,23 +2462,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, dataprocServiceAccount_); } if (enableRbac_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(27, enableRbac_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(27, enableRbac_); } if (cryptoKeyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(28, getCryptoKeyConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, getCryptoKeyConfig()); } { int dataSize = 0; for (int i = 0; i < disabledReason_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(disabledReason_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(disabledReason_.get(i)); } size += dataSize; - if (!getDisabledReasonList().isEmpty()) { - size += 2; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - disabledReasonMemoizedSerializedSize = dataSize; + if (!getDisabledReasonList().isEmpty()) { size += 2; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }disabledReasonMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2781,51 +2489,76 @@ 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.datafusion.v1.Instance)) { return super.equals(obj); } com.google.cloud.datafusion.v1.Instance other = (com.google.cloud.datafusion.v1.Instance) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (type_ != other.type_) return false; - if (getEnableStackdriverLogging() != other.getEnableStackdriverLogging()) return false; - if (getEnableStackdriverMonitoring() != other.getEnableStackdriverMonitoring()) return false; - if (getPrivateInstance() != other.getPrivateInstance()) return false; + if (getEnableStackdriverLogging() + != other.getEnableStackdriverLogging()) return false; + if (getEnableStackdriverMonitoring() + != other.getEnableStackdriverMonitoring()) return false; + if (getPrivateInstance() + != other.getPrivateInstance()) return false; if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; + if (!getNetworkConfig() + .equals(other.getNetworkConfig())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!internalGetOptions().equals(other.internalGetOptions())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!internalGetOptions().equals( + other.internalGetOptions())) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (state_ != other.state_) return false; - if (!getStateMessage().equals(other.getStateMessage())) return false; - if (!getServiceEndpoint().equals(other.getServiceEndpoint())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getAvailableVersionList().equals(other.getAvailableVersionList())) return false; - if (!getApiEndpoint().equals(other.getApiEndpoint())) return false; - if (!getGcsBucket().equals(other.getGcsBucket())) return false; - if (!getAcceleratorsList().equals(other.getAcceleratorsList())) return false; - if (!getP4ServiceAccount().equals(other.getP4ServiceAccount())) return false; - if (!getTenantProjectId().equals(other.getTenantProjectId())) return false; - if (!getDataprocServiceAccount().equals(other.getDataprocServiceAccount())) return false; - if (getEnableRbac() != other.getEnableRbac()) return false; + if (!getStateMessage() + .equals(other.getStateMessage())) return false; + if (!getServiceEndpoint() + .equals(other.getServiceEndpoint())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getAvailableVersionList() + .equals(other.getAvailableVersionList())) return false; + if (!getApiEndpoint() + .equals(other.getApiEndpoint())) return false; + if (!getGcsBucket() + .equals(other.getGcsBucket())) return false; + if (!getAcceleratorsList() + .equals(other.getAcceleratorsList())) return false; + if (!getP4ServiceAccount() + .equals(other.getP4ServiceAccount())) return false; + if (!getTenantProjectId() + .equals(other.getTenantProjectId())) return false; + if (!getDataprocServiceAccount() + .equals(other.getDataprocServiceAccount())) return false; + if (getEnableRbac() + != other.getEnableRbac()) return false; if (hasCryptoKeyConfig() != other.hasCryptoKeyConfig()) return false; if (hasCryptoKeyConfig()) { - if (!getCryptoKeyConfig().equals(other.getCryptoKeyConfig())) return false; + if (!getCryptoKeyConfig() + .equals(other.getCryptoKeyConfig())) return false; } if (!disabledReason_.equals(other.disabledReason_)) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -2846,11 +2579,14 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableStackdriverLogging()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableStackdriverLogging()); hash = (37 * hash) + ENABLE_STACKDRIVER_MONITORING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableStackdriverMonitoring()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableStackdriverMonitoring()); hash = (37 * hash) + PRIVATE_INSTANCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPrivateInstance()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPrivateInstance()); if (hasNetworkConfig()) { hash = (37 * hash) + NETWORK_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getNetworkConfig().hashCode(); @@ -2904,7 +2640,8 @@ public int hashCode() { hash = (37 * hash) + DATAPROC_SERVICE_ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getDataprocServiceAccount().hashCode(); hash = (37 * hash) + ENABLE_RBAC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableRbac()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableRbac()); if (hasCryptoKeyConfig()) { hash = (37 * hash) + CRYPTO_KEY_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getCryptoKeyConfig().hashCode(); @@ -2918,151 +2655,144 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1.Instance parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1.Instance parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.Instance 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.datafusion.v1.Instance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.Instance parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.Instance 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.datafusion.v1.Instance 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.datafusion.v1.Instance 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.datafusion.v1.Instance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.Instance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.Instance 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.datafusion.v1.Instance 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.datafusion.v1.Instance 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.datafusion.v1.Instance 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 Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.Instance} */ - 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.datafusion.v1.Instance) com.google.cloud.datafusion.v1.InstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Instance_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 8: return internalGetLabels(); case 9: return internalGetOptions(); 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 8: return internalGetMutableLabels(); case 9: return internalGetMutableOptions(); 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.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_Instance_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.Instance.class, - com.google.cloud.datafusion.v1.Instance.Builder.class); + com.google.cloud.datafusion.v1.Instance.class, com.google.cloud.datafusion.v1.Instance.Builder.class); } // Construct using com.google.cloud.datafusion.v1.Instance.newBuilder() @@ -3070,18 +2800,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) { getAvailableVersionFieldBuilder(); getAcceleratorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3167,9 +2897,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_Instance_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Instance_descriptor; } @java.lang.Override @@ -3188,8 +2918,7 @@ public com.google.cloud.datafusion.v1.Instance build() { @java.lang.Override public com.google.cloud.datafusion.v1.Instance buildPartial() { - com.google.cloud.datafusion.v1.Instance result = - new com.google.cloud.datafusion.v1.Instance(this); + com.google.cloud.datafusion.v1.Instance result = new com.google.cloud.datafusion.v1.Instance(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.description_ = description_; @@ -3265,39 +2994,38 @@ public com.google.cloud.datafusion.v1.Instance 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.datafusion.v1.Instance) { - return mergeFrom((com.google.cloud.datafusion.v1.Instance) other); + return mergeFrom((com.google.cloud.datafusion.v1.Instance)other); } else { super.mergeFrom(other); return this; @@ -3329,8 +3057,10 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1.Instance other) { if (other.hasNetworkConfig()) { mergeNetworkConfig(other.getNetworkConfig()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); - internalGetMutableOptions().mergeFrom(other.internalGetOptions()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); + internalGetMutableOptions().mergeFrom( + other.internalGetOptions()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -3382,10 +3112,9 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1.Instance other) { availableVersionBuilder_ = null; availableVersion_ = other.availableVersion_; bitField0_ = (bitField0_ & ~0x00000004); - availableVersionBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAvailableVersionFieldBuilder() - : null; + availableVersionBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAvailableVersionFieldBuilder() : null; } else { availableVersionBuilder_.addAllMessages(other.availableVersion_); } @@ -3417,10 +3146,9 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1.Instance other) { acceleratorsBuilder_ = null; accelerators_ = other.accelerators_; bitField0_ = (bitField0_ & ~0x00000008); - acceleratorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAcceleratorsFieldBuilder() - : null; + acceleratorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAcceleratorsFieldBuilder() : null; } else { acceleratorsBuilder_.addAllMessages(other.accelerators_); } @@ -3482,28 +3210,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -3512,24 +3235,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -3537,70 +3257,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; } /** - * - * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -3608,20 +3315,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * A description of this instance.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -3630,21 +3335,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A description of this instance.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -3652,61 +3356,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A description of this instance.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * A description of this instance.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * A description of this instance.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -3714,73 +3411,51 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Required. Instance type.
      * 
* - * - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Instance type.
      * 
* - * - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @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; } /** - * - * *
      * Required. Instance type.
      * 
* - * - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.datafusion.v1.Instance.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Instance.Type result = - com.google.cloud.datafusion.v1.Instance.Type.valueOf(type_); + com.google.cloud.datafusion.v1.Instance.Type result = com.google.cloud.datafusion.v1.Instance.Type.valueOf(type_); return result == null ? com.google.cloud.datafusion.v1.Instance.Type.UNRECOGNIZED : result; } /** - * - * *
      * Required. Instance type.
      * 
* - * - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -3788,41 +3463,33 @@ public Builder setType(com.google.cloud.datafusion.v1.Instance.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. Instance type.
      * 
* - * - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private boolean enableStackdriverLogging_; + private boolean enableStackdriverLogging_ ; /** - * - * *
      * Option to enable Stackdriver Logging.
      * 
* * bool enable_stackdriver_logging = 4; - * * @return The enableStackdriverLogging. */ @java.lang.Override @@ -3830,51 +3497,42 @@ public boolean getEnableStackdriverLogging() { return enableStackdriverLogging_; } /** - * - * *
      * Option to enable Stackdriver Logging.
      * 
* * bool enable_stackdriver_logging = 4; - * * @param value The enableStackdriverLogging to set. * @return This builder for chaining. */ public Builder setEnableStackdriverLogging(boolean value) { - + enableStackdriverLogging_ = value; onChanged(); return this; } /** - * - * *
      * Option to enable Stackdriver Logging.
      * 
* * bool enable_stackdriver_logging = 4; - * * @return This builder for chaining. */ public Builder clearEnableStackdriverLogging() { - + enableStackdriverLogging_ = false; onChanged(); return this; } - private boolean enableStackdriverMonitoring_; + private boolean enableStackdriverMonitoring_ ; /** - * - * *
      * Option to enable Stackdriver Monitoring.
      * 
* * bool enable_stackdriver_monitoring = 5; - * * @return The enableStackdriverMonitoring. */ @java.lang.Override @@ -3882,45 +3540,37 @@ public boolean getEnableStackdriverMonitoring() { return enableStackdriverMonitoring_; } /** - * - * *
      * Option to enable Stackdriver Monitoring.
      * 
* * bool enable_stackdriver_monitoring = 5; - * * @param value The enableStackdriverMonitoring to set. * @return This builder for chaining. */ public Builder setEnableStackdriverMonitoring(boolean value) { - + enableStackdriverMonitoring_ = value; onChanged(); return this; } /** - * - * *
      * Option to enable Stackdriver Monitoring.
      * 
* * bool enable_stackdriver_monitoring = 5; - * * @return This builder for chaining. */ public Builder clearEnableStackdriverMonitoring() { - + enableStackdriverMonitoring_ = false; onChanged(); return this; } - private boolean privateInstance_; + private boolean privateInstance_ ; /** - * - * *
      * Specifies whether the Data Fusion instance should be private. If set to
      * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -3928,7 +3578,6 @@ public Builder clearEnableStackdriverMonitoring() {
      * 
* * bool private_instance = 6; - * * @return The privateInstance. */ @java.lang.Override @@ -3936,8 +3585,6 @@ public boolean getPrivateInstance() { return privateInstance_; } /** - * - * *
      * Specifies whether the Data Fusion instance should be private. If set to
      * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -3945,19 +3592,16 @@ public boolean getPrivateInstance() {
      * 
* * bool private_instance = 6; - * * @param value The privateInstance to set. * @return This builder for chaining. */ public Builder setPrivateInstance(boolean value) { - + privateInstance_ = value; onChanged(); return this; } /** - * - * *
      * Specifies whether the Data Fusion instance should be private. If set to
      * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -3965,11 +3609,10 @@ public Builder setPrivateInstance(boolean value) {
      * 
* * bool private_instance = 6; - * * @return This builder for chaining. */ public Builder clearPrivateInstance() { - + privateInstance_ = false; onChanged(); return this; @@ -3977,49 +3620,36 @@ public Builder clearPrivateInstance() { private com.google.cloud.datafusion.v1.NetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1.NetworkConfig, - com.google.cloud.datafusion.v1.NetworkConfig.Builder, - com.google.cloud.datafusion.v1.NetworkConfigOrBuilder> - networkConfigBuilder_; + com.google.cloud.datafusion.v1.NetworkConfig, com.google.cloud.datafusion.v1.NetworkConfig.Builder, com.google.cloud.datafusion.v1.NetworkConfigOrBuilder> networkConfigBuilder_; /** - * - * *
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
      * 
* * .google.cloud.datafusion.v1.NetworkConfig network_config = 7; - * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return networkConfigBuilder_ != null || networkConfig_ != null; } /** - * - * *
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
      * 
* * .google.cloud.datafusion.v1.NetworkConfig network_config = 7; - * * @return The networkConfig. */ public com.google.cloud.datafusion.v1.NetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null - ? com.google.cloud.datafusion.v1.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.cloud.datafusion.v1.NetworkConfig.getDefaultInstance() : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** - * - * *
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -4041,8 +3671,6 @@ public Builder setNetworkConfig(com.google.cloud.datafusion.v1.NetworkConfig val
       return this;
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -4062,8 +3690,6 @@ public Builder setNetworkConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -4075,9 +3701,7 @@ public Builder mergeNetworkConfig(com.google.cloud.datafusion.v1.NetworkConfig v
       if (networkConfigBuilder_ == null) {
         if (networkConfig_ != null) {
           networkConfig_ =
-              com.google.cloud.datafusion.v1.NetworkConfig.newBuilder(networkConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.datafusion.v1.NetworkConfig.newBuilder(networkConfig_).mergeFrom(value).buildPartial();
         } else {
           networkConfig_ = value;
         }
@@ -4089,8 +3713,6 @@ public Builder mergeNetworkConfig(com.google.cloud.datafusion.v1.NetworkConfig v
       return this;
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -4110,8 +3732,6 @@ public Builder clearNetworkConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -4120,13 +3740,11 @@ public Builder clearNetworkConfig() {
      * .google.cloud.datafusion.v1.NetworkConfig network_config = 7;
      */
     public com.google.cloud.datafusion.v1.NetworkConfig.Builder getNetworkConfigBuilder() {
-
+      
       onChanged();
       return getNetworkConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -4138,14 +3756,11 @@ public com.google.cloud.datafusion.v1.NetworkConfigOrBuilder getNetworkConfigOrB
       if (networkConfigBuilder_ != null) {
         return networkConfigBuilder_.getMessageOrBuilder();
       } else {
-        return networkConfig_ == null
-            ? com.google.cloud.datafusion.v1.NetworkConfig.getDefaultInstance()
-            : networkConfig_;
+        return networkConfig_ == null ?
+            com.google.cloud.datafusion.v1.NetworkConfig.getDefaultInstance() : networkConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -4154,37 +3769,35 @@ public com.google.cloud.datafusion.v1.NetworkConfigOrBuilder getNetworkConfigOrB
      * .google.cloud.datafusion.v1.NetworkConfig network_config = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datafusion.v1.NetworkConfig,
-            com.google.cloud.datafusion.v1.NetworkConfig.Builder,
-            com.google.cloud.datafusion.v1.NetworkConfigOrBuilder>
+        com.google.cloud.datafusion.v1.NetworkConfig, com.google.cloud.datafusion.v1.NetworkConfig.Builder, com.google.cloud.datafusion.v1.NetworkConfigOrBuilder> 
         getNetworkConfigFieldBuilder() {
       if (networkConfigBuilder_ == null) {
-        networkConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datafusion.v1.NetworkConfig,
-                com.google.cloud.datafusion.v1.NetworkConfig.Builder,
-                com.google.cloud.datafusion.v1.NetworkConfigOrBuilder>(
-                getNetworkConfig(), getParentForChildren(), isClean());
+        networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datafusion.v1.NetworkConfig, com.google.cloud.datafusion.v1.NetworkConfig.Builder, com.google.cloud.datafusion.v1.NetworkConfigOrBuilder>(
+                getNetworkConfig(),
+                getParentForChildren(),
+                isClean());
         networkConfig_ = null;
       }
       return networkConfigBuilder_;
     }
 
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> labels_;
+    private com.google.protobuf.MapField
+    internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableLabels() {
-      onChanged();
-      ;
+    internalGetMutableLabels() {
+      onChanged();;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -4196,8 +3809,6 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -4206,22 +3817,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 8;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -4231,12 +3842,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -4246,17 +3856,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -4266,11 +3875,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 8;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4278,12 +3888,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -4292,21 +3901,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 8;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -4315,20 +3926,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 8;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -4337,26 +3947,30 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 8;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    private com.google.protobuf.MapField options_;
-
-    private com.google.protobuf.MapField internalGetOptions() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> options_;
+    private com.google.protobuf.MapField
+    internalGetOptions() {
       if (options_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(OptionsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            OptionsDefaultEntryHolder.defaultEntry);
       }
       return options_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableOptions() {
-      onChanged();
-      ;
+    internalGetMutableOptions() {
+      onChanged();;
       if (options_ == null) {
-        options_ = com.google.protobuf.MapField.newMapField(OptionsDefaultEntryHolder.defaultEntry);
+        options_ = com.google.protobuf.MapField.newMapField(
+            OptionsDefaultEntryHolder.defaultEntry);
       }
       if (!options_.isMutable()) {
         options_ = options_.copy();
@@ -4368,8 +3982,6 @@ public int getOptionsCount() {
       return internalGetOptions().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4377,22 +3989,22 @@ public int getOptionsCount() {
      *
      * map<string, string> options = 9;
      */
+
     @java.lang.Override
-    public boolean containsOptions(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsOptions(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetOptions().getMap().containsKey(key);
     }
-    /** Use {@link #getOptionsMap()} instead. */
+    /**
+     * Use {@link #getOptionsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getOptions() {
       return getOptionsMap();
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4401,12 +4013,11 @@ public java.util.Map getOptions() {
      * map<string, string> options = 9;
      */
     @java.lang.Override
+
     public java.util.Map getOptionsMap() {
       return internalGetOptions().getMap();
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4415,17 +4026,16 @@ public java.util.Map getOptionsMap() {
      * map<string, string> options = 9;
      */
     @java.lang.Override
+
     public java.lang.String getOptionsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetOptions().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetOptions().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4434,11 +4044,12 @@ public java.lang.String getOptionsOrDefault(
      * map<string, string> options = 9;
      */
     @java.lang.Override
-    public java.lang.String getOptionsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetOptions().getMap();
+
+    public java.lang.String getOptionsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetOptions().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4446,12 +4057,11 @@ public java.lang.String getOptionsOrThrow(java.lang.String key) {
     }
 
     public Builder clearOptions() {
-      internalGetMutableOptions().getMutableMap().clear();
+      internalGetMutableOptions().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4459,21 +4069,23 @@ public Builder clearOptions() {
      *
      * map<string, string> options = 9;
      */
-    public Builder removeOptions(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableOptions().getMutableMap().remove(key);
+
+    public Builder removeOptions(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableOptions().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableOptions() {
+    public java.util.Map
+    getMutableOptions() {
       return internalGetMutableOptions().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4481,20 +4093,19 @@ public java.util.Map getMutableOptions() {
      *
      * map<string, string> options = 9;
      */
-    public Builder putOptions(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putOptions(
+        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");
+}
 
-      internalGetMutableOptions().getMutableMap().put(key, value);
+      internalGetMutableOptions().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4502,65 +4113,49 @@ public Builder putOptions(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> options = 9;
      */
-    public Builder putAllOptions(java.util.Map values) {
-      internalGetMutableOptions().getMutableMap().putAll(values);
+
+    public Builder putAllOptions(
+        java.util.Map values) {
+      internalGetMutableOptions().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     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_;
     /**
-     *
-     *
      * 
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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(); } } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -4576,17 +4171,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - 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(); @@ -4597,21 +4189,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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; } @@ -4623,15 +4211,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -4645,64 +4229,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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_; } } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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_; @@ -4710,58 +4278,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -4777,17 +4326,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -4798,21 +4344,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -4824,15 +4366,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -4846,64 +4384,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4911,73 +4433,51 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. The current state of this Data Fusion instance.
      * 
* - * - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.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 this Data Fusion instance.
      * 
* - * - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.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 this Data Fusion instance.
      * 
* - * - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.datafusion.v1.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Instance.State result = - com.google.cloud.datafusion.v1.Instance.State.valueOf(state_); + com.google.cloud.datafusion.v1.Instance.State result = com.google.cloud.datafusion.v1.Instance.State.valueOf(state_); return result == null ? com.google.cloud.datafusion.v1.Instance.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of this Data Fusion instance.
      * 
* - * - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -4985,26 +4485,21 @@ public Builder setState(com.google.cloud.datafusion.v1.Instance.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The current state of this Data Fusion instance.
      * 
* - * - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -5012,21 +4507,19 @@ public Builder clearState() { private java.lang.Object stateMessage_ = ""; /** - * - * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stateMessage. */ public java.lang.String getStateMessage() { java.lang.Object ref = stateMessage_; 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(); stateMessage_ = s; return s; @@ -5035,22 +4528,21 @@ public java.lang.String getStateMessage() { } } /** - * - * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stateMessage. */ - public com.google.protobuf.ByteString getStateMessageBytes() { + public com.google.protobuf.ByteString + getStateMessageBytes() { java.lang.Object ref = stateMessage_; 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); stateMessage_ = b; return b; } else { @@ -5058,64 +4550,57 @@ public com.google.protobuf.ByteString getStateMessageBytes() { } } /** - * - * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessage(java.lang.String value) { + public Builder setStateMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateMessage_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearStateMessage() { - + stateMessage_ = getDefaultInstance().getStateMessage(); onChanged(); return this; } /** - * - * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { + public Builder setStateMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateMessage_ = value; onChanged(); return this; @@ -5123,20 +4608,18 @@ public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceEndpoint_ = ""; /** - * - * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The serviceEndpoint. */ public java.lang.String getServiceEndpoint() { java.lang.Object ref = serviceEndpoint_; 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(); serviceEndpoint_ = s; return s; @@ -5145,21 +4628,20 @@ public java.lang.String getServiceEndpoint() { } } /** - * - * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for serviceEndpoint. */ - public com.google.protobuf.ByteString getServiceEndpointBytes() { + public com.google.protobuf.ByteString + getServiceEndpointBytes() { java.lang.Object ref = serviceEndpoint_; 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); serviceEndpoint_ = b; return b; } else { @@ -5167,61 +4649,54 @@ public com.google.protobuf.ByteString getServiceEndpointBytes() { } } /** - * - * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The serviceEndpoint to set. * @return This builder for chaining. */ - public Builder setServiceEndpoint(java.lang.String value) { + public Builder setServiceEndpoint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceEndpoint_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearServiceEndpoint() { - + serviceEndpoint_ = getDefaultInstance().getServiceEndpoint(); onChanged(); return this; } /** - * - * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for serviceEndpoint to set. * @return This builder for chaining. */ - public Builder setServiceEndpointBytes(com.google.protobuf.ByteString value) { + public Builder setServiceEndpointBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceEndpoint_ = value; onChanged(); return this; @@ -5229,21 +4704,19 @@ public Builder setServiceEndpointBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; - * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -5252,22 +4725,21 @@ public java.lang.String getZone() { } } /** - * - * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; - * * @return The bytes for zone. */ - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -5275,64 +4747,57 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; - * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone(java.lang.String value) { + public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; - * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; - * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -5340,20 +4805,18 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * Current version of the Data Fusion. Only specifiable in Update.
      * 
* * string version = 16; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -5362,21 +4825,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Current version of the Data Fusion. Only specifiable in Update.
      * 
* * string version = 16; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -5384,61 +4846,54 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Current version of the Data Fusion. Only specifiable in Update.
      * 
* * string version = 16; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Current version of the Data Fusion. Only specifiable in Update.
      * 
* * string version = 16; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * Current version of the Data Fusion. Only specifiable in Update.
      * 
* * string version = 16; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -5446,25 +4901,20 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1/datafusion.proto;l=361 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1/datafusion.proto;l=361 * @return The serviceAccount. */ - @java.lang.Deprecated - public java.lang.String getServiceAccount() { + @java.lang.Deprecated public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -5473,26 +4923,22 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1/datafusion.proto;l=361 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1/datafusion.proto;l=361 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getServiceAccountBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -5500,76 +4946,60 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1/datafusion.proto;l=361 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1/datafusion.proto;l=361 * @param value The serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setServiceAccount(java.lang.String value) { + @java.lang.Deprecated public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1/datafusion.proto;l=361 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1/datafusion.proto;l=361 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearServiceAccount() { - + @java.lang.Deprecated public Builder clearServiceAccount() { + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1/datafusion.proto;l=361 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1/datafusion.proto;l=361 * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -5577,20 +5007,18 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Display name for an instance.
      * 
* * string display_name = 18; - * * @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; @@ -5599,21 +5027,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name for an instance.
      * 
* * string display_name = 18; - * * @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 { @@ -5621,86 +5048,72 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name for an instance.
      * 
* * string display_name = 18; - * * @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; } /** - * - * *
      * Display name for an instance.
      * 
* * string display_name = 18; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Display name for an instance.
      * 
* * string display_name = 18; - * * @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 java.util.List availableVersion_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAvailableVersionIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - availableVersion_ = - new java.util.ArrayList(availableVersion_); + availableVersion_ = new java.util.ArrayList(availableVersion_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Version, - com.google.cloud.datafusion.v1.Version.Builder, - com.google.cloud.datafusion.v1.VersionOrBuilder> - availableVersionBuilder_; + com.google.cloud.datafusion.v1.Version, com.google.cloud.datafusion.v1.Version.Builder, com.google.cloud.datafusion.v1.VersionOrBuilder> availableVersionBuilder_; /** - * - * *
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5716,8 +5129,6 @@ public java.util.List getAvailableVersio
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5733,8 +5144,6 @@ public int getAvailableVersionCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5750,8 +5159,6 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersion(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5759,7 +5166,8 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersion(int index) {
      *
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
-    public Builder setAvailableVersion(int index, com.google.cloud.datafusion.v1.Version value) {
+    public Builder setAvailableVersion(
+        int index, com.google.cloud.datafusion.v1.Version value) {
       if (availableVersionBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5773,8 +5181,6 @@ public Builder setAvailableVersion(int index, com.google.cloud.datafusion.v1.Ver
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5794,8 +5200,6 @@ public Builder setAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5817,8 +5221,6 @@ public Builder addAvailableVersion(com.google.cloud.datafusion.v1.Version value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5826,7 +5228,8 @@ public Builder addAvailableVersion(com.google.cloud.datafusion.v1.Version value)
      *
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
-    public Builder addAvailableVersion(int index, com.google.cloud.datafusion.v1.Version value) {
+    public Builder addAvailableVersion(
+        int index, com.google.cloud.datafusion.v1.Version value) {
       if (availableVersionBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5840,8 +5243,6 @@ public Builder addAvailableVersion(int index, com.google.cloud.datafusion.v1.Ver
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5861,8 +5262,6 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5882,8 +5281,6 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5895,7 +5292,8 @@ public Builder addAllAvailableVersion(
         java.lang.Iterable values) {
       if (availableVersionBuilder_ == null) {
         ensureAvailableVersionIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableVersion_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, availableVersion_);
         onChanged();
       } else {
         availableVersionBuilder_.addAllMessages(values);
@@ -5903,8 +5301,6 @@ public Builder addAllAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5923,8 +5319,6 @@ public Builder clearAvailableVersion() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5943,8 +5337,6 @@ public Builder removeAvailableVersion(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5952,12 +5344,11 @@ public Builder removeAvailableVersion(int index) {
      *
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
-    public com.google.cloud.datafusion.v1.Version.Builder getAvailableVersionBuilder(int index) {
+    public com.google.cloud.datafusion.v1.Version.Builder getAvailableVersionBuilder(
+        int index) {
       return getAvailableVersionFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5965,16 +5356,14 @@ public com.google.cloud.datafusion.v1.Version.Builder getAvailableVersionBuilder
      *
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
-    public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuilder(int index) {
+    public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuilder(
+        int index) {
       if (availableVersionBuilder_ == null) {
-        return availableVersion_.get(index);
-      } else {
+        return availableVersion_.get(index);  } else {
         return availableVersionBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5982,8 +5371,8 @@ public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuil
      *
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
-    public java.util.List
-        getAvailableVersionOrBuilderList() {
+    public java.util.List 
+         getAvailableVersionOrBuilderList() {
       if (availableVersionBuilder_ != null) {
         return availableVersionBuilder_.getMessageOrBuilderList();
       } else {
@@ -5991,8 +5380,6 @@ public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -6001,12 +5388,10 @@ public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuil
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
     public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionBuilder() {
-      return getAvailableVersionFieldBuilder()
-          .addBuilder(com.google.cloud.datafusion.v1.Version.getDefaultInstance());
+      return getAvailableVersionFieldBuilder().addBuilder(
+          com.google.cloud.datafusion.v1.Version.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -6014,13 +5399,12 @@ public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionBuilder
      *
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
-    public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionBuilder(int index) {
-      return getAvailableVersionFieldBuilder()
-          .addBuilder(index, com.google.cloud.datafusion.v1.Version.getDefaultInstance());
+    public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionBuilder(
+        int index) {
+      return getAvailableVersionFieldBuilder().addBuilder(
+          index, com.google.cloud.datafusion.v1.Version.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -6028,22 +5412,16 @@ public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionBuilder
      *
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
-    public java.util.List
-        getAvailableVersionBuilderList() {
+    public java.util.List 
+         getAvailableVersionBuilderList() {
       return getAvailableVersionFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datafusion.v1.Version,
-            com.google.cloud.datafusion.v1.Version.Builder,
-            com.google.cloud.datafusion.v1.VersionOrBuilder>
+        com.google.cloud.datafusion.v1.Version, com.google.cloud.datafusion.v1.Version.Builder, com.google.cloud.datafusion.v1.VersionOrBuilder> 
         getAvailableVersionFieldBuilder() {
       if (availableVersionBuilder_ == null) {
-        availableVersionBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.datafusion.v1.Version,
-                com.google.cloud.datafusion.v1.Version.Builder,
-                com.google.cloud.datafusion.v1.VersionOrBuilder>(
+        availableVersionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.datafusion.v1.Version, com.google.cloud.datafusion.v1.Version.Builder, com.google.cloud.datafusion.v1.VersionOrBuilder>(
                 availableVersion_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -6055,20 +5433,18 @@ public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionBuilder
 
     private java.lang.Object apiEndpoint_ = "";
     /**
-     *
-     *
      * 
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiEndpoint. */ public java.lang.String getApiEndpoint() { java.lang.Object ref = apiEndpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiEndpoint_ = s; return s; @@ -6077,21 +5453,20 @@ public java.lang.String getApiEndpoint() { } } /** - * - * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiEndpoint. */ - public com.google.protobuf.ByteString getApiEndpointBytes() { + public com.google.protobuf.ByteString + getApiEndpointBytes() { java.lang.Object ref = apiEndpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiEndpoint_ = b; return b; } else { @@ -6099,61 +5474,54 @@ public com.google.protobuf.ByteString getApiEndpointBytes() { } } /** - * - * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The apiEndpoint to set. * @return This builder for chaining. */ - public Builder setApiEndpoint(java.lang.String value) { + public Builder setApiEndpoint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiEndpoint_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearApiEndpoint() { - + apiEndpoint_ = getDefaultInstance().getApiEndpoint(); onChanged(); return this; } /** - * - * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for apiEndpoint to set. * @return This builder for chaining. */ - public Builder setApiEndpointBytes(com.google.protobuf.ByteString value) { + public Builder setApiEndpointBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiEndpoint_ = value; onChanged(); return this; @@ -6161,20 +5529,18 @@ public Builder setApiEndpointBytes(com.google.protobuf.ByteString value) { private java.lang.Object gcsBucket_ = ""; /** - * - * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The gcsBucket. */ public java.lang.String getGcsBucket() { java.lang.Object ref = gcsBucket_; 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(); gcsBucket_ = s; return s; @@ -6183,21 +5549,20 @@ public java.lang.String getGcsBucket() { } } /** - * - * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for gcsBucket. */ - public com.google.protobuf.ByteString getGcsBucketBytes() { + public com.google.protobuf.ByteString + getGcsBucketBytes() { java.lang.Object ref = gcsBucket_; 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); gcsBucket_ = b; return b; } else { @@ -6205,86 +5570,72 @@ public com.google.protobuf.ByteString getGcsBucketBytes() { } } /** - * - * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The gcsBucket to set. * @return This builder for chaining. */ - public Builder setGcsBucket(java.lang.String value) { + public Builder setGcsBucket( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gcsBucket_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearGcsBucket() { - + gcsBucket_ = getDefaultInstance().getGcsBucket(); onChanged(); return this; } /** - * - * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for gcsBucket to set. * @return This builder for chaining. */ - public Builder setGcsBucketBytes(com.google.protobuf.ByteString value) { + public Builder setGcsBucketBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gcsBucket_ = value; onChanged(); return this; } private java.util.List accelerators_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAcceleratorsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - accelerators_ = - new java.util.ArrayList(accelerators_); + accelerators_ = new java.util.ArrayList(accelerators_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Accelerator, - com.google.cloud.datafusion.v1.Accelerator.Builder, - com.google.cloud.datafusion.v1.AcceleratorOrBuilder> - acceleratorsBuilder_; + com.google.cloud.datafusion.v1.Accelerator, com.google.cloud.datafusion.v1.Accelerator.Builder, com.google.cloud.datafusion.v1.AcceleratorOrBuilder> acceleratorsBuilder_; /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6299,8 +5650,6 @@ public java.util.List getAccelerator } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6315,8 +5664,6 @@ public int getAcceleratorsCount() { } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6331,15 +5678,14 @@ public com.google.cloud.datafusion.v1.Accelerator getAccelerators(int index) { } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - public Builder setAccelerators(int index, com.google.cloud.datafusion.v1.Accelerator value) { + public Builder setAccelerators( + int index, com.google.cloud.datafusion.v1.Accelerator value) { if (acceleratorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6353,8 +5699,6 @@ public Builder setAccelerators(int index, com.google.cloud.datafusion.v1.Acceler return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6373,8 +5717,6 @@ public Builder setAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6395,15 +5737,14 @@ public Builder addAccelerators(com.google.cloud.datafusion.v1.Accelerator value) return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - public Builder addAccelerators(int index, com.google.cloud.datafusion.v1.Accelerator value) { + public Builder addAccelerators( + int index, com.google.cloud.datafusion.v1.Accelerator value) { if (acceleratorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6417,8 +5758,6 @@ public Builder addAccelerators(int index, com.google.cloud.datafusion.v1.Acceler return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6437,8 +5776,6 @@ public Builder addAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6457,8 +5794,6 @@ public Builder addAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6469,7 +5804,8 @@ public Builder addAllAccelerators( java.lang.Iterable values) { if (acceleratorsBuilder_ == null) { ensureAcceleratorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accelerators_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, accelerators_); onChanged(); } else { acceleratorsBuilder_.addAllMessages(values); @@ -6477,8 +5813,6 @@ public Builder addAllAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6496,8 +5830,6 @@ public Builder clearAccelerators() { return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6515,44 +5847,39 @@ public Builder removeAccelerators(int index) { return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - public com.google.cloud.datafusion.v1.Accelerator.Builder getAcceleratorsBuilder(int index) { + public com.google.cloud.datafusion.v1.Accelerator.Builder getAcceleratorsBuilder( + int index) { return getAcceleratorsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - public com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder(int index) { + public com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder( + int index) { if (acceleratorsBuilder_ == null) { - return accelerators_.get(index); - } else { + return accelerators_.get(index); } else { return acceleratorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - public java.util.List - getAcceleratorsOrBuilderList() { + public java.util.List + getAcceleratorsOrBuilderList() { if (acceleratorsBuilder_ != null) { return acceleratorsBuilder_.getMessageOrBuilderList(); } else { @@ -6560,8 +5887,6 @@ public com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuil } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6569,48 +5894,42 @@ public com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuil * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ public com.google.cloud.datafusion.v1.Accelerator.Builder addAcceleratorsBuilder() { - return getAcceleratorsFieldBuilder() - .addBuilder(com.google.cloud.datafusion.v1.Accelerator.getDefaultInstance()); + return getAcceleratorsFieldBuilder().addBuilder( + com.google.cloud.datafusion.v1.Accelerator.getDefaultInstance()); } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - public com.google.cloud.datafusion.v1.Accelerator.Builder addAcceleratorsBuilder(int index) { - return getAcceleratorsFieldBuilder() - .addBuilder(index, com.google.cloud.datafusion.v1.Accelerator.getDefaultInstance()); + public com.google.cloud.datafusion.v1.Accelerator.Builder addAcceleratorsBuilder( + int index) { + return getAcceleratorsFieldBuilder().addBuilder( + index, com.google.cloud.datafusion.v1.Accelerator.getDefaultInstance()); } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - public java.util.List - getAcceleratorsBuilderList() { + public java.util.List + getAcceleratorsBuilderList() { return getAcceleratorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Accelerator, - com.google.cloud.datafusion.v1.Accelerator.Builder, - com.google.cloud.datafusion.v1.AcceleratorOrBuilder> + com.google.cloud.datafusion.v1.Accelerator, com.google.cloud.datafusion.v1.Accelerator.Builder, com.google.cloud.datafusion.v1.AcceleratorOrBuilder> getAcceleratorsFieldBuilder() { if (acceleratorsBuilder_ == null) { - acceleratorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Accelerator, - com.google.cloud.datafusion.v1.Accelerator.Builder, - com.google.cloud.datafusion.v1.AcceleratorOrBuilder>( - accelerators_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + acceleratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1.Accelerator, com.google.cloud.datafusion.v1.Accelerator.Builder, com.google.cloud.datafusion.v1.AcceleratorOrBuilder>( + accelerators_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); accelerators_ = null; } return acceleratorsBuilder_; @@ -6618,20 +5937,18 @@ public com.google.cloud.datafusion.v1.Accelerator.Builder addAcceleratorsBuilder private java.lang.Object p4ServiceAccount_ = ""; /** - * - * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The p4ServiceAccount. */ public java.lang.String getP4ServiceAccount() { java.lang.Object ref = p4ServiceAccount_; 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(); p4ServiceAccount_ = s; return s; @@ -6640,21 +5957,20 @@ public java.lang.String getP4ServiceAccount() { } } /** - * - * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for p4ServiceAccount. */ - public com.google.protobuf.ByteString getP4ServiceAccountBytes() { + public com.google.protobuf.ByteString + getP4ServiceAccountBytes() { java.lang.Object ref = p4ServiceAccount_; 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); p4ServiceAccount_ = b; return b; } else { @@ -6662,61 +5978,54 @@ public com.google.protobuf.ByteString getP4ServiceAccountBytes() { } } /** - * - * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The p4ServiceAccount to set. * @return This builder for chaining. */ - public Builder setP4ServiceAccount(java.lang.String value) { + public Builder setP4ServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + p4ServiceAccount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearP4ServiceAccount() { - + p4ServiceAccount_ = getDefaultInstance().getP4ServiceAccount(); onChanged(); return this; } /** - * - * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for p4ServiceAccount to set. * @return This builder for chaining. */ - public Builder setP4ServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setP4ServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + p4ServiceAccount_ = value; onChanged(); return this; @@ -6724,20 +6033,18 @@ public Builder setP4ServiceAccountBytes(com.google.protobuf.ByteString value) { private java.lang.Object tenantProjectId_ = ""; /** - * - * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tenantProjectId. */ public java.lang.String getTenantProjectId() { java.lang.Object ref = tenantProjectId_; 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(); tenantProjectId_ = s; return s; @@ -6746,21 +6053,20 @@ public java.lang.String getTenantProjectId() { } } /** - * - * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for tenantProjectId. */ - public com.google.protobuf.ByteString getTenantProjectIdBytes() { + public com.google.protobuf.ByteString + getTenantProjectIdBytes() { java.lang.Object ref = tenantProjectId_; 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); tenantProjectId_ = b; return b; } else { @@ -6768,61 +6074,54 @@ public com.google.protobuf.ByteString getTenantProjectIdBytes() { } } /** - * - * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The tenantProjectId to set. * @return This builder for chaining. */ - public Builder setTenantProjectId(java.lang.String value) { + public Builder setTenantProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tenantProjectId_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTenantProjectId() { - + tenantProjectId_ = getDefaultInstance().getTenantProjectId(); onChanged(); return this; } /** - * - * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for tenantProjectId to set. * @return This builder for chaining. */ - public Builder setTenantProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setTenantProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantProjectId_ = value; onChanged(); return this; @@ -6830,8 +6129,6 @@ public Builder setTenantProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataprocServiceAccount_ = ""; /** - * - * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6840,13 +6137,13 @@ public Builder setTenantProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string dataproc_service_account = 25; - * * @return The dataprocServiceAccount. */ public java.lang.String getDataprocServiceAccount() { java.lang.Object ref = dataprocServiceAccount_; 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(); dataprocServiceAccount_ = s; return s; @@ -6855,8 +6152,6 @@ public java.lang.String getDataprocServiceAccount() { } } /** - * - * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6865,14 +6160,15 @@ public java.lang.String getDataprocServiceAccount() {
      * 
* * string dataproc_service_account = 25; - * * @return The bytes for dataprocServiceAccount. */ - public com.google.protobuf.ByteString getDataprocServiceAccountBytes() { + public com.google.protobuf.ByteString + getDataprocServiceAccountBytes() { java.lang.Object ref = dataprocServiceAccount_; 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); dataprocServiceAccount_ = b; return b; } else { @@ -6880,8 +6176,6 @@ public com.google.protobuf.ByteString getDataprocServiceAccountBytes() { } } /** - * - * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6890,22 +6184,20 @@ public com.google.protobuf.ByteString getDataprocServiceAccountBytes() {
      * 
* * string dataproc_service_account = 25; - * * @param value The dataprocServiceAccount to set. * @return This builder for chaining. */ - public Builder setDataprocServiceAccount(java.lang.String value) { + public Builder setDataprocServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataprocServiceAccount_ = value; onChanged(); return this; } /** - * - * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6914,18 +6206,15 @@ public Builder setDataprocServiceAccount(java.lang.String value) {
      * 
* * string dataproc_service_account = 25; - * * @return This builder for chaining. */ public Builder clearDataprocServiceAccount() { - + dataprocServiceAccount_ = getDefaultInstance().getDataprocServiceAccount(); onChanged(); return this; } /** - * - * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6934,31 +6223,28 @@ public Builder clearDataprocServiceAccount() {
      * 
* * string dataproc_service_account = 25; - * * @param value The bytes for dataprocServiceAccount to set. * @return This builder for chaining. */ - public Builder setDataprocServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setDataprocServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataprocServiceAccount_ = value; onChanged(); return this; } - private boolean enableRbac_; + private boolean enableRbac_ ; /** - * - * *
      * Option to enable granular role-based access control.
      * 
* * bool enable_rbac = 27; - * * @return The enableRbac. */ @java.lang.Override @@ -6966,36 +6252,30 @@ public boolean getEnableRbac() { return enableRbac_; } /** - * - * *
      * Option to enable granular role-based access control.
      * 
* * bool enable_rbac = 27; - * * @param value The enableRbac to set. * @return This builder for chaining. */ public Builder setEnableRbac(boolean value) { - + enableRbac_ = value; onChanged(); return this; } /** - * - * *
      * Option to enable granular role-based access control.
      * 
* * bool enable_rbac = 27; - * * @return This builder for chaining. */ public Builder clearEnableRbac() { - + enableRbac_ = false; onChanged(); return this; @@ -7003,49 +6283,36 @@ public Builder clearEnableRbac() { private com.google.cloud.datafusion.v1.CryptoKeyConfig cryptoKeyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1.CryptoKeyConfig, - com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder, - com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder> - cryptoKeyConfigBuilder_; + com.google.cloud.datafusion.v1.CryptoKeyConfig, com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder, com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder> cryptoKeyConfigBuilder_; /** - * - * *
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
      * 
* * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28; - * * @return Whether the cryptoKeyConfig field is set. */ public boolean hasCryptoKeyConfig() { return cryptoKeyConfigBuilder_ != null || cryptoKeyConfig_ != null; } /** - * - * *
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
      * 
* * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28; - * * @return The cryptoKeyConfig. */ public com.google.cloud.datafusion.v1.CryptoKeyConfig getCryptoKeyConfig() { if (cryptoKeyConfigBuilder_ == null) { - return cryptoKeyConfig_ == null - ? com.google.cloud.datafusion.v1.CryptoKeyConfig.getDefaultInstance() - : cryptoKeyConfig_; + return cryptoKeyConfig_ == null ? com.google.cloud.datafusion.v1.CryptoKeyConfig.getDefaultInstance() : cryptoKeyConfig_; } else { return cryptoKeyConfigBuilder_.getMessage(); } } /** - * - * *
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -7067,8 +6334,6 @@ public Builder setCryptoKeyConfig(com.google.cloud.datafusion.v1.CryptoKeyConfig
       return this;
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -7088,8 +6353,6 @@ public Builder setCryptoKeyConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -7101,9 +6364,7 @@ public Builder mergeCryptoKeyConfig(com.google.cloud.datafusion.v1.CryptoKeyConf
       if (cryptoKeyConfigBuilder_ == null) {
         if (cryptoKeyConfig_ != null) {
           cryptoKeyConfig_ =
-              com.google.cloud.datafusion.v1.CryptoKeyConfig.newBuilder(cryptoKeyConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.datafusion.v1.CryptoKeyConfig.newBuilder(cryptoKeyConfig_).mergeFrom(value).buildPartial();
         } else {
           cryptoKeyConfig_ = value;
         }
@@ -7115,8 +6376,6 @@ public Builder mergeCryptoKeyConfig(com.google.cloud.datafusion.v1.CryptoKeyConf
       return this;
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -7136,8 +6395,6 @@ public Builder clearCryptoKeyConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -7146,13 +6403,11 @@ public Builder clearCryptoKeyConfig() {
      * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;
      */
     public com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder getCryptoKeyConfigBuilder() {
-
+      
       onChanged();
       return getCryptoKeyConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -7164,14 +6419,11 @@ public com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder getCryptoKeyConfi
       if (cryptoKeyConfigBuilder_ != null) {
         return cryptoKeyConfigBuilder_.getMessageOrBuilder();
       } else {
-        return cryptoKeyConfig_ == null
-            ? com.google.cloud.datafusion.v1.CryptoKeyConfig.getDefaultInstance()
-            : cryptoKeyConfig_;
+        return cryptoKeyConfig_ == null ?
+            com.google.cloud.datafusion.v1.CryptoKeyConfig.getDefaultInstance() : cryptoKeyConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -7180,24 +6432,21 @@ public com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder getCryptoKeyConfi
      * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datafusion.v1.CryptoKeyConfig,
-            com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder,
-            com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder>
+        com.google.cloud.datafusion.v1.CryptoKeyConfig, com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder, com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder> 
         getCryptoKeyConfigFieldBuilder() {
       if (cryptoKeyConfigBuilder_ == null) {
-        cryptoKeyConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datafusion.v1.CryptoKeyConfig,
-                com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder,
-                com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder>(
-                getCryptoKeyConfig(), getParentForChildren(), isClean());
+        cryptoKeyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datafusion.v1.CryptoKeyConfig, com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder, com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder>(
+                getCryptoKeyConfig(),
+                getParentForChildren(),
+                isClean());
         cryptoKeyConfig_ = null;
       }
       return cryptoKeyConfigBuilder_;
     }
 
-    private java.util.List disabledReason_ = java.util.Collections.emptyList();
-
+    private java.util.List disabledReason_ =
+      java.util.Collections.emptyList();
     private void ensureDisabledReasonIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
         disabledReason_ = new java.util.ArrayList(disabledReason_);
@@ -7205,51 +6454,34 @@ private void ensureDisabledReasonIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the disabledReason. */ - public java.util.List - getDisabledReasonList() { + public java.util.List getDisabledReasonList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datafusion.v1.Instance.DisabledReason>( - disabledReason_, disabledReason_converter_); + java.lang.Integer, com.google.cloud.datafusion.v1.Instance.DisabledReason>(disabledReason_, disabledReason_converter_); } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of disabledReason. */ public int getDisabledReasonCount() { return disabledReason_.size(); } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The disabledReason at the given index. */ @@ -7257,16 +6489,11 @@ public com.google.cloud.datafusion.v1.Instance.DisabledReason getDisabledReason( return disabledReason_converter_.convert(disabledReason_.get(index)); } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The disabledReason to set. * @return This builder for chaining. @@ -7282,16 +6509,11 @@ public Builder setDisabledReason( return this; } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The disabledReason to add. * @return This builder for chaining. */ @@ -7305,22 +6527,16 @@ public Builder addDisabledReason(com.google.cloud.datafusion.v1.Instance.Disable return this; } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The disabledReason to add. * @return This builder for chaining. */ public Builder addAllDisabledReason( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureDisabledReasonIsMutable(); for (com.google.cloud.datafusion.v1.Instance.DisabledReason value : values) { disabledReason_.add(value.getNumber()); @@ -7329,16 +6545,11 @@ public Builder addAllDisabledReason( return this; } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearDisabledReason() { @@ -7348,32 +6559,23 @@ public Builder clearDisabledReason() { return this; } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for disabledReason. */ - public java.util.List getDisabledReasonValueList() { + public java.util.List + getDisabledReasonValueList() { return java.util.Collections.unmodifiableList(disabledReason_); } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. */ @@ -7381,37 +6583,28 @@ public int getDisabledReasonValue(int index) { return disabledReason_.get(index); } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. * @return This builder for chaining. */ - public Builder setDisabledReasonValue(int index, int value) { + public Builder setDisabledReasonValue( + int index, int value) { ensureDisabledReasonIsMutable(); disabledReason_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for disabledReason to add. * @return This builder for chaining. */ @@ -7422,20 +6615,16 @@ public Builder addDisabledReasonValue(int value) { return this; } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The enum numeric values on the wire for disabledReason to add. * @return This builder for chaining. */ - public Builder addAllDisabledReasonValue(java.lang.Iterable values) { + public Builder addAllDisabledReasonValue( + java.lang.Iterable values) { ensureDisabledReasonIsMutable(); for (int value : values) { disabledReason_.add(value); @@ -7443,9 +6632,9 @@ public Builder addAllDisabledReasonValue(java.lang.Iterable v 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); } @@ -7455,12 +6644,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.Instance) private static final com.google.cloud.datafusion.v1.Instance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.Instance(); } @@ -7469,16 +6658,16 @@ public static com.google.cloud.datafusion.v1.Instance getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Instance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Instance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Instance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Instance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7493,4 +6682,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceName.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceName.java similarity index 100% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceName.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceName.java diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java similarity index 76% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java index 7bf34e57..7968b94b 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java @@ -1,142 +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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface InstanceOrBuilder - extends +public interface InstanceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.Instance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A description of this instance.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A description of this instance.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. Instance type.
    * 
* - * - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. Instance type.
    * 
* - * - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.datafusion.v1.Instance.Type getType(); /** - * - * *
    * Option to enable Stackdriver Logging.
    * 
* * bool enable_stackdriver_logging = 4; - * * @return The enableStackdriverLogging. */ boolean getEnableStackdriverLogging(); /** - * - * *
    * Option to enable Stackdriver Monitoring.
    * 
* * bool enable_stackdriver_monitoring = 5; - * * @return The enableStackdriverMonitoring. */ boolean getEnableStackdriverMonitoring(); /** - * - * *
    * Specifies whether the Data Fusion instance should be private. If set to
    * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -144,40 +96,31 @@ public interface InstanceOrBuilder
    * 
* * bool private_instance = 6; - * * @return The privateInstance. */ boolean getPrivateInstance(); /** - * - * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1.NetworkConfig network_config = 7; - * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** - * - * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1.NetworkConfig network_config = 7; - * * @return The networkConfig. */ com.google.cloud.datafusion.v1.NetworkConfig getNetworkConfig(); /** - * - * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
@@ -188,8 +131,6 @@ public interface InstanceOrBuilder
   com.google.cloud.datafusion.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -200,8 +141,6 @@ public interface InstanceOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -210,13 +149,15 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 8;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -225,10 +166,9 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 8;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -239,13 +179,11 @@ public interface InstanceOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -254,11 +192,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 8;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -268,8 +206,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getOptionsCount();
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -277,13 +213,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> options = 9;
    */
-  boolean containsOptions(java.lang.String key);
-  /** Use {@link #getOptionsMap()} instead. */
+  boolean containsOptions(
+      java.lang.String key);
+  /**
+   * Use {@link #getOptionsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getOptions();
+  java.util.Map
+  getOptions();
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -291,10 +229,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> options = 9;
    */
-  java.util.Map getOptionsMap();
+  java.util.Map
+  getOptionsMap();
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -304,13 +241,11 @@ java.lang.String getLabelsOrDefault(
    */
 
   /* nullable */
-  java.lang.String getOptionsOrDefault(
+java.lang.String getOptionsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -318,280 +253,212 @@ java.lang.String getOptionsOrDefault(
    *
    * map<string, string> options = 9;
    */
-  java.lang.String getOptionsOrThrow(java.lang.String key);
+
+  java.lang.String getOptionsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. The current state of this Data Fusion instance.
    * 
* - * - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of this Data Fusion instance.
    * 
* - * - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.datafusion.v1.Instance.State getState(); /** - * - * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stateMessage. */ java.lang.String getStateMessage(); /** - * - * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stateMessage. */ - com.google.protobuf.ByteString getStateMessageBytes(); + com.google.protobuf.ByteString + getStateMessageBytes(); /** - * - * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The serviceEndpoint. */ java.lang.String getServiceEndpoint(); /** - * - * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for serviceEndpoint. */ - com.google.protobuf.ByteString getServiceEndpointBytes(); + com.google.protobuf.ByteString + getServiceEndpointBytes(); /** - * - * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; - * * @return The zone. */ java.lang.String getZone(); /** - * - * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; - * * @return The bytes for zone. */ - com.google.protobuf.ByteString getZoneBytes(); + com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Current version of the Data Fusion. Only specifiable in Update.
    * 
* * string version = 16; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Current version of the Data Fusion. Only specifiable in Update.
    * 
* * string version = 16; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1/datafusion.proto;l=361 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1/datafusion.proto;l=361 * @return The serviceAccount. */ - @java.lang.Deprecated - java.lang.String getServiceAccount(); + @java.lang.Deprecated java.lang.String getServiceAccount(); /** - * - * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1/datafusion.proto;l=361 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1/datafusion.proto;l=361 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getServiceAccountBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
    * Display name for an instance.
    * 
* * string display_name = 18; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name for an instance.
    * 
* * string display_name = 18; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -599,10 +466,9 @@ java.lang.String getOptionsOrDefault(
    *
    * repeated .google.cloud.datafusion.v1.Version available_version = 19;
    */
-  java.util.List getAvailableVersionList();
+  java.util.List 
+      getAvailableVersionList();
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -612,8 +478,6 @@ java.lang.String getOptionsOrDefault(
    */
   com.google.cloud.datafusion.v1.Version getAvailableVersion(int index);
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -623,8 +487,6 @@ java.lang.String getOptionsOrDefault(
    */
   int getAvailableVersionCount();
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -632,11 +494,9 @@ java.lang.String getOptionsOrDefault(
    *
    * repeated .google.cloud.datafusion.v1.Version available_version = 19;
    */
-  java.util.List
+  java.util.List 
       getAvailableVersionOrBuilderList();
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -644,71 +504,59 @@ java.lang.String getOptionsOrDefault(
    *
    * repeated .google.cloud.datafusion.v1.Version available_version = 19;
    */
-  com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuilder(int index);
+  com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiEndpoint. */ java.lang.String getApiEndpoint(); /** - * - * *
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiEndpoint. */ - com.google.protobuf.ByteString getApiEndpointBytes(); + com.google.protobuf.ByteString + getApiEndpointBytes(); /** - * - * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The gcsBucket. */ java.lang.String getGcsBucket(); /** - * - * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for gcsBucket. */ - com.google.protobuf.ByteString getGcsBucketBytes(); + com.google.protobuf.ByteString + getGcsBucketBytes(); /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - java.util.List getAcceleratorsList(); + java.util.List + getAcceleratorsList(); /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -717,8 +565,6 @@ java.lang.String getOptionsOrDefault( */ com.google.cloud.datafusion.v1.Accelerator getAccelerators(int index); /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -727,80 +573,65 @@ java.lang.String getOptionsOrDefault( */ int getAcceleratorsCount(); /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - java.util.List + java.util.List getAcceleratorsOrBuilderList(); /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder(int index); + com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder( + int index); /** - * - * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The p4ServiceAccount. */ java.lang.String getP4ServiceAccount(); /** - * - * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for p4ServiceAccount. */ - com.google.protobuf.ByteString getP4ServiceAccountBytes(); + com.google.protobuf.ByteString + getP4ServiceAccountBytes(); /** - * - * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tenantProjectId. */ java.lang.String getTenantProjectId(); /** - * - * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for tenantProjectId. */ - com.google.protobuf.ByteString getTenantProjectIdBytes(); + com.google.protobuf.ByteString + getTenantProjectIdBytes(); /** - * - * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -809,13 +640,10 @@ java.lang.String getOptionsOrDefault(
    * 
* * string dataproc_service_account = 25; - * * @return The dataprocServiceAccount. */ java.lang.String getDataprocServiceAccount(); /** - * - * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -824,53 +652,42 @@ java.lang.String getOptionsOrDefault(
    * 
* * string dataproc_service_account = 25; - * * @return The bytes for dataprocServiceAccount. */ - com.google.protobuf.ByteString getDataprocServiceAccountBytes(); + com.google.protobuf.ByteString + getDataprocServiceAccountBytes(); /** - * - * *
    * Option to enable granular role-based access control.
    * 
* * bool enable_rbac = 27; - * * @return The enableRbac. */ boolean getEnableRbac(); /** - * - * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28; - * * @return Whether the cryptoKeyConfig field is set. */ boolean hasCryptoKeyConfig(); /** - * - * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28; - * * @return The cryptoKeyConfig. */ com.google.cloud.datafusion.v1.CryptoKeyConfig getCryptoKeyConfig(); /** - * - * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
@@ -881,73 +698,49 @@ java.lang.String getOptionsOrDefault(
   com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the disabledReason. */ java.util.List getDisabledReasonList(); /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of disabledReason. */ int getDisabledReasonCount(); /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The disabledReason at the given index. */ com.google.cloud.datafusion.v1.Instance.DisabledReason getDisabledReason(int index); /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for disabledReason. */ - java.util.List getDisabledReasonValueList(); + java.util.List + getDisabledReasonValueList(); /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. */ diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.java similarity index 69% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.java index a94f22f5..c28d78b0 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** - * - * *
  * Request message for the list available versions request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListAvailableVersionsRequest} */ -public final class ListAvailableVersionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAvailableVersionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.ListAvailableVersionsRequest) ListAvailableVersionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAvailableVersionsRequest.newBuilder() to construct. private ListAvailableVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAvailableVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListAvailableVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAvailableVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAvailableVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,37 +54,35 @@ private ListAvailableVersionsRequest( 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 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 32: - { - latestPatchOnly_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 32: { + + latestPatchOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,42 +90,35 @@ private ListAvailableVersionsRequest( } 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.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.class, - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.Builder.class); + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.class, com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * - * 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 +127,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 for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * - * 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,14 +161,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -207,15 +176,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -224,30 +190,30 @@ 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; } } /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @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 { @@ -258,8 +224,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int LATEST_PATCH_ONLY_FIELD_NUMBER = 4; private boolean latestPatchOnly_; /** - * - * *
    * Whether or not to return the latest patch of every available minor version.
    * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -267,7 +231,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * bool latest_patch_only = 4; - * * @return The latestPatchOnly. */ @java.lang.Override @@ -276,7 +239,6 @@ public boolean getLatestPatchOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,7 +250,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_); } @@ -314,13 +277,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (latestPatchOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, latestPatchOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, latestPatchOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -330,18 +295,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.datafusion.v1.ListAvailableVersionsRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest other = - (com.google.cloud.datafusion.v1.ListAvailableVersionsRequest) obj; + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest other = (com.google.cloud.datafusion.v1.ListAvailableVersionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getLatestPatchOnly() != other.getLatestPatchOnly()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getLatestPatchOnly() + != other.getLatestPatchOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -360,134 +328,125 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + LATEST_PATCH_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLatestPatchOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLatestPatchOnly()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1.ListAvailableVersionsRequest 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 message for the list available versions request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListAvailableVersionsRequest} */ - 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.datafusion.v1.ListAvailableVersionsRequest) com.google.cloud.datafusion.v1.ListAvailableVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.class, - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.Builder.class); + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.class, com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.newBuilder() @@ -495,15 +454,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(); @@ -519,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; } @java.lang.Override @@ -540,8 +500,7 @@ public com.google.cloud.datafusion.v1.ListAvailableVersionsRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1.ListAvailableVersionsRequest buildPartial() { - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest result = - new com.google.cloud.datafusion.v1.ListAvailableVersionsRequest(this); + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest result = new com.google.cloud.datafusion.v1.ListAvailableVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -554,39 +513,38 @@ public com.google.cloud.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest) { - return mergeFrom((com.google.cloud.datafusion.v1.ListAvailableVersionsRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1.ListAvailableVersionsRequest)other); } else { super.mergeFrom(other); return this; @@ -594,8 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.ListAvailableVersionsRequest other) { - if (other == com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -629,8 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1.ListAvailableVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1.ListAvailableVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -642,23 +598,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * - * 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; @@ -667,24 +619,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * - * 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 { @@ -692,85 +641,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * - * 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; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -778,36 +711,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @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 items to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -815,21 +742,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -838,22 +763,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @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 { @@ -861,73 +785,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @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; } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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; } - private boolean latestPatchOnly_; + private boolean latestPatchOnly_ ; /** - * - * *
      * Whether or not to return the latest patch of every available minor version.
      * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -935,7 +850,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * bool latest_patch_only = 4; - * * @return The latestPatchOnly. */ @java.lang.Override @@ -943,8 +857,6 @@ public boolean getLatestPatchOnly() { return latestPatchOnly_; } /** - * - * *
      * Whether or not to return the latest patch of every available minor version.
      * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -952,19 +864,16 @@ public boolean getLatestPatchOnly() {
      * 
* * bool latest_patch_only = 4; - * * @param value The latestPatchOnly to set. * @return This builder for chaining. */ public Builder setLatestPatchOnly(boolean value) { - + latestPatchOnly_ = value; onChanged(); return this; } /** - * - * *
      * Whether or not to return the latest patch of every available minor version.
      * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -972,18 +881,17 @@ public Builder setLatestPatchOnly(boolean value) {
      * 
* * bool latest_patch_only = 4; - * * @return This builder for chaining. */ public Builder clearLatestPatchOnly() { - + latestPatchOnly_ = false; 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); } @@ -993,12 +901,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.ListAvailableVersionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.ListAvailableVersionsRequest) private static final com.google.cloud.datafusion.v1.ListAvailableVersionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.ListAvailableVersionsRequest(); } @@ -1007,16 +915,16 @@ public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAvailableVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAvailableVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAvailableVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAvailableVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1031,4 +939,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.datafusion.v1.ListAvailableVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java index 483d5d91..3b64e50e 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java @@ -1,102 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface ListAvailableVersionsRequestOrBuilder - extends +public interface ListAvailableVersionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.ListAvailableVersionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * - * 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 for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * - * 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 maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Whether or not to return the latest patch of every available minor version.
    * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -104,7 +69,6 @@ public interface ListAvailableVersionsRequestOrBuilder
    * 
* * bool latest_patch_only = 4; - * * @return The latestPatchOnly. */ boolean getLatestPatchOnly(); diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.java similarity index 73% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.java index 3320c535..f5367c64 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** - * - * *
  * Response message for the list available versions request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListAvailableVersionsResponse} */ -public final class ListAvailableVersionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAvailableVersionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.ListAvailableVersionsResponse) ListAvailableVersionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAvailableVersionsResponse.newBuilder() to construct. private ListAvailableVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAvailableVersionsResponse() { availableVersions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListAvailableVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAvailableVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAvailableVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListAvailableVersionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - availableVersions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - availableVersions_.add( - input.readMessage( - com.google.cloud.datafusion.v1.Version.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + availableVersions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + availableVersions_.add( + input.readMessage(com.google.cloud.datafusion.v1.Version.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) { @@ -105,7 +84,8 @@ private ListAvailableVersionsResponse( } 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)) { availableVersions_ = java.util.Collections.unmodifiableList(availableVersions_); @@ -114,27 +94,22 @@ private ListAvailableVersionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.class, - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.Builder.class); + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.class, com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.Builder.class); } public static final int AVAILABLE_VERSIONS_FIELD_NUMBER = 1; private java.util.List availableVersions_; /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -146,8 +121,6 @@ public java.util.List getAvailableVersio return availableVersions_; } /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -155,13 +128,11 @@ public java.util.List getAvailableVersio * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAvailableVersionsOrBuilderList() { return availableVersions_; } /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -173,8 +144,6 @@ public int getAvailableVersionsCount() { return availableVersions_.size(); } /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -186,8 +155,6 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersions(int index) { return availableVersions_.get(index); } /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -195,22 +162,20 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersions(int index) { * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ @java.lang.Override - public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBuilder(int index) { + public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBuilder( + int index) { return availableVersions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,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; } } /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,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 < availableVersions_.size(); i++) { output.writeMessage(1, availableVersions_.get(i)); } @@ -280,8 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < availableVersions_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, availableVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, availableVersions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -294,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.datafusion.v1.ListAvailableVersionsResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse other = - (com.google.cloud.datafusion.v1.ListAvailableVersionsResponse) obj; + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse other = (com.google.cloud.datafusion.v1.ListAvailableVersionsResponse) obj; - if (!getAvailableVersionsList().equals(other.getAvailableVersionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAvailableVersionsList() + .equals(other.getAvailableVersionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,127 +293,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1.ListAvailableVersionsResponse 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 message for the list available versions request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListAvailableVersionsResponse} */ - 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.datafusion.v1.ListAvailableVersionsResponse) com.google.cloud.datafusion.v1.ListAvailableVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.class, - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.Builder.class); + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.class, com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.newBuilder() @@ -455,17 +411,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) { getAvailableVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse - getDefaultInstanceForType() { + public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse getDefaultInstanceForType() { return com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.getDefaultInstance(); } @@ -503,8 +458,7 @@ public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse buildPartial() { - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse result = - new com.google.cloud.datafusion.v1.ListAvailableVersionsResponse(this); + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse result = new com.google.cloud.datafusion.v1.ListAvailableVersionsResponse(this); int from_bitField0_ = bitField0_; if (availableVersionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -524,39 +478,38 @@ public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse) { - return mergeFrom((com.google.cloud.datafusion.v1.ListAvailableVersionsResponse) other); + return mergeFrom((com.google.cloud.datafusion.v1.ListAvailableVersionsResponse)other); } else { super.mergeFrom(other); return this; @@ -564,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.ListAvailableVersionsResponse other) { - if (other - == com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.getDefaultInstance()) return this; if (availableVersionsBuilder_ == null) { if (!other.availableVersions_.isEmpty()) { if (availableVersions_.isEmpty()) { @@ -585,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1.ListAvailableVersionsRes availableVersionsBuilder_ = null; availableVersions_ = other.availableVersions_; bitField0_ = (bitField0_ & ~0x00000001); - availableVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAvailableVersionsFieldBuilder() - : null; + availableVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAvailableVersionsFieldBuilder() : null; } else { availableVersionsBuilder_.addAllMessages(other.availableVersions_); } @@ -617,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1.ListAvailableVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1.ListAvailableVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -627,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List availableVersions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAvailableVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - availableVersions_ = - new java.util.ArrayList(availableVersions_); + availableVersions_ = new java.util.ArrayList(availableVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Version, - com.google.cloud.datafusion.v1.Version.Builder, - com.google.cloud.datafusion.v1.VersionOrBuilder> - availableVersionsBuilder_; + com.google.cloud.datafusion.v1.Version, com.google.cloud.datafusion.v1.Version.Builder, com.google.cloud.datafusion.v1.VersionOrBuilder> availableVersionsBuilder_; /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -664,8 +605,6 @@ public java.util.List getAvailableVersio } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -680,8 +619,6 @@ public int getAvailableVersionsCount() { } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -696,15 +633,14 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersions(int index) { } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - public Builder setAvailableVersions(int index, com.google.cloud.datafusion.v1.Version value) { + public Builder setAvailableVersions( + int index, com.google.cloud.datafusion.v1.Version value) { if (availableVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -718,8 +654,6 @@ public Builder setAvailableVersions(int index, com.google.cloud.datafusion.v1.Ve return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -738,8 +672,6 @@ public Builder setAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -760,15 +692,14 @@ public Builder addAvailableVersions(com.google.cloud.datafusion.v1.Version value return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - public Builder addAvailableVersions(int index, com.google.cloud.datafusion.v1.Version value) { + public Builder addAvailableVersions( + int index, com.google.cloud.datafusion.v1.Version value) { if (availableVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -782,8 +713,6 @@ public Builder addAvailableVersions(int index, com.google.cloud.datafusion.v1.Ve return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -802,8 +731,6 @@ public Builder addAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -822,8 +749,6 @@ public Builder addAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -834,7 +759,8 @@ public Builder addAllAvailableVersions( java.lang.Iterable values) { if (availableVersionsBuilder_ == null) { ensureAvailableVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, availableVersions_); onChanged(); } else { availableVersionsBuilder_.addAllMessages(values); @@ -842,8 +768,6 @@ public Builder addAllAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -861,8 +785,6 @@ public Builder clearAvailableVersions() { return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -880,20 +802,17 @@ public Builder removeAvailableVersions(int index) { return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - public com.google.cloud.datafusion.v1.Version.Builder getAvailableVersionsBuilder(int index) { + public com.google.cloud.datafusion.v1.Version.Builder getAvailableVersionsBuilder( + int index) { return getAvailableVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -903,22 +822,19 @@ public com.google.cloud.datafusion.v1.Version.Builder getAvailableVersionsBuilde public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBuilder( int index) { if (availableVersionsBuilder_ == null) { - return availableVersions_.get(index); - } else { + return availableVersions_.get(index); } else { return availableVersionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - public java.util.List - getAvailableVersionsOrBuilderList() { + public java.util.List + getAvailableVersionsOrBuilderList() { if (availableVersionsBuilder_ != null) { return availableVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -926,8 +842,6 @@ public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBui } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -935,47 +849,38 @@ public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBui * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionsBuilder() { - return getAvailableVersionsFieldBuilder() - .addBuilder(com.google.cloud.datafusion.v1.Version.getDefaultInstance()); + return getAvailableVersionsFieldBuilder().addBuilder( + com.google.cloud.datafusion.v1.Version.getDefaultInstance()); } /** - * - * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionsBuilder(int index) { - return getAvailableVersionsFieldBuilder() - .addBuilder(index, com.google.cloud.datafusion.v1.Version.getDefaultInstance()); + public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionsBuilder( + int index) { + return getAvailableVersionsFieldBuilder().addBuilder( + index, com.google.cloud.datafusion.v1.Version.getDefaultInstance()); } /** - * - * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - public java.util.List - getAvailableVersionsBuilderList() { + public java.util.List + getAvailableVersionsBuilderList() { return getAvailableVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Version, - com.google.cloud.datafusion.v1.Version.Builder, - com.google.cloud.datafusion.v1.VersionOrBuilder> + com.google.cloud.datafusion.v1.Version, com.google.cloud.datafusion.v1.Version.Builder, com.google.cloud.datafusion.v1.VersionOrBuilder> getAvailableVersionsFieldBuilder() { if (availableVersionsBuilder_ == null) { - availableVersionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Version, - com.google.cloud.datafusion.v1.Version.Builder, - com.google.cloud.datafusion.v1.VersionOrBuilder>( + availableVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1.Version, com.google.cloud.datafusion.v1.Version.Builder, com.google.cloud.datafusion.v1.VersionOrBuilder>( availableVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -987,21 +892,19 @@ public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionsBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -1010,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1033,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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); } @@ -1107,13 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.ListAvailableVersionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.ListAvailableVersionsResponse) - private static final com.google.cloud.datafusion.v1.ListAvailableVersionsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.datafusion.v1.ListAvailableVersionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.ListAvailableVersionsResponse(); } @@ -1122,16 +1016,16 @@ public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAvailableVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAvailableVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAvailableVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAvailableVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1146,4 +1040,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.java index 31f7ee55..2fdc43e3 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface ListAvailableVersionsResponseOrBuilder - extends +public interface ListAvailableVersionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.ListAvailableVersionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Represents a list of versions that are supported.
    * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - java.util.List getAvailableVersionsList(); + java.util.List + getAvailableVersionsList(); /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -44,8 +25,6 @@ public interface ListAvailableVersionsResponseOrBuilder */ com.google.cloud.datafusion.v1.Version getAvailableVersions(int index); /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -54,51 +33,43 @@ public interface ListAvailableVersionsResponseOrBuilder */ int getAvailableVersionsCount(); /** - * - * *
    * Represents a list of versions that are supported.
    * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - java.util.List + java.util.List getAvailableVersionsOrBuilderList(); /** - * - * *
    * Represents a list of versions that are supported.
    * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBuilder(int index); + com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.java similarity index 70% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.java index aa89752a..d95c37ee 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** - * - * *
  * Request message for listing Data Fusion instances.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListInstancesRequest} */ -public final class ListInstancesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInstancesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.ListInstancesRequest) ListInstancesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInstancesRequest.newBuilder() to construct. private ListInstancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInstancesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListInstancesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListInstancesRequest( 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 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,33 +99,29 @@ private ListInstancesRequest( } 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.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListInstancesRequest.class, - com.google.cloud.datafusion.v1.ListInstancesRequest.Builder.class); + com.google.cloud.datafusion.v1.ListInstancesRequest.class, com.google.cloud.datafusion.v1.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -154,10 +129,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * are queried, and the results are aggregated.
    * 
* - * - * 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 @@ -166,15 +138,14 @@ 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 for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -182,18 +153,17 @@ public java.lang.String getParent() {
    * are queried, and the results are aggregated.
    * 
* - * - * 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 { @@ -204,14 +174,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -222,15 +189,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -239,30 +203,30 @@ 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; } } /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @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,14 +237,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * List filter.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -289,29 +250,29 @@ 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; } } /** - * - * *
    * List filter.
    * 
* * string filter = 4; - * * @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 { @@ -322,14 +283,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -338,29 +296,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** - * - * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -369,7 +327,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +338,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_); } @@ -410,7 +368,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -429,19 +388,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.datafusion.v1.ListInstancesRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.ListInstancesRequest other = - (com.google.cloud.datafusion.v1.ListInstancesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.datafusion.v1.ListInstancesRequest other = (com.google.cloud.datafusion.v1.ListInstancesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -469,126 +432,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.ListInstancesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest 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 message for listing Data Fusion instances.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListInstancesRequest} */ - 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.datafusion.v1.ListInstancesRequest) com.google.cloud.datafusion.v1.ListInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListInstancesRequest.class, - com.google.cloud.datafusion.v1.ListInstancesRequest.Builder.class); + com.google.cloud.datafusion.v1.ListInstancesRequest.class, com.google.cloud.datafusion.v1.ListInstancesRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1.ListInstancesRequest.newBuilder() @@ -596,15 +550,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(); @@ -622,9 +577,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; } @java.lang.Override @@ -643,8 +598,7 @@ public com.google.cloud.datafusion.v1.ListInstancesRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1.ListInstancesRequest buildPartial() { - com.google.cloud.datafusion.v1.ListInstancesRequest result = - new com.google.cloud.datafusion.v1.ListInstancesRequest(this); + com.google.cloud.datafusion.v1.ListInstancesRequest result = new com.google.cloud.datafusion.v1.ListInstancesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -658,39 +612,38 @@ public com.google.cloud.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest) { - return mergeFrom((com.google.cloud.datafusion.v1.ListInstancesRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1.ListInstancesRequest)other); } else { super.mergeFrom(other); return this; @@ -698,8 +651,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.ListInstancesRequest other) { - if (other == com.google.cloud.datafusion.v1.ListInstancesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1.ListInstancesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -738,8 +690,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1.ListInstancesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1.ListInstancesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -751,8 +702,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -760,16 +709,14 @@ public Builder mergeFrom(
      * are queried, and the results are aggregated.
      * 
* - * - * 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; @@ -778,8 +725,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -787,17 +732,16 @@ public java.lang.String getParent() {
      * are queried, and the results are aggregated.
      * 
* - * - * 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 { @@ -805,8 +749,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -814,25 +756,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * are queried, and the results are aggregated.
      * 
* - * - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -840,21 +778,16 @@ public Builder setParent(java.lang.String value) {
      * are queried, and the results are aggregated.
      * 
* - * - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -862,34 +795,29 @@ public Builder clearParent() {
      * are queried, and the results are aggregated.
      * 
* - * - * 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; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -897,36 +825,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @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 items to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -934,21 +856,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -957,22 +877,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @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 { @@ -980,64 +899,57 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @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; } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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; @@ -1045,20 +957,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * List filter.
      * 
* * string filter = 4; - * * @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; @@ -1067,21 +977,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * List filter.
      * 
* * string filter = 4; - * * @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 { @@ -1089,61 +998,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * List filter.
      * 
* * string filter = 4; - * * @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; } /** - * - * *
      * List filter.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * List filter.
      * 
* * string filter = 4; - * * @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; @@ -1151,20 +1053,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1173,21 +1073,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1195,68 +1094,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1266,12 +1158,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.ListInstancesRequest) private static final com.google.cloud.datafusion.v1.ListInstancesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.ListInstancesRequest(); } @@ -1280,16 +1172,16 @@ public static com.google.cloud.datafusion.v1.ListInstancesRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstancesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInstancesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,4 +1196,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.java index 5d7642ce..858b5efa 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface ListInstancesRequestOrBuilder - extends +public interface ListInstancesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.ListInstancesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -33,16 +15,11 @@ public interface ListInstancesRequestOrBuilder
    * are queried, and the results are aggregated.
    * 
* - * - * 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 for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -50,101 +27,81 @@ public interface ListInstancesRequestOrBuilder
    * are queried, and the results are aggregated.
    * 
* - * - * 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 maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * List filter.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * List filter.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.java similarity index 74% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.java index 1d417ccf..eb051c9c 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** - * - * *
  * Response message for the list instance request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListInstancesResponse} */ -public final class ListInstancesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInstancesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.ListInstancesResponse) ListInstancesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInstancesResponse.newBuilder() to construct. private ListInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInstancesResponse() { instances_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListInstancesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListInstancesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private ListInstancesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - instances_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - instances_.add( - input.readMessage( - com.google.cloud.datafusion.v1.Instance.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + instances_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + instances_.add( + input.readMessage(com.google.cloud.datafusion.v1.Instance.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +94,8 @@ private ListInstancesResponse( } 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)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -127,27 +107,22 @@ private ListInstancesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListInstancesResponse.class, - com.google.cloud.datafusion.v1.ListInstancesResponse.Builder.class); + com.google.cloud.datafusion.v1.ListInstancesResponse.class, com.google.cloud.datafusion.v1.ListInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; private java.util.List instances_; /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -159,8 +134,6 @@ public java.util.List getInstancesList( return instances_; } /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -168,13 +141,11 @@ public java.util.List getInstancesList( * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -186,8 +157,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -199,8 +168,6 @@ public com.google.cloud.datafusion.v1.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -208,22 +175,20 @@ public com.google.cloud.datafusion.v1.Instance getInstances(int index) { * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder( + int index) { return instances_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -232,30 +197,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; } } /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -266,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -309,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +291,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 < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -357,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < instances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, instances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, instances_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -378,17 +334,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.datafusion.v1.ListInstancesResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.ListInstancesResponse other = - (com.google.cloud.datafusion.v1.ListInstancesResponse) obj; + com.google.cloud.datafusion.v1.ListInstancesResponse other = (com.google.cloud.datafusion.v1.ListInstancesResponse) obj; - if (!getInstancesList().equals(other.getInstancesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -416,126 +374,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.ListInstancesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse 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 message for the list instance request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListInstancesResponse} */ - 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.datafusion.v1.ListInstancesResponse) com.google.cloud.datafusion.v1.ListInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListInstancesResponse.class, - com.google.cloud.datafusion.v1.ListInstancesResponse.Builder.class); + com.google.cloud.datafusion.v1.ListInstancesResponse.class, com.google.cloud.datafusion.v1.ListInstancesResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1.ListInstancesResponse.newBuilder() @@ -543,17 +492,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) { getInstancesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -571,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; } @java.lang.Override @@ -592,8 +541,7 @@ public com.google.cloud.datafusion.v1.ListInstancesResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1.ListInstancesResponse buildPartial() { - com.google.cloud.datafusion.v1.ListInstancesResponse result = - new com.google.cloud.datafusion.v1.ListInstancesResponse(this); + com.google.cloud.datafusion.v1.ListInstancesResponse result = new com.google.cloud.datafusion.v1.ListInstancesResponse(this); int from_bitField0_ = bitField0_; if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -618,39 +566,38 @@ public com.google.cloud.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse) { - return mergeFrom((com.google.cloud.datafusion.v1.ListInstancesResponse) other); + return mergeFrom((com.google.cloud.datafusion.v1.ListInstancesResponse)other); } else { super.mergeFrom(other); return this; @@ -658,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.ListInstancesResponse other) { - if (other == com.google.cloud.datafusion.v1.ListInstancesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1.ListInstancesResponse.getDefaultInstance()) return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -678,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1.ListInstancesResponse ot instancesBuilder_ = null; instances_ = other.instances_; bitField0_ = (bitField0_ & ~0x00000001); - instancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getInstancesFieldBuilder() - : null; + instancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInstancesFieldBuilder() : null; } else { instancesBuilder_.addAllMessages(other.instances_); } @@ -720,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1.ListInstancesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1.ListInstancesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -730,28 +674,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, - com.google.cloud.datafusion.v1.Instance.Builder, - com.google.cloud.datafusion.v1.InstanceOrBuilder> - instancesBuilder_; + com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder> instancesBuilder_; /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -766,8 +703,6 @@ public java.util.List getInstancesList( } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -782,8 +717,6 @@ public int getInstancesCount() { } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -798,15 +731,14 @@ public com.google.cloud.datafusion.v1.Instance getInstances(int index) { } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public Builder setInstances(int index, com.google.cloud.datafusion.v1.Instance value) { + public Builder setInstances( + int index, com.google.cloud.datafusion.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -820,8 +752,6 @@ public Builder setInstances(int index, com.google.cloud.datafusion.v1.Instance v return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -840,8 +770,6 @@ public Builder setInstances( return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -862,15 +790,14 @@ public Builder addInstances(com.google.cloud.datafusion.v1.Instance value) { return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public Builder addInstances(int index, com.google.cloud.datafusion.v1.Instance value) { + public Builder addInstances( + int index, com.google.cloud.datafusion.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -884,15 +811,14 @@ public Builder addInstances(int index, com.google.cloud.datafusion.v1.Instance v return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public Builder addInstances(com.google.cloud.datafusion.v1.Instance.Builder builderForValue) { + public Builder addInstances( + com.google.cloud.datafusion.v1.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -903,8 +829,6 @@ public Builder addInstances(com.google.cloud.datafusion.v1.Instance.Builder buil return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -923,8 +847,6 @@ public Builder addInstances( return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -935,7 +857,8 @@ public Builder addAllInstances( java.lang.Iterable values) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instances_); onChanged(); } else { instancesBuilder_.addAllMessages(values); @@ -943,8 +866,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -962,8 +883,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -981,44 +900,39 @@ public Builder removeInstances(int index) { return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public com.google.cloud.datafusion.v1.Instance.Builder getInstancesBuilder(int index) { + public com.google.cloud.datafusion.v1.Instance.Builder getInstancesBuilder( + int index) { return getInstancesFieldBuilder().getBuilder(index); } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder( + int index) { if (instancesBuilder_ == null) { - return instances_.get(index); - } else { + return instances_.get(index); } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -1026,8 +940,6 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder(in } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -1035,48 +947,42 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder(in * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ public com.google.cloud.datafusion.v1.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder() - .addBuilder(com.google.cloud.datafusion.v1.Instance.getDefaultInstance()); + return getInstancesFieldBuilder().addBuilder( + com.google.cloud.datafusion.v1.Instance.getDefaultInstance()); } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public com.google.cloud.datafusion.v1.Instance.Builder addInstancesBuilder(int index) { - return getInstancesFieldBuilder() - .addBuilder(index, com.google.cloud.datafusion.v1.Instance.getDefaultInstance()); + public com.google.cloud.datafusion.v1.Instance.Builder addInstancesBuilder( + int index) { + return getInstancesFieldBuilder().addBuilder( + index, com.google.cloud.datafusion.v1.Instance.getDefaultInstance()); } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, - com.google.cloud.datafusion.v1.Instance.Builder, - com.google.cloud.datafusion.v1.InstanceOrBuilder> + com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, - com.google.cloud.datafusion.v1.Instance.Builder, - com.google.cloud.datafusion.v1.InstanceOrBuilder>( - instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder>( + instances_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); instances_ = null; } return instancesBuilder_; @@ -1084,21 +990,19 @@ public com.google.cloud.datafusion.v1.Instance.Builder addInstancesBuilder(int i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -1107,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1130,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1246,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1339,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.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); } @@ -1372,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.ListInstancesResponse) private static final com.google.cloud.datafusion.v1.ListInstancesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.ListInstancesResponse(); } @@ -1386,16 +1260,16 @@ public static com.google.cloud.datafusion.v1.ListInstancesResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstancesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInstancesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1410,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.java similarity index 72% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.java index bf16d9c9..b7ed684c 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface ListInstancesResponseOrBuilder - extends +public interface ListInstancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -44,8 +25,6 @@ public interface ListInstancesResponseOrBuilder */ com.google.cloud.datafusion.v1.Instance getInstances(int index); /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -54,102 +33,84 @@ public interface ListInstancesResponseOrBuilder */ int getInstancesCount(); /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder(int index); + com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/LocationName.java similarity index 100% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/LocationName.java diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.java similarity index 73% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.java index 39ffeb40..febbf901 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** - * - * *
  * Network configuration for a Data Fusion instance. These configurations
  * are used for peering with the customer network. Configurations are optional
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1.NetworkConfig}
  */
-public final class NetworkConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NetworkConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.NetworkConfig)
     NetworkConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NetworkConfig.newBuilder() to construct.
   private NetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NetworkConfig() {
     network_ = "";
     ipAllocation_ = "";
@@ -49,15 +31,16 @@ private NetworkConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NetworkConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NetworkConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,27 +59,25 @@ private NetworkConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              network_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            network_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              ipAllocation_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            ipAllocation_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,33 +85,29 @@ private NetworkConfig(
     } 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.datafusion.v1.Datafusion
-        .internal_static_google_cloud_datafusion_v1_NetworkConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_NetworkConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1.Datafusion
-        .internal_static_google_cloud_datafusion_v1_NetworkConfig_fieldAccessorTable
+    return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_NetworkConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1.NetworkConfig.class,
-            com.google.cloud.datafusion.v1.NetworkConfig.Builder.class);
+            com.google.cloud.datafusion.v1.NetworkConfig.class, com.google.cloud.datafusion.v1.NetworkConfig.Builder.class);
   }
 
   public static final int NETWORK_FIELD_NUMBER = 1;
   private volatile java.lang.Object network_;
   /**
-   *
-   *
    * 
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -139,7 +116,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string network = 1; - * * @return The network. */ @java.lang.Override @@ -148,15 +124,14 @@ public java.lang.String getNetwork() { 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(); network_ = s; return s; } } /** - * - * *
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -165,15 +140,16 @@ public java.lang.String getNetwork() {
    * 
* * string network = 1; - * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; 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); network_ = b; return b; } else { @@ -184,8 +160,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int IP_ALLOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object ipAllocation_; /** - * - * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the
@@ -193,7 +167,6 @@ public com.google.protobuf.ByteString getNetworkBytes() {
    * 
* * string ip_allocation = 2; - * * @return The ipAllocation. */ @java.lang.Override @@ -202,15 +175,14 @@ public java.lang.String getIpAllocation() { 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(); ipAllocation_ = s; return s; } } /** - * - * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the
@@ -218,15 +190,16 @@ public java.lang.String getIpAllocation() {
    * 
* * string ip_allocation = 2; - * * @return The bytes for ipAllocation. */ @java.lang.Override - public com.google.protobuf.ByteString getIpAllocationBytes() { + public com.google.protobuf.ByteString + getIpAllocationBytes() { java.lang.Object ref = ipAllocation_; 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); ipAllocation_ = b; return b; } else { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getIpAllocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,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(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -277,16 +250,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.datafusion.v1.NetworkConfig)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.NetworkConfig other = - (com.google.cloud.datafusion.v1.NetworkConfig) obj; + com.google.cloud.datafusion.v1.NetworkConfig other = (com.google.cloud.datafusion.v1.NetworkConfig) obj; - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getIpAllocation().equals(other.getIpAllocation())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getIpAllocation() + .equals(other.getIpAllocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1.NetworkConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1.NetworkConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.NetworkConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1.NetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.NetworkConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig 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; } /** - * - * *
    * Network configuration for a Data Fusion instance. These configurations
    * are used for peering with the customer network. Configurations are optional
@@ -416,23 +383,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datafusion.v1.NetworkConfig}
    */
-  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.datafusion.v1.NetworkConfig)
       com.google.cloud.datafusion.v1.NetworkConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datafusion.v1.Datafusion
-          .internal_static_google_cloud_datafusion_v1_NetworkConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_NetworkConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1.Datafusion
-          .internal_static_google_cloud_datafusion_v1_NetworkConfig_fieldAccessorTable
+      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_NetworkConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1.NetworkConfig.class,
-              com.google.cloud.datafusion.v1.NetworkConfig.Builder.class);
+              com.google.cloud.datafusion.v1.NetworkConfig.class, com.google.cloud.datafusion.v1.NetworkConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1.NetworkConfig.newBuilder()
@@ -440,15 +405,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();
@@ -460,9 +426,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datafusion.v1.Datafusion
-          .internal_static_google_cloud_datafusion_v1_NetworkConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_NetworkConfig_descriptor;
     }
 
     @java.lang.Override
@@ -481,8 +447,7 @@ public com.google.cloud.datafusion.v1.NetworkConfig build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1.NetworkConfig buildPartial() {
-      com.google.cloud.datafusion.v1.NetworkConfig result =
-          new com.google.cloud.datafusion.v1.NetworkConfig(this);
+      com.google.cloud.datafusion.v1.NetworkConfig result = new com.google.cloud.datafusion.v1.NetworkConfig(this);
       result.network_ = network_;
       result.ipAllocation_ = ipAllocation_;
       onBuilt();
@@ -493,39 +458,38 @@ public com.google.cloud.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig) {
-        return mergeFrom((com.google.cloud.datafusion.v1.NetworkConfig) other);
+        return mergeFrom((com.google.cloud.datafusion.v1.NetworkConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -573,8 +537,6 @@ public Builder mergeFrom(
 
     private java.lang.Object network_ = "";
     /**
-     *
-     *
      * 
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -583,13 +545,13 @@ public Builder mergeFrom(
      * 
* * string network = 1; - * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; 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(); network_ = s; return s; @@ -598,8 +560,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -608,14 +568,15 @@ public java.lang.String getNetwork() {
      * 
* * string network = 1; - * * @return The bytes for network. */ - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; 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); network_ = b; return b; } else { @@ -623,8 +584,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -633,22 +592,20 @@ public com.google.protobuf.ByteString getNetworkBytes() {
      * 
* * string network = 1; - * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork(java.lang.String value) { + public Builder setNetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** - * - * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -657,18 +614,15 @@ public Builder setNetwork(java.lang.String value) {
      * 
* * string network = 1; - * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** - * - * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -677,16 +631,16 @@ public Builder clearNetwork() {
      * 
* * string network = 1; - * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -694,8 +648,6 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object ipAllocation_ = ""; /** - * - * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the
@@ -703,13 +655,13 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
      * 
* * string ip_allocation = 2; - * * @return The ipAllocation. */ public java.lang.String getIpAllocation() { java.lang.Object ref = ipAllocation_; 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(); ipAllocation_ = s; return s; @@ -718,8 +670,6 @@ public java.lang.String getIpAllocation() { } } /** - * - * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the
@@ -727,14 +677,15 @@ public java.lang.String getIpAllocation() {
      * 
* * string ip_allocation = 2; - * * @return The bytes for ipAllocation. */ - public com.google.protobuf.ByteString getIpAllocationBytes() { + public com.google.protobuf.ByteString + getIpAllocationBytes() { java.lang.Object ref = ipAllocation_; 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); ipAllocation_ = b; return b; } else { @@ -742,8 +693,6 @@ public com.google.protobuf.ByteString getIpAllocationBytes() { } } /** - * - * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the
@@ -751,22 +700,20 @@ public com.google.protobuf.ByteString getIpAllocationBytes() {
      * 
* * string ip_allocation = 2; - * * @param value The ipAllocation to set. * @return This builder for chaining. */ - public Builder setIpAllocation(java.lang.String value) { + public Builder setIpAllocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipAllocation_ = value; onChanged(); return this; } /** - * - * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the
@@ -774,18 +721,15 @@ public Builder setIpAllocation(java.lang.String value) {
      * 
* * string ip_allocation = 2; - * * @return This builder for chaining. */ public Builder clearIpAllocation() { - + ipAllocation_ = getDefaultInstance().getIpAllocation(); onChanged(); return this; } /** - * - * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the
@@ -793,23 +737,23 @@ public Builder clearIpAllocation() {
      * 
* * string ip_allocation = 2; - * * @param value The bytes for ipAllocation to set. * @return This builder for chaining. */ - public Builder setIpAllocationBytes(com.google.protobuf.ByteString value) { + public Builder setIpAllocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipAllocation_ = 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 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.NetworkConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.NetworkConfig) private static final com.google.cloud.datafusion.v1.NetworkConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.NetworkConfig(); } @@ -833,16 +777,16 @@ public static com.google.cloud.datafusion.v1.NetworkConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NetworkConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetworkConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -857,4 +801,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.NetworkConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.java similarity index 68% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.java index c820cf58..79022038 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface NetworkConfigOrBuilder - extends +public interface NetworkConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.NetworkConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -34,13 +16,10 @@ public interface NetworkConfigOrBuilder
    * 
* * string network = 1; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -49,14 +28,12 @@ public interface NetworkConfigOrBuilder
    * 
* * string network = 1; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the
@@ -64,13 +41,10 @@ public interface NetworkConfigOrBuilder
    * 
* * string ip_allocation = 2; - * * @return The ipAllocation. */ java.lang.String getIpAllocation(); /** - * - * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the
@@ -78,8 +52,8 @@ public interface NetworkConfigOrBuilder
    * 
* * string ip_allocation = 2; - * * @return The bytes for ipAllocation. */ - com.google.protobuf.ByteString getIpAllocationBytes(); + com.google.protobuf.ByteString + getIpAllocationBytes(); } diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.java similarity index 70% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.java index 3cfa399d..8c40b5f2 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** - * - * *
  * Represents the metadata of a long-running operation.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.OperationMetadata} */ -public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -46,15 +28,16 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,93 +57,81 @@ private OperationMetadata( case 0: done = true; break; - case 10: - { - 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 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - 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; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - target_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - statusDetail_ = s; - break; - } - case 48: - { - requestedCancellation_ = input.readBool(); - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - case 66: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - additionalStatus_ = - com.google.protobuf.MapField.newMapField( - AdditionalStatusDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry additionalStatus__ = - input.readMessage( - AdditionalStatusDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - additionalStatus_ - .getMutableMap() - .put(additionalStatus__.getKey(), additionalStatus__.getValue()); - break; + target_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + verb_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + statusDetail_ = s; + break; + } + case 48: { + + requestedCancellation_ = input.readBool(); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + apiVersion_ = s; + break; + } + case 66: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + additionalStatus_ = com.google.protobuf.MapField.newMapField( + AdditionalStatusDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + additionalStatus__ = input.readMessage( + AdditionalStatusDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + additionalStatus_.getMutableMap().put( + additionalStatus__.getKey(), additionalStatus__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -168,50 +139,46 @@ private OperationMetadata( } 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.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_OperationMetadata_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 8: return internalGetAdditionalStatus(); 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.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.OperationMetadata.class, - com.google.cloud.datafusion.v1.OperationMetadata.Builder.class); + com.google.cloud.datafusion.v1.OperationMetadata.class, com.google.cloud.datafusion.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -219,14 +186,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ @java.lang.Override @@ -234,8 +198,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the operation was created.
    * 
@@ -250,14 +212,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -265,14 +224,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -280,8 +236,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation finished running.
    * 
@@ -296,14 +250,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The target. */ @java.lang.Override @@ -312,29 +263,29 @@ public java.lang.String getTarget() { 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(); target_ = s; return s; } } /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -345,14 +296,11 @@ public com.google.protobuf.ByteString getTargetBytes() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ @java.lang.Override @@ -361,29 +309,29 @@ public java.lang.String getVerb() { 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(); verb_ = s; return s; } } /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -394,14 +342,11 @@ public com.google.protobuf.ByteString getVerbBytes() { public static final int STATUS_DETAIL_FIELD_NUMBER = 5; private volatile java.lang.Object statusDetail_; /** - * - * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; - * * @return The statusDetail. */ @java.lang.Override @@ -410,29 +355,29 @@ public java.lang.String getStatusDetail() { 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(); statusDetail_ = s; return s; } } /** - * - * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; 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); statusDetail_ = b; return b; } else { @@ -443,8 +388,6 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_; /** - * - * *
    * Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -453,7 +396,6 @@ public com.google.protobuf.ByteString getStatusDetailBytes() {
    * 
* * bool requested_cancellation = 6; - * * @return The requestedCancellation. */ @java.lang.Override @@ -464,14 +406,11 @@ public boolean getRequestedCancellation() { public static final int API_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object apiVersion_; /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 7; - * * @return The apiVersion. */ @java.lang.Override @@ -480,29 +419,29 @@ public java.lang.String getApiVersion() { 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(); apiVersion_ = s; return s; } } /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -511,22 +450,21 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } public static final int ADDITIONAL_STATUS_FIELD_NUMBER = 8; - private static final class AdditionalStatusDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_OperationMetadata_AdditionalStatusEntry_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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_OperationMetadata_AdditionalStatusEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField additionalStatus_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> additionalStatus_; private com.google.protobuf.MapField - internalGetAdditionalStatus() { + internalGetAdditionalStatus() { if (additionalStatus_ == null) { return com.google.protobuf.MapField.emptyMapField( AdditionalStatusDefaultEntryHolder.defaultEntry); @@ -538,8 +476,6 @@ public int getAdditionalStatusCount() { return internalGetAdditionalStatus().getMap().size(); } /** - * - * *
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -549,22 +485,22 @@ public int getAdditionalStatusCount() {
    *
    * map<string, string> additional_status = 8;
    */
+
   @java.lang.Override
-  public boolean containsAdditionalStatus(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAdditionalStatus(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAdditionalStatus().getMap().containsKey(key);
   }
-  /** Use {@link #getAdditionalStatusMap()} instead. */
+  /**
+   * Use {@link #getAdditionalStatusMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAdditionalStatus() {
     return getAdditionalStatusMap();
   }
   /**
-   *
-   *
    * 
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -575,12 +511,11 @@ public java.util.Map getAdditionalStatus() {
    * map<string, string> additional_status = 8;
    */
   @java.lang.Override
+
   public java.util.Map getAdditionalStatusMap() {
     return internalGetAdditionalStatus().getMap();
   }
   /**
-   *
-   *
    * 
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -591,17 +526,16 @@ public java.util.Map getAdditionalStatusMap(
    * map<string, string> additional_status = 8;
    */
   @java.lang.Override
+
   public java.lang.String getAdditionalStatusOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAdditionalStatus().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAdditionalStatus().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -612,11 +546,12 @@ public java.lang.String getAdditionalStatusOrDefault(
    * map<string, string> additional_status = 8;
    */
   @java.lang.Override
-  public java.lang.String getAdditionalStatusOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAdditionalStatus().getMap();
+
+  public java.lang.String getAdditionalStatusOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAdditionalStatus().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -624,7 +559,6 @@ public java.lang.String getAdditionalStatusOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -636,7 +570,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 (createTime_ != null) {
       output.writeMessage(1, getCreateTime());
     }
@@ -658,8 +593,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 7, apiVersion_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetAdditionalStatus(), AdditionalStatusDefaultEntryHolder.defaultEntry, 8);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetAdditionalStatus(),
+        AdditionalStatusDefaultEntryHolder.defaultEntry,
+        8);
     unknownFields.writeTo(output);
   }
 
@@ -670,10 +609,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getCreateTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_);
@@ -685,20 +626,21 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusDetail_);
     }
     if (requestedCancellation_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(6, requestedCancellation_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetAdditionalStatus().getMap().entrySet()) {
-      com.google.protobuf.MapEntry additionalStatus__ =
-          AdditionalStatusDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, additionalStatus__);
+    for (java.util.Map.Entry entry
+         : internalGetAdditionalStatus().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      additionalStatus__ = AdditionalStatusDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(8, additionalStatus__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -708,28 +650,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.datafusion.v1.OperationMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.datafusion.v1.OperationMetadata other =
-        (com.google.cloud.datafusion.v1.OperationMetadata) obj;
+    com.google.cloud.datafusion.v1.OperationMetadata other = (com.google.cloud.datafusion.v1.OperationMetadata) obj;
 
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime().equals(other.getCreateTime())) return false;
+      if (!getCreateTime()
+          .equals(other.getCreateTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
-    }
-    if (!getTarget().equals(other.getTarget())) return false;
-    if (!getVerb().equals(other.getVerb())) return false;
-    if (!getStatusDetail().equals(other.getStatusDetail())) return false;
-    if (getRequestedCancellation() != other.getRequestedCancellation()) return false;
-    if (!getApiVersion().equals(other.getApiVersion())) return false;
-    if (!internalGetAdditionalStatus().equals(other.internalGetAdditionalStatus())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
+    }
+    if (!getTarget()
+        .equals(other.getTarget())) return false;
+    if (!getVerb()
+        .equals(other.getVerb())) return false;
+    if (!getStatusDetail()
+        .equals(other.getStatusDetail())) return false;
+    if (getRequestedCancellation()
+        != other.getRequestedCancellation()) return false;
+    if (!getApiVersion()
+        .equals(other.getApiVersion())) return false;
+    if (!internalGetAdditionalStatus().equals(
+        other.internalGetAdditionalStatus())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -756,7 +705,8 @@ public int hashCode() {
     hash = (37 * hash) + STATUS_DETAIL_FIELD_NUMBER;
     hash = (53 * hash) + getStatusDetail().hashCode();
     hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getRequestedCancellation());
     hash = (37 * hash) + API_VERSION_FIELD_NUMBER;
     hash = (53 * hash) + getApiVersion().hashCode();
     if (!internalGetAdditionalStatus().getMap().isEmpty()) {
@@ -768,147 +718,140 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.datafusion.v1.OperationMetadata parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.datafusion.v1.OperationMetadata parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datafusion.v1.OperationMetadata 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.datafusion.v1.OperationMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datafusion.v1.OperationMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datafusion.v1.OperationMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datafusion.v1.OperationMetadata 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.datafusion.v1.OperationMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datafusion.v1.OperationMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datafusion.v1.OperationMetadata 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.datafusion.v1.OperationMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datafusion.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datafusion.v1.OperationMetadata 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.datafusion.v1.OperationMetadata 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.datafusion.v1.OperationMetadata 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.datafusion.v1.OperationMetadata 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 metadata of a long-running operation.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.OperationMetadata} */ - 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.datafusion.v1.OperationMetadata) com.google.cloud.datafusion.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_OperationMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 8: return internalGetAdditionalStatus(); 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 8: return internalGetMutableAdditionalStatus(); 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.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.OperationMetadata.class, - com.google.cloud.datafusion.v1.OperationMetadata.Builder.class); + com.google.cloud.datafusion.v1.OperationMetadata.class, com.google.cloud.datafusion.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.datafusion.v1.OperationMetadata.newBuilder() @@ -916,15 +859,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(); @@ -955,9 +899,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -976,8 +920,7 @@ public com.google.cloud.datafusion.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.datafusion.v1.OperationMetadata buildPartial() { - com.google.cloud.datafusion.v1.OperationMetadata result = - new com.google.cloud.datafusion.v1.OperationMetadata(this); + com.google.cloud.datafusion.v1.OperationMetadata result = new com.google.cloud.datafusion.v1.OperationMetadata(this); int from_bitField0_ = bitField0_; if (createTimeBuilder_ == null) { result.createTime_ = createTime_; @@ -1004,39 +947,38 @@ public com.google.cloud.datafusion.v1.OperationMetadata 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.datafusion.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.datafusion.v1.OperationMetadata) other); + return mergeFrom((com.google.cloud.datafusion.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -1044,8 +986,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.OperationMetadata other) { - if (other == com.google.cloud.datafusion.v1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -1071,7 +1012,8 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1.OperationMetadata other) apiVersion_ = other.apiVersion_; onChanged(); } - internalGetMutableAdditionalStatus().mergeFrom(other.internalGetAdditionalStatus()); + internalGetMutableAdditionalStatus().mergeFrom( + other.internalGetAdditionalStatus()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1100,52 +1042,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; 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_; /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @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(); } } /** - * - * *
      * The time the operation was created.
      * 
@@ -1166,15 +1094,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - 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(); @@ -1185,8 +1112,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1197,7 +1122,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; } @@ -1209,8 +1134,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1229,8 +1152,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1238,13 +1159,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation was created.
      * 
@@ -1255,14 +1174,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_; } } /** - * - * *
      * The time the operation was created.
      * 
@@ -1270,17 +1186,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ 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_; @@ -1288,33 +1201,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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_; /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1325,8 +1229,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1347,15 +1249,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - 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(); @@ -1366,8 +1267,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1378,7 +1277,7 @@ 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; } @@ -1390,8 +1289,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1410,8 +1307,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1419,13 +1314,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1436,12 +1329,11 @@ 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_; } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1449,17 +1341,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ 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_; @@ -1467,20 +1356,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; 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(); target_ = s; return s; @@ -1489,21 +1376,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -1511,61 +1397,54 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { + public Builder setTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1573,20 +1452,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; 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(); verb_ = s; return s; @@ -1595,21 +1472,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -1617,61 +1493,54 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { + public Builder setVerb( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1679,20 +1548,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusDetail_ = ""; /** - * - * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; - * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; 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(); statusDetail_ = s; return s; @@ -1701,21 +1568,20 @@ public java.lang.String getStatusDetail() { } } /** - * - * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; 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); statusDetail_ = b; return b; } else { @@ -1723,70 +1589,61 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { } } /** - * - * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; - * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail(java.lang.String value) { + public Builder setStatusDetail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusDetail_ = value; onChanged(); return this; } /** - * - * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; - * * @return This builder for chaining. */ public Builder clearStatusDetail() { - + statusDetail_ = getDefaultInstance().getStatusDetail(); onChanged(); return this; } /** - * - * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; - * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { + public Builder setStatusDetailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusDetail_ = value; onChanged(); return this; } - private boolean requestedCancellation_; + private boolean requestedCancellation_ ; /** - * - * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1795,7 +1652,6 @@ public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) {
      * 
* * bool requested_cancellation = 6; - * * @return The requestedCancellation. */ @java.lang.Override @@ -1803,8 +1659,6 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1813,19 +1667,16 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6; - * * @param value The requestedCancellation to set. * @return This builder for chaining. */ public Builder setRequestedCancellation(boolean value) { - + requestedCancellation_ = value; onChanged(); return this; } /** - * - * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1834,11 +1685,10 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1846,20 +1696,18 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1868,21 +1716,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1890,85 +1737,75 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { + public Builder setApiVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = value; onChanged(); return this; } - private com.google.protobuf.MapField additionalStatus_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> additionalStatus_; private com.google.protobuf.MapField - internalGetAdditionalStatus() { + internalGetAdditionalStatus() { if (additionalStatus_ == null) { return com.google.protobuf.MapField.emptyMapField( AdditionalStatusDefaultEntryHolder.defaultEntry); } return additionalStatus_; } - private com.google.protobuf.MapField - internalGetMutableAdditionalStatus() { - onChanged(); - ; + internalGetMutableAdditionalStatus() { + onChanged();; if (additionalStatus_ == null) { - additionalStatus_ = - com.google.protobuf.MapField.newMapField( - AdditionalStatusDefaultEntryHolder.defaultEntry); + additionalStatus_ = com.google.protobuf.MapField.newMapField( + AdditionalStatusDefaultEntryHolder.defaultEntry); } if (!additionalStatus_.isMutable()) { additionalStatus_ = additionalStatus_.copy(); @@ -1980,8 +1817,6 @@ public int getAdditionalStatusCount() { return internalGetAdditionalStatus().getMap().size(); } /** - * - * *
      * Map to hold any additional status info for the operation
      * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -1991,22 +1826,22 @@ public int getAdditionalStatusCount() {
      *
      * map<string, string> additional_status = 8;
      */
+
     @java.lang.Override
-    public boolean containsAdditionalStatus(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAdditionalStatus(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAdditionalStatus().getMap().containsKey(key);
     }
-    /** Use {@link #getAdditionalStatusMap()} instead. */
+    /**
+     * Use {@link #getAdditionalStatusMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAdditionalStatus() {
       return getAdditionalStatusMap();
     }
     /**
-     *
-     *
      * 
      * Map to hold any additional status info for the operation
      * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -2017,12 +1852,11 @@ public java.util.Map getAdditionalStatus() {
      * map<string, string> additional_status = 8;
      */
     @java.lang.Override
+
     public java.util.Map getAdditionalStatusMap() {
       return internalGetAdditionalStatus().getMap();
     }
     /**
-     *
-     *
      * 
      * Map to hold any additional status info for the operation
      * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -2033,18 +1867,16 @@ public java.util.Map getAdditionalStatusMap(
      * map<string, string> additional_status = 8;
      */
     @java.lang.Override
+
     public java.lang.String getAdditionalStatusOrDefault(
-        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 =
           internalGetAdditionalStatus().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Map to hold any additional status info for the operation
      * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -2055,10 +1887,10 @@ public java.lang.String getAdditionalStatusOrDefault(
      * map<string, string> additional_status = 8;
      */
     @java.lang.Override
-    public java.lang.String getAdditionalStatusOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+
+    public java.lang.String getAdditionalStatusOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetAdditionalStatus().getMap();
       if (!map.containsKey(key)) {
@@ -2068,12 +1900,11 @@ public java.lang.String getAdditionalStatusOrThrow(java.lang.String key) {
     }
 
     public Builder clearAdditionalStatus() {
-      internalGetMutableAdditionalStatus().getMutableMap().clear();
+      internalGetMutableAdditionalStatus().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map to hold any additional status info for the operation
      * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -2083,21 +1914,23 @@ public Builder clearAdditionalStatus() {
      *
      * map<string, string> additional_status = 8;
      */
-    public Builder removeAdditionalStatus(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAdditionalStatus().getMutableMap().remove(key);
+
+    public Builder removeAdditionalStatus(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAdditionalStatus().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAdditionalStatus() {
+    public java.util.Map
+    getMutableAdditionalStatus() {
       return internalGetMutableAdditionalStatus().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map to hold any additional status info for the operation
      * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -2107,20 +1940,19 @@ public java.util.Map getMutableAdditionalSta
      *
      * map<string, string> additional_status = 8;
      */
-    public Builder putAdditionalStatus(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putAdditionalStatus(
+        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");
+}
 
-      internalGetMutableAdditionalStatus().getMutableMap().put(key, value);
+      internalGetMutableAdditionalStatus().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Map to hold any additional status info for the operation
      * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -2130,14 +1962,16 @@ public Builder putAdditionalStatus(java.lang.String key, java.lang.String value)
      *
      * map<string, string> additional_status = 8;
      */
+
     public Builder putAllAdditionalStatus(
         java.util.Map values) {
-      internalGetMutableAdditionalStatus().getMutableMap().putAll(values);
+      internalGetMutableAdditionalStatus().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);
     }
 
@@ -2147,12 +1981,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.OperationMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.OperationMetadata)
   private static final com.google.cloud.datafusion.v1.OperationMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.OperationMetadata();
   }
@@ -2161,16 +1995,16 @@ public static com.google.cloud.datafusion.v1.OperationMetadata getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public OperationMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new OperationMetadata(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public OperationMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new OperationMetadata(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2185,4 +2019,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datafusion.v1.OperationMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.java
similarity index 77%
rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.java
index 6cd241c5..ae2423a2 100644
--- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.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/datafusion/v1/datafusion.proto
 
 package com.google.cloud.datafusion.v1;
 
-public interface OperationMetadataOrBuilder
-    extends
+public interface OperationMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.OperationMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
@@ -59,32 +35,24 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
@@ -94,83 +62,66 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; - * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** - * - * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString getStatusDetailBytes(); + com.google.protobuf.ByteString + getStatusDetailBytes(); /** - * - * *
    * Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -179,39 +130,31 @@ public interface OperationMetadataOrBuilder
    * 
* * bool requested_cancellation = 6; - * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 7; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); /** - * - * *
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -223,8 +166,6 @@ public interface OperationMetadataOrBuilder
    */
   int getAdditionalStatusCount();
   /**
-   *
-   *
    * 
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -234,13 +175,15 @@ public interface OperationMetadataOrBuilder
    *
    * map<string, string> additional_status = 8;
    */
-  boolean containsAdditionalStatus(java.lang.String key);
-  /** Use {@link #getAdditionalStatusMap()} instead. */
+  boolean containsAdditionalStatus(
+      java.lang.String key);
+  /**
+   * Use {@link #getAdditionalStatusMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAdditionalStatus();
+  java.util.Map
+  getAdditionalStatus();
   /**
-   *
-   *
    * 
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -250,10 +193,9 @@ public interface OperationMetadataOrBuilder
    *
    * map<string, string> additional_status = 8;
    */
-  java.util.Map getAdditionalStatusMap();
+  java.util.Map
+  getAdditionalStatusMap();
   /**
-   *
-   *
    * 
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -265,13 +207,11 @@ public interface OperationMetadataOrBuilder
    */
 
   /* nullable */
-  java.lang.String getAdditionalStatusOrDefault(
+java.lang.String getAdditionalStatusOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -281,5 +221,7 @@ java.lang.String getAdditionalStatusOrDefault(
    *
    * map<string, string> additional_status = 8;
    */
-  java.lang.String getAdditionalStatusOrThrow(java.lang.String key);
+
+  java.lang.String getAdditionalStatusOrThrow(
+      java.lang.String key);
 }
diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.java
similarity index 65%
rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.java
index 191ed565..3af6fa64 100644
--- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.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/datafusion/v1/datafusion.proto
 
 package com.google.cloud.datafusion.v1;
 
 /**
- *
- *
  * 
  * Request message for restarting a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.RestartInstanceRequest} */ -public final class RestartInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RestartInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.RestartInstanceRequest) RestartInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RestartInstanceRequest.newBuilder() to construct. private RestartInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RestartInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RestartInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RestartInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private RestartInstanceRequest( 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 RestartInstanceRequest( } 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.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.RestartInstanceRequest.class, - com.google.cloud.datafusion.v1.RestartInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.RestartInstanceRequest.class, com.google.cloud.datafusion.v1.RestartInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * - * 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. Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * - * 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.datafusion.v1.RestartInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.RestartInstanceRequest other = - (com.google.cloud.datafusion.v1.RestartInstanceRequest) obj; + com.google.cloud.datafusion.v1.RestartInstanceRequest other = (com.google.cloud.datafusion.v1.RestartInstanceRequest) 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,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1.RestartInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.RestartInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1.RestartInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1.RestartInstanceRequest 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 message for restarting a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.RestartInstanceRequest} */ - 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.datafusion.v1.RestartInstanceRequest) com.google.cloud.datafusion.v1.RestartInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.RestartInstanceRequest.class, - com.google.cloud.datafusion.v1.RestartInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.RestartInstanceRequest.class, com.google.cloud.datafusion.v1.RestartInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1.RestartInstanceRequest.newBuilder() @@ -361,15 +324,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(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion - .internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.datafusion.v1.RestartInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1.RestartInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1.RestartInstanceRequest result = - new com.google.cloud.datafusion.v1.RestartInstanceRequest(this); + com.google.cloud.datafusion.v1.RestartInstanceRequest result = new com.google.cloud.datafusion.v1.RestartInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1.RestartInstanceRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1.RestartInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.RestartInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1.RestartInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1.RestartInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1.RestartInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1.RestartInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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 { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.RestartInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.RestartInstanceRequest) private static final com.google.cloud.datafusion.v1.RestartInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.RestartInstanceRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.datafusion.v1.RestartInstanceRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestartInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RestartInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestartInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RestartInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.RestartInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java new file mode 100644 index 00000000..1584a175 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1/datafusion.proto + +package com.google.cloud.datafusion.v1; + +public interface RestartInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.RestartInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the Data Fusion instance which need to be restarted in the form of
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the Data Fusion instance which need to be restarted in the form of
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * 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-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.java similarity index 71% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.java index 657e997c..f160bc94 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** - * - * *
  * Request message for updating a Data Fusion instance.
  * Data Fusion allows updating the labels, options, and stack driver settings.
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1.UpdateInstanceRequest}
  */
-public final class UpdateInstanceRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateInstanceRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.UpdateInstanceRequest)
     UpdateInstanceRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateInstanceRequest.newBuilder() to construct.
   private UpdateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateInstanceRequest() {}
+  private UpdateInstanceRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateInstanceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private UpdateInstanceRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,44 +54,39 @@ private UpdateInstanceRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.datafusion.v1.Instance.Builder subBuilder = null;
-              if (instance_ != null) {
-                subBuilder = instance_.toBuilder();
-              }
-              instance_ =
-                  input.readMessage(
-                      com.google.cloud.datafusion.v1.Instance.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(instance_);
-                instance_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.datafusion.v1.Instance.Builder subBuilder = null;
+            if (instance_ != null) {
+              subBuilder = instance_.toBuilder();
+            }
+            instance_ = input.readMessage(com.google.cloud.datafusion.v1.Instance.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(instance_);
+              instance_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.protobuf.FieldMask.Builder subBuilder = null;
-              if (updateMask_ != null) {
-                subBuilder = updateMask_.toBuilder();
-              }
-              updateMask_ =
-                  input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateMask_);
-                updateMask_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.FieldMask.Builder subBuilder = null;
+            if (updateMask_ != null) {
+              subBuilder = updateMask_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateMask_);
+              updateMask_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -115,43 +94,36 @@ private UpdateInstanceRequest(
     } 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.datafusion.v1.Datafusion
-        .internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1.Datafusion
-        .internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_fieldAccessorTable
+    return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1.UpdateInstanceRequest.class,
-            com.google.cloud.datafusion.v1.UpdateInstanceRequest.Builder.class);
+            com.google.cloud.datafusion.v1.UpdateInstanceRequest.class, com.google.cloud.datafusion.v1.UpdateInstanceRequest.Builder.class);
   }
 
   public static final int INSTANCE_FIELD_NUMBER = 1;
   private com.google.cloud.datafusion.v1.Instance instance_;
   /**
-   *
-   *
    * 
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -159,38 +131,27 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.cloud.datafusion.v1.Instance getInstance() { - return instance_ == null - ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { @@ -200,8 +161,6 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -212,7 +171,6 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -220,8 +178,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -232,7 +188,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -240,8 +195,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -259,7 +212,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -271,7 +223,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 (instance_ != null) {
       output.writeMessage(1, getInstance());
     }
@@ -288,10 +241,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (instance_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstance());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getInstance());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -301,21 +256,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.datafusion.v1.UpdateInstanceRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datafusion.v1.UpdateInstanceRequest other =
-        (com.google.cloud.datafusion.v1.UpdateInstanceRequest) obj;
+    com.google.cloud.datafusion.v1.UpdateInstanceRequest other = (com.google.cloud.datafusion.v1.UpdateInstanceRequest) obj;
 
     if (hasInstance() != other.hasInstance()) return false;
     if (hasInstance()) {
-      if (!getInstance().equals(other.getInstance())) return false;
+      if (!getInstance()
+          .equals(other.getInstance())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -342,103 +298,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datafusion.v1.UpdateInstanceRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datafusion.v1.UpdateInstanceRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datafusion.v1.UpdateInstanceRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datafusion.v1.UpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest 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 message for updating a Data Fusion instance.
    * Data Fusion allows updating the labels, options, and stack driver settings.
@@ -447,23 +396,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datafusion.v1.UpdateInstanceRequest}
    */
-  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.datafusion.v1.UpdateInstanceRequest)
       com.google.cloud.datafusion.v1.UpdateInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datafusion.v1.Datafusion
-          .internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1.Datafusion
-          .internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_fieldAccessorTable
+      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1.UpdateInstanceRequest.class,
-              com.google.cloud.datafusion.v1.UpdateInstanceRequest.Builder.class);
+              com.google.cloud.datafusion.v1.UpdateInstanceRequest.class, com.google.cloud.datafusion.v1.UpdateInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1.UpdateInstanceRequest.newBuilder()
@@ -471,15 +418,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();
@@ -499,9 +447,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datafusion.v1.Datafusion
-          .internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -520,8 +468,7 @@ public com.google.cloud.datafusion.v1.UpdateInstanceRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1.UpdateInstanceRequest buildPartial() {
-      com.google.cloud.datafusion.v1.UpdateInstanceRequest result =
-          new com.google.cloud.datafusion.v1.UpdateInstanceRequest(this);
+      com.google.cloud.datafusion.v1.UpdateInstanceRequest result = new com.google.cloud.datafusion.v1.UpdateInstanceRequest(this);
       if (instanceBuilder_ == null) {
         result.instance_ = instance_;
       } else {
@@ -540,39 +487,38 @@ public com.google.cloud.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest) {
-        return mergeFrom((com.google.cloud.datafusion.v1.UpdateInstanceRequest) other);
+        return mergeFrom((com.google.cloud.datafusion.v1.UpdateInstanceRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -580,8 +526,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datafusion.v1.UpdateInstanceRequest other) {
-      if (other == com.google.cloud.datafusion.v1.UpdateInstanceRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datafusion.v1.UpdateInstanceRequest.getDefaultInstance()) return this;
       if (other.hasInstance()) {
         mergeInstance(other.getInstance());
       }
@@ -607,8 +552,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.datafusion.v1.UpdateInstanceRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.datafusion.v1.UpdateInstanceRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -620,64 +564,45 @@ public Builder mergeFrom(
 
     private com.google.cloud.datafusion.v1.Instance instance_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datafusion.v1.Instance,
-            com.google.cloud.datafusion.v1.Instance.Builder,
-            com.google.cloud.datafusion.v1.InstanceOrBuilder>
-        instanceBuilder_;
+        com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder> instanceBuilder_;
     /**
-     *
-     *
      * 
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return instanceBuilder_ != null || instance_ != null; } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.cloud.datafusion.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.cloud.datafusion.v1.Instance value) { if (instanceBuilder_ == null) { @@ -693,19 +618,16 @@ public Builder setInstance(com.google.cloud.datafusion.v1.Instance value) { return this; } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.cloud.datafusion.v1.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.cloud.datafusion.v1.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); onChanged(); @@ -716,25 +638,19 @@ public Builder setInstance(com.google.cloud.datafusion.v1.Instance.Builder build return this; } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.cloud.datafusion.v1.Instance value) { if (instanceBuilder_ == null) { if (instance_ != null) { instance_ = - com.google.cloud.datafusion.v1.Instance.newBuilder(instance_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datafusion.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); } else { instance_ = value; } @@ -746,17 +662,13 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1.Instance value) { return this; } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { if (instanceBuilder_ == null) { @@ -770,70 +682,54 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datafusion.v1.Instance.Builder getInstanceBuilder() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.cloud.datafusion.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, - com.google.cloud.datafusion.v1.Instance.Builder, - com.google.cloud.datafusion.v1.InstanceOrBuilder> + com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, - com.google.cloud.datafusion.v1.Instance.Builder, - com.google.cloud.datafusion.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -841,13 +737,8 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -858,15 +749,12 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -877,21 +765,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -917,8 +800,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -930,7 +811,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -941,8 +823,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -958,7 +838,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -970,8 +850,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -995,8 +873,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -1009,13 +885,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -1031,14 +905,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -1051,24 +922,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_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> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @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);
     }
 
@@ -1078,12 +946,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.UpdateInstanceRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.UpdateInstanceRequest)
   private static final com.google.cloud.datafusion.v1.UpdateInstanceRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.UpdateInstanceRequest();
   }
@@ -1092,16 +960,16 @@ public static com.google.cloud.datafusion.v1.UpdateInstanceRequest getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateInstanceRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateInstanceRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateInstanceRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateInstanceRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1116,4 +984,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datafusion.v1.UpdateInstanceRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java
similarity index 73%
rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java
index 9b74e9f8..c742f5ff 100644
--- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java
@@ -1,78 +1,46 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datafusion/v1/datafusion.proto
 
 package com.google.cloud.datafusion.v1;
 
-public interface UpdateInstanceRequestOrBuilder
-    extends
+public interface UpdateInstanceRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.UpdateInstanceRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.cloud.datafusion.v1.Instance getInstance(); /** - * - * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -83,13 +51,10 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -100,13 +65,10 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Version.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Version.java
similarity index 74%
rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Version.java
rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Version.java
index 8d3b0e95..78b61388 100644
--- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Version.java
+++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Version.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/datafusion/v1/datafusion.proto
 
 package com.google.cloud.datafusion.v1;
 
 /**
- *
- *
  * 
  * The Data Fusion version. This proto message stores information about certain
  * Data Fusion version, which is used for Data Fusion version upgrade.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1.Version}
  */
-public final class Version extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Version extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.Version)
     VersionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Version() {
     versionNumber_ = "";
     availableFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -46,15 +28,16 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,42 +57,39 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              versionNumber_ = s;
-              break;
-            }
-          case 16:
-            {
-              defaultVersion_ = input.readBool();
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                availableFeatures_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              availableFeatures_.add(s);
-              break;
-            }
-          case 32:
-            {
-              int rawValue = input.readEnum();
+            versionNumber_ = s;
+            break;
+          }
+          case 16: {
 
-              type_ = rawValue;
-              break;
+            defaultVersion_ = input.readBool();
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              availableFeatures_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            availableFeatures_.add(s);
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            type_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -117,7 +97,8 @@ private Version(
     } 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)) {
         availableFeatures_ = availableFeatures_.getUnmodifiableView();
@@ -126,35 +107,29 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datafusion.v1.Datafusion
-        .internal_static_google_cloud_datafusion_v1_Version_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1.Datafusion
-        .internal_static_google_cloud_datafusion_v1_Version_fieldAccessorTable
+    return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1.Version.class,
-            com.google.cloud.datafusion.v1.Version.Builder.class);
+            com.google.cloud.datafusion.v1.Version.class, com.google.cloud.datafusion.v1.Version.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Each type represents the release availability of a CDF version
    * 
* * Protobuf enum {@code google.cloud.datafusion.v1.Version.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Version does not have availability yet
      * 
@@ -163,8 +138,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Version is under development and not considered stable
      * 
@@ -173,8 +146,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_PREVIEW(1), /** - * - * *
      * Version is available for public use
      * 
@@ -186,8 +157,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Version does not have availability yet
      * 
@@ -196,8 +165,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Version is under development and not considered stable
      * 
@@ -206,8 +173,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_PREVIEW_VALUE = 1; /** - * - * *
      * Version is available for public use
      * 
@@ -216,6 +181,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_GENERAL_AVAILABILITY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -240,49 +206,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return TYPE_PREVIEW; - case 2: - return TYPE_GENERAL_AVAILABILITY; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return TYPE_PREVIEW; + case 2: return TYPE_GENERAL_AVAILABILITY; + 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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.datafusion.v1.Version.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; @@ -302,14 +268,11 @@ private Type(int value) { public static final int VERSION_NUMBER_FIELD_NUMBER = 1; private volatile java.lang.Object versionNumber_; /** - * - * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; - * * @return The versionNumber. */ @java.lang.Override @@ -318,29 +281,29 @@ public java.lang.String getVersionNumber() { 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(); versionNumber_ = s; return s; } } /** - * - * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; - * * @return The bytes for versionNumber. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionNumberBytes() { + public com.google.protobuf.ByteString + getVersionNumberBytes() { java.lang.Object ref = versionNumber_; 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); versionNumber_ = b; return b; } else { @@ -351,14 +314,11 @@ public com.google.protobuf.ByteString getVersionNumberBytes() { public static final int DEFAULT_VERSION_FIELD_NUMBER = 2; private boolean defaultVersion_; /** - * - * *
    * Whether this is currently the default version for Cloud Data Fusion
    * 
* * bool default_version = 2; - * * @return The defaultVersion. */ @java.lang.Override @@ -369,42 +329,34 @@ public boolean getDefaultVersion() { public static final int AVAILABLE_FEATURES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList availableFeatures_; /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @return A list containing the availableFeatures. */ - public com.google.protobuf.ProtocolStringList getAvailableFeaturesList() { + public com.google.protobuf.ProtocolStringList + getAvailableFeaturesList() { return availableFeatures_; } /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @return The count of availableFeatures. */ public int getAvailableFeaturesCount() { return availableFeatures_.size(); } /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @param index The index of the element to return. * @return The availableFeatures at the given index. */ @@ -412,59 +364,47 @@ public java.lang.String getAvailableFeatures(int index) { return availableFeatures_.get(index); } /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @param index The index of the value to return. * @return The bytes of the availableFeatures at the given index. */ - public com.google.protobuf.ByteString getAvailableFeaturesBytes(int index) { + public com.google.protobuf.ByteString + getAvailableFeaturesBytes(int index) { return availableFeatures_.getByteString(index); } public static final int TYPE_FIELD_NUMBER = 4; private int type_; /** - * - * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.datafusion.v1.Version.Type getType() { + @java.lang.Override public com.google.cloud.datafusion.v1.Version.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Version.Type result = - com.google.cloud.datafusion.v1.Version.Type.valueOf(type_); + com.google.cloud.datafusion.v1.Version.Type result = com.google.cloud.datafusion.v1.Version.Type.valueOf(type_); return result == null ? com.google.cloud.datafusion.v1.Version.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -476,7 +416,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(versionNumber_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, versionNumber_); } @@ -502,7 +443,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, versionNumber_); } if (defaultVersion_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, defaultVersion_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, defaultVersion_); } { int dataSize = 0; @@ -513,7 +455,8 @@ public int getSerializedSize() { size += 1 * getAvailableFeaturesList().size(); } if (type_ != com.google.cloud.datafusion.v1.Version.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -523,16 +466,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.datafusion.v1.Version)) { return super.equals(obj); } com.google.cloud.datafusion.v1.Version other = (com.google.cloud.datafusion.v1.Version) obj; - if (!getVersionNumber().equals(other.getVersionNumber())) return false; - if (getDefaultVersion() != other.getDefaultVersion()) return false; - if (!getAvailableFeaturesList().equals(other.getAvailableFeaturesList())) return false; + if (!getVersionNumber() + .equals(other.getVersionNumber())) return false; + if (getDefaultVersion() + != other.getDefaultVersion()) return false; + if (!getAvailableFeaturesList() + .equals(other.getAvailableFeaturesList())) return false; if (type_ != other.type_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -548,7 +494,8 @@ public int hashCode() { hash = (37 * hash) + VERSION_NUMBER_FIELD_NUMBER; hash = (53 * hash) + getVersionNumber().hashCode(); hash = (37 * hash) + DEFAULT_VERSION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDefaultVersion()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDefaultVersion()); if (getAvailableFeaturesCount() > 0) { hash = (37 * hash) + AVAILABLE_FEATURES_FIELD_NUMBER; hash = (53 * hash) + getAvailableFeaturesList().hashCode(); @@ -560,104 +507,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1.Version parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1.Version parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.Version 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.datafusion.v1.Version parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.Version parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1.Version parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1.Version 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.datafusion.v1.Version 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.datafusion.v1.Version 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.datafusion.v1.Version parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1.Version 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.datafusion.v1.Version 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.datafusion.v1.Version 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.datafusion.v1.Version 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 Data Fusion version. This proto message stores information about certain
    * Data Fusion version, which is used for Data Fusion version upgrade.
@@ -665,23 +605,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datafusion.v1.Version}
    */
-  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.datafusion.v1.Version)
       com.google.cloud.datafusion.v1.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datafusion.v1.Datafusion
-          .internal_static_google_cloud_datafusion_v1_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1.Datafusion
-          .internal_static_google_cloud_datafusion_v1_Version_fieldAccessorTable
+      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1.Version.class,
-              com.google.cloud.datafusion.v1.Version.Builder.class);
+              com.google.cloud.datafusion.v1.Version.class, com.google.cloud.datafusion.v1.Version.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1.Version.newBuilder()
@@ -689,15 +627,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();
@@ -713,9 +652,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datafusion.v1.Datafusion
-          .internal_static_google_cloud_datafusion_v1_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Version_descriptor;
     }
 
     @java.lang.Override
@@ -734,8 +673,7 @@ public com.google.cloud.datafusion.v1.Version build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1.Version buildPartial() {
-      com.google.cloud.datafusion.v1.Version result =
-          new com.google.cloud.datafusion.v1.Version(this);
+      com.google.cloud.datafusion.v1.Version result = new com.google.cloud.datafusion.v1.Version(this);
       int from_bitField0_ = bitField0_;
       result.versionNumber_ = versionNumber_;
       result.defaultVersion_ = defaultVersion_;
@@ -753,39 +691,38 @@ public com.google.cloud.datafusion.v1.Version 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.datafusion.v1.Version) {
-        return mergeFrom((com.google.cloud.datafusion.v1.Version) other);
+        return mergeFrom((com.google.cloud.datafusion.v1.Version)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -842,25 +779,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object versionNumber_ = "";
     /**
-     *
-     *
      * 
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; - * * @return The versionNumber. */ public java.lang.String getVersionNumber() { java.lang.Object ref = versionNumber_; 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(); versionNumber_ = s; return s; @@ -869,21 +803,20 @@ public java.lang.String getVersionNumber() { } } /** - * - * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; - * * @return The bytes for versionNumber. */ - public com.google.protobuf.ByteString getVersionNumberBytes() { + public com.google.protobuf.ByteString + getVersionNumberBytes() { java.lang.Object ref = versionNumber_; 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); versionNumber_ = b; return b; } else { @@ -891,76 +824,66 @@ public com.google.protobuf.ByteString getVersionNumberBytes() { } } /** - * - * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; - * * @param value The versionNumber to set. * @return This builder for chaining. */ - public Builder setVersionNumber(java.lang.String value) { + public Builder setVersionNumber( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + versionNumber_ = value; onChanged(); return this; } /** - * - * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; - * * @return This builder for chaining. */ public Builder clearVersionNumber() { - + versionNumber_ = getDefaultInstance().getVersionNumber(); onChanged(); return this; } /** - * - * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; - * * @param value The bytes for versionNumber to set. * @return This builder for chaining. */ - public Builder setVersionNumberBytes(com.google.protobuf.ByteString value) { + public Builder setVersionNumberBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + versionNumber_ = value; onChanged(); return this; } - private boolean defaultVersion_; + private boolean defaultVersion_ ; /** - * - * *
      * Whether this is currently the default version for Cloud Data Fusion
      * 
* * bool default_version = 2; - * * @return The defaultVersion. */ @java.lang.Override @@ -968,87 +891,71 @@ public boolean getDefaultVersion() { return defaultVersion_; } /** - * - * *
      * Whether this is currently the default version for Cloud Data Fusion
      * 
* * bool default_version = 2; - * * @param value The defaultVersion to set. * @return This builder for chaining. */ public Builder setDefaultVersion(boolean value) { - + defaultVersion_ = value; onChanged(); return this; } /** - * - * *
      * Whether this is currently the default version for Cloud Data Fusion
      * 
* * bool default_version = 2; - * * @return This builder for chaining. */ public Builder clearDefaultVersion() { - + defaultVersion_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList availableFeatures_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList availableFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAvailableFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { availableFeatures_ = new com.google.protobuf.LazyStringArrayList(availableFeatures_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @return A list containing the availableFeatures. */ - public com.google.protobuf.ProtocolStringList getAvailableFeaturesList() { + public com.google.protobuf.ProtocolStringList + getAvailableFeaturesList() { return availableFeatures_.getUnmodifiableView(); } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @return The count of availableFeatures. */ public int getAvailableFeaturesCount() { return availableFeatures_.size(); } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @param index The index of the element to return. * @return The availableFeatures at the given index. */ @@ -1056,90 +963,80 @@ public java.lang.String getAvailableFeatures(int index) { return availableFeatures_.get(index); } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @param index The index of the value to return. * @return The bytes of the availableFeatures at the given index. */ - public com.google.protobuf.ByteString getAvailableFeaturesBytes(int index) { + public com.google.protobuf.ByteString + getAvailableFeaturesBytes(int index) { return availableFeatures_.getByteString(index); } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @param index The index to set the value at. * @param value The availableFeatures to set. * @return This builder for chaining. */ - public Builder setAvailableFeatures(int index, java.lang.String value) { + public Builder setAvailableFeatures( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableFeaturesIsMutable(); + throw new NullPointerException(); + } + ensureAvailableFeaturesIsMutable(); availableFeatures_.set(index, value); onChanged(); return this; } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @param value The availableFeatures to add. * @return This builder for chaining. */ - public Builder addAvailableFeatures(java.lang.String value) { + public Builder addAvailableFeatures( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableFeaturesIsMutable(); + throw new NullPointerException(); + } + ensureAvailableFeaturesIsMutable(); availableFeatures_.add(value); onChanged(); return this; } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @param values The availableFeatures to add. * @return This builder for chaining. */ - public Builder addAllAvailableFeatures(java.lang.Iterable values) { + public Builder addAllAvailableFeatures( + java.lang.Iterable values) { ensureAvailableFeaturesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableFeatures_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, availableFeatures_); onChanged(); return this; } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @return This builder for chaining. */ public Builder clearAvailableFeatures() { @@ -1149,22 +1046,20 @@ public Builder clearAvailableFeatures() { return this; } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @param value The bytes of the availableFeatures to add. * @return This builder for chaining. */ - public Builder addAvailableFeaturesBytes(com.google.protobuf.ByteString value) { + public Builder addAvailableFeaturesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAvailableFeaturesIsMutable(); availableFeatures_.add(value); onChanged(); @@ -1173,65 +1068,51 @@ public Builder addAvailableFeaturesBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; - * * @return The type. */ @java.lang.Override public com.google.cloud.datafusion.v1.Version.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Version.Type result = - com.google.cloud.datafusion.v1.Version.Type.valueOf(type_); + com.google.cloud.datafusion.v1.Version.Type result = com.google.cloud.datafusion.v1.Version.Type.valueOf(type_); return result == null ? com.google.cloud.datafusion.v1.Version.Type.UNRECOGNIZED : result; } /** - * - * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1239,31 +1120,28 @@ public Builder setType(com.google.cloud.datafusion.v1.Version.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 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); } @@ -1273,12 +1151,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.Version) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.Version) private static final com.google.cloud.datafusion.v1.Version DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.Version(); } @@ -1287,16 +1165,16 @@ public static com.google.cloud.datafusion.v1.Version getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1311,4 +1189,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java similarity index 72% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java index a5cdeedb..8dbd3bf4 100644 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java @@ -1,138 +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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface VersionOrBuilder - extends +public interface VersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.Version) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; - * * @return The versionNumber. */ java.lang.String getVersionNumber(); /** - * - * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; - * * @return The bytes for versionNumber. */ - com.google.protobuf.ByteString getVersionNumberBytes(); + com.google.protobuf.ByteString + getVersionNumberBytes(); /** - * - * *
    * Whether this is currently the default version for Cloud Data Fusion
    * 
* * bool default_version = 2; - * * @return The defaultVersion. */ boolean getDefaultVersion(); /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @return A list containing the availableFeatures. */ - java.util.List getAvailableFeaturesList(); + java.util.List + getAvailableFeaturesList(); /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @return The count of availableFeatures. */ int getAvailableFeaturesCount(); /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @param index The index of the element to return. * @return The availableFeatures at the given index. */ java.lang.String getAvailableFeatures(int index); /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @param index The index of the value to return. * @return The bytes of the availableFeatures at the given index. */ - com.google.protobuf.ByteString getAvailableFeaturesBytes(int index); + com.google.protobuf.ByteString + getAvailableFeaturesBytes(int index); /** - * - * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; - * * @return The type. */ com.google.cloud.datafusion.v1.Version.Type getType(); diff --git a/proto-google-cloud-data-fusion-v1/src/main/proto/google/cloud/datafusion/v1/datafusion.proto b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/proto/google/cloud/datafusion/v1/datafusion.proto similarity index 100% rename from proto-google-cloud-data-fusion-v1/src/main/proto/google/cloud/datafusion/v1/datafusion.proto rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/proto/google/cloud/datafusion/v1/datafusion.proto diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java index 64e01bb0..542a7911 100644 --- a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java @@ -20,6 +20,7 @@ import com.google.cloud.datafusion.v1.DataFusionClient; import com.google.cloud.datafusion.v1.DeleteInstanceRequest; import com.google.cloud.datafusion.v1.InstanceName; +import com.google.protobuf.Empty; public class SyncDeleteInstance { diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java index 97cee12e..00667e2c 100644 --- a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java @@ -19,6 +19,7 @@ // [START datafusion_v1_generated_datafusionclient_deleteinstance_instancename_sync] import com.google.cloud.datafusion.v1.DataFusionClient; import com.google.cloud.datafusion.v1.InstanceName; +import com.google.protobuf.Empty; public class SyncDeleteInstanceInstancename { diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java index 7c2d0e78..092371b0 100644 --- a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java @@ -19,6 +19,7 @@ // [START datafusion_v1_generated_datafusionclient_deleteinstance_string_sync] import com.google.cloud.datafusion.v1.DataFusionClient; import com.google.cloud.datafusion.v1.InstanceName; +import com.google.protobuf.Empty; public class SyncDeleteInstanceString { diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/AsyncGetInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/AsyncGetInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/AsyncGetInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/AsyncGetInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/SyncGetInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/SyncGetInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/SyncGetInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/SyncGetInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersions.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersions.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstances.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstances.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstances.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstances.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstancesPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstancesPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstancesPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstancesPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/SyncListInstances.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/SyncListInstances.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/SyncListInstances.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/SyncListInstances.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/SyncRestartInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/SyncRestartInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/SyncRestartInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/SyncRestartInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionsettings/getinstance/SyncGetInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionsettings/getinstance/SyncGetInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionsettings/getinstance/SyncGetInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionsettings/getinstance/SyncGetInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java similarity index 98% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java rename to owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java index b243e91b..99db2555 100644 --- a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java +++ b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java @@ -66,13 +66,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. *
* @@ -192,6 +192,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -1622,11 +1623,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListAvailableVersionsPagedResponse extends AbstractPagedListResponse< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, - Version, - ListAvailableVersionsPage, - ListAvailableVersionsFixedSizeCollection> { + ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, + ListAvailableVersionsPage, ListAvailableVersionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -1646,9 +1644,7 @@ private ListAvailableVersionsPagedResponse(ListAvailableVersionsPage page) { public static class ListAvailableVersionsPage extends AbstractPage< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, - Version, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, ListAvailableVersionsPage> { private ListAvailableVersionsPage( @@ -1678,11 +1674,8 @@ public ApiFuture createPageAsync( public static class ListAvailableVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, - Version, - ListAvailableVersionsPage, - ListAvailableVersionsFixedSizeCollection> { + ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, + ListAvailableVersionsPage, ListAvailableVersionsFixedSizeCollection> { private ListAvailableVersionsFixedSizeCollection( List pages, int collectionSize) { @@ -1702,10 +1695,7 @@ protected ListAvailableVersionsFixedSizeCollection createCollection( public static class ListInstancesPagedResponse extends AbstractPagedListResponse< - ListInstancesRequest, - ListInstancesResponse, - Instance, - ListInstancesPage, + ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage, ListInstancesFixedSizeCollection> { public static ApiFuture createAsync( @@ -1755,10 +1745,7 @@ public ApiFuture createPageAsync( public static class ListInstancesFixedSizeCollection extends AbstractFixedSizeCollection< - ListInstancesRequest, - ListInstancesResponse, - Instance, - ListInstancesPage, + ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage, ListInstancesFixedSizeCollection> { private ListInstancesFixedSizeCollection(List pages, int collectionSize) { @@ -1778,10 +1765,7 @@ protected ListInstancesFixedSizeCollection createCollection( public static class ListNamespacesPagedResponse extends AbstractPagedListResponse< - ListNamespacesRequest, - ListNamespacesResponse, - Namespace, - ListNamespacesPage, + ListNamespacesRequest, ListNamespacesResponse, Namespace, ListNamespacesPage, ListNamespacesFixedSizeCollection> { public static ApiFuture createAsync( @@ -1831,10 +1815,7 @@ public ApiFuture createPageAsync( public static class ListNamespacesFixedSizeCollection extends AbstractFixedSizeCollection< - ListNamespacesRequest, - ListNamespacesResponse, - Namespace, - ListNamespacesPage, + ListNamespacesRequest, ListNamespacesResponse, Namespace, ListNamespacesPage, ListNamespacesFixedSizeCollection> { private ListNamespacesFixedSizeCollection(List pages, int collectionSize) { @@ -1854,10 +1835,7 @@ protected ListNamespacesFixedSizeCollection createCollection( public static class ListDnsPeeringsPagedResponse extends AbstractPagedListResponse< - ListDnsPeeringsRequest, - ListDnsPeeringsResponse, - DnsPeering, - ListDnsPeeringsPage, + ListDnsPeeringsRequest, ListDnsPeeringsResponse, DnsPeering, ListDnsPeeringsPage, ListDnsPeeringsFixedSizeCollection> { public static ApiFuture createAsync( @@ -1907,10 +1885,7 @@ public ApiFuture createPageAsync( public static class ListDnsPeeringsFixedSizeCollection extends AbstractFixedSizeCollection< - ListDnsPeeringsRequest, - ListDnsPeeringsResponse, - DnsPeering, - ListDnsPeeringsPage, + ListDnsPeeringsRequest, ListDnsPeeringsResponse, DnsPeering, ListDnsPeeringsPage, ListDnsPeeringsFixedSizeCollection> { private ListDnsPeeringsFixedSizeCollection( diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java similarity index 97% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java rename to owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java index b918f4c9..c215aed0 100644 --- a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java +++ b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java @@ -32,6 +32,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.datafusion.v1beta1.stub.DataFusionStubSettings; @@ -48,9 +49,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -80,8 +81,7 @@ public class DataFusionSettings extends ClientSettings { /** Returns the object with the settings used for calls to listAvailableVersions. */ public PagedCallSettings< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return ((DataFusionStubSettings) getStubSettings()).listAvailableVersionsSettings(); @@ -300,8 +300,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listAvailableVersions. */ public PagedCallSettings.Builder< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return getStubSettingsBuilder().listAvailableVersionsSettings(); diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/gapic_metadata.json b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/gapic_metadata.json similarity index 100% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/gapic_metadata.json rename to owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/gapic_metadata.json diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/package-info.java b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/package-info.java similarity index 100% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/package-info.java rename to owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/package-info.java diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStub.java b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStub.java similarity index 100% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStub.java rename to owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStub.java diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java similarity index 98% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java rename to owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java index c8797b46..0484e37c 100644 --- a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java +++ b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java @@ -93,9 +93,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -127,8 +127,7 @@ public class DataFusionStubSettings extends StubSettings ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); private final PagedCallSettings< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings; private final PagedCallSettings< @@ -316,13 +315,11 @@ public Iterable extractResources(ListDnsPeeringsResponse payload) { }; private static final PagedListResponseFactory< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> LIST_AVAILABLE_VERSIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -391,8 +388,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listAvailableVersions. */ public PagedCallSettings< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return listAvailableVersionsSettings; @@ -625,8 +621,7 @@ protected DataFusionStubSettings(Builder settingsBuilder) throws IOException { public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; private final PagedCallSettings.Builder< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings; private final PagedCallSettings.Builder< @@ -1008,8 +1003,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listAvailableVersions. */ public PagedCallSettings.Builder< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return listAvailableVersionsSettings; diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionCallableFactory.java b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionCallableFactory.java similarity index 100% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionCallableFactory.java rename to owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionCallableFactory.java diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java similarity index 99% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java rename to owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java index 6c37e3e6..551c26b1 100644 --- a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java +++ b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java @@ -58,6 +58,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-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionCallableFactory.java b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionCallableFactory.java similarity index 100% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionCallableFactory.java rename to owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionCallableFactory.java diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionStub.java b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionStub.java similarity index 99% rename from google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionStub.java rename to owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionStub.java index d992c86c..56a254f1 100644 --- a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionStub.java +++ b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionStub.java @@ -33,6 +33,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientHttpJsonTest.java b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientHttpJsonTest.java similarity index 100% rename from google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientHttpJsonTest.java rename to owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientHttpJsonTest.java diff --git a/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientTest.java b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientTest.java similarity index 100% rename from google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientTest.java rename to owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientTest.java diff --git a/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusion.java b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusion.java similarity index 100% rename from google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusion.java rename to owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusion.java diff --git a/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusionImpl.java b/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusionImpl.java similarity index 100% rename from google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusionImpl.java rename to owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusionImpl.java diff --git a/owl-bot-staging/v1beta1/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java b/owl-bot-staging/v1beta1/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java new file mode 100644 index 00000000..6f985646 --- /dev/null +++ b/owl-bot-staging/v1beta1/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java @@ -0,0 +1,1357 @@ +package com.google.cloud.datafusion.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Service for creating and managing Data Fusion instances.
+ * Data Fusion enables ETL developers to build code-free, data integration
+ * pipelines via a point-and-click UI.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/datafusion/v1beta1/v1beta1.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataFusionGrpc { + + private DataFusionGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.datafusion.v1beta1.DataFusion"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListAvailableVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAvailableVersions", + requestType = com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAvailableVersionsMethod() { + io.grpc.MethodDescriptor getListAvailableVersionsMethod; + if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) == null) { + DataFusionGrpc.getListAvailableVersionsMethod = getListAvailableVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAvailableVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListAvailableVersions")) + .build(); + } + } + } + return getListAvailableVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstances", + requestType = com.google.cloud.datafusion.v1beta1.ListInstancesRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.ListInstancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListInstancesMethod() { + io.grpc.MethodDescriptor getListInstancesMethod; + if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { + DataFusionGrpc.getListInstancesMethod = getListInstancesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListInstancesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListInstancesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListInstances")) + .build(); + } + } + } + return getListInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.cloud.datafusion.v1beta1.GetInstanceRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetInstanceMethod() { + io.grpc.MethodDescriptor getGetInstanceMethod; + if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { + DataFusionGrpc.getGetInstanceMethod = getGetInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.GetInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateInstanceMethod() { + io.grpc.MethodDescriptor getCreateInstanceMethod; + if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { + DataFusionGrpc.getCreateInstanceMethod = getCreateInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { + io.grpc.MethodDescriptor getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { + DataFusionGrpc.getDeleteInstanceMethod = getDeleteInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", + requestType = com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateInstanceMethod() { + io.grpc.MethodDescriptor getUpdateInstanceMethod; + if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { + DataFusionGrpc.getUpdateInstanceMethod = getUpdateInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("UpdateInstance")) + .build(); + } + } + } + return getUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getRestartInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestartInstance", + requestType = com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRestartInstanceMethod() { + io.grpc.MethodDescriptor getRestartInstanceMethod; + if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { + DataFusionGrpc.getRestartInstanceMethod = getRestartInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("RestartInstance")) + .build(); + } + } + } + return getRestartInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpgradeInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpgradeInstance", + requestType = com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpgradeInstanceMethod() { + io.grpc.MethodDescriptor getUpgradeInstanceMethod; + if ((getUpgradeInstanceMethod = DataFusionGrpc.getUpgradeInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getUpgradeInstanceMethod = DataFusionGrpc.getUpgradeInstanceMethod) == null) { + DataFusionGrpc.getUpgradeInstanceMethod = getUpgradeInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpgradeInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("UpgradeInstance")) + .build(); + } + } + } + return getUpgradeInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getRemoveIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveIamPolicy", + requestType = com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRemoveIamPolicyMethod() { + io.grpc.MethodDescriptor getRemoveIamPolicyMethod; + if ((getRemoveIamPolicyMethod = DataFusionGrpc.getRemoveIamPolicyMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getRemoveIamPolicyMethod = DataFusionGrpc.getRemoveIamPolicyMethod) == null) { + DataFusionGrpc.getRemoveIamPolicyMethod = getRemoveIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("RemoveIamPolicy")) + .build(); + } + } + } + return getRemoveIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getListNamespacesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNamespaces", + requestType = com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListNamespacesMethod() { + io.grpc.MethodDescriptor getListNamespacesMethod; + if ((getListNamespacesMethod = DataFusionGrpc.getListNamespacesMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getListNamespacesMethod = DataFusionGrpc.getListNamespacesMethod) == null) { + DataFusionGrpc.getListNamespacesMethod = getListNamespacesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNamespaces")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListNamespaces")) + .build(); + } + } + } + return getListNamespacesMethod; + } + + private static volatile io.grpc.MethodDescriptor getAddDnsPeeringMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AddDnsPeering", + requestType = com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAddDnsPeeringMethod() { + io.grpc.MethodDescriptor getAddDnsPeeringMethod; + if ((getAddDnsPeeringMethod = DataFusionGrpc.getAddDnsPeeringMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getAddDnsPeeringMethod = DataFusionGrpc.getAddDnsPeeringMethod) == null) { + DataFusionGrpc.getAddDnsPeeringMethod = getAddDnsPeeringMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AddDnsPeering")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("AddDnsPeering")) + .build(); + } + } + } + return getAddDnsPeeringMethod; + } + + private static volatile io.grpc.MethodDescriptor getRemoveDnsPeeringMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveDnsPeering", + requestType = com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRemoveDnsPeeringMethod() { + io.grpc.MethodDescriptor getRemoveDnsPeeringMethod; + if ((getRemoveDnsPeeringMethod = DataFusionGrpc.getRemoveDnsPeeringMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getRemoveDnsPeeringMethod = DataFusionGrpc.getRemoveDnsPeeringMethod) == null) { + DataFusionGrpc.getRemoveDnsPeeringMethod = getRemoveDnsPeeringMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveDnsPeering")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("RemoveDnsPeering")) + .build(); + } + } + } + return getRemoveDnsPeeringMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDnsPeeringsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDnsPeerings", + requestType = com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDnsPeeringsMethod() { + io.grpc.MethodDescriptor getListDnsPeeringsMethod; + if ((getListDnsPeeringsMethod = DataFusionGrpc.getListDnsPeeringsMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getListDnsPeeringsMethod = DataFusionGrpc.getListDnsPeeringsMethod) == null) { + DataFusionGrpc.getListDnsPeeringsMethod = getListDnsPeeringsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDnsPeerings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListDnsPeerings")) + .build(); + } + } + } + return getListDnsPeeringsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DataFusionStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataFusionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionStub(channel, callOptions); + } + }; + return DataFusionStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataFusionBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataFusionBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionBlockingStub(channel, callOptions); + } + }; + return DataFusionBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DataFusionFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataFusionFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionFutureStub(channel, callOptions); + } + }; + return DataFusionFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public static abstract class DataFusionImplBase implements io.grpc.BindableService { + + /** + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public void listAvailableVersions(com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAvailableVersionsMethod(), responseObserver); + } + + /** + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public void listInstances(com.google.cloud.datafusion.v1beta1.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public void getInstance(com.google.cloud.datafusion.v1beta1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); + } + + /** + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public void createInstance(com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Data Fusion instance.
+     * 
+ */ + public void deleteInstance(com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); + } + + /** + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public void updateInstance(com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); + } + + /** + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public void restartInstance(com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestartInstanceMethod(), responseObserver); + } + + /** + *
+     * Upgrade a single Data Fusion instance.
+     * At the end of an operation instance is fully upgraded.
+     * 
+ */ + public void upgradeInstance(com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpgradeInstanceMethod(), responseObserver); + } + + /** + *
+     * Remove IAM policy that is currently set on the given resource.
+     * 
+ */ + public void removeIamPolicy(com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveIamPolicyMethod(), responseObserver); + } + + /** + *
+     * List namespaces in a given instance
+     * 
+ */ + public void listNamespaces(com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListNamespacesMethod(), responseObserver); + } + + /** + *
+     * Add DNS peering on the given resource.
+     * 
+ */ + public void addDnsPeering(com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAddDnsPeeringMethod(), responseObserver); + } + + /** + *
+     * Remove DNS peering on the given resource.
+     * 
+ */ + public void removeDnsPeering(com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveDnsPeeringMethod(), responseObserver); + } + + /** + *
+     * List DNS peering for a given resource.
+     * 
+ */ + public void listDnsPeerings(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDnsPeeringsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListAvailableVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest, + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse>( + this, METHODID_LIST_AVAILABLE_VERSIONS))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.ListInstancesRequest, + com.google.cloud.datafusion.v1beta1.ListInstancesResponse>( + this, METHODID_LIST_INSTANCES))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.GetInstanceRequest, + com.google.cloud.datafusion.v1beta1.Instance>( + this, METHODID_GET_INSTANCE))) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_INSTANCE))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_INSTANCE))) + .addMethod( + getRestartInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest, + com.google.longrunning.Operation>( + this, METHODID_RESTART_INSTANCE))) + .addMethod( + getUpgradeInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest, + com.google.longrunning.Operation>( + this, METHODID_UPGRADE_INSTANCE))) + .addMethod( + getRemoveIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest, + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse>( + this, METHODID_REMOVE_IAM_POLICY))) + .addMethod( + getListNamespacesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest, + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse>( + this, METHODID_LIST_NAMESPACES))) + .addMethod( + getAddDnsPeeringMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest, + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse>( + this, METHODID_ADD_DNS_PEERING))) + .addMethod( + getRemoveDnsPeeringMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest, + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse>( + this, METHODID_REMOVE_DNS_PEERING))) + .addMethod( + getListDnsPeeringsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest, + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse>( + this, METHODID_LIST_DNS_PEERINGS))) + .build(); + } + } + + /** + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public static final class DataFusionStub extends io.grpc.stub.AbstractAsyncStub { + private DataFusionStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataFusionStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionStub(channel, callOptions); + } + + /** + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public void listAvailableVersions(com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public void listInstances(com.google.cloud.datafusion.v1beta1.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public void getInstance(com.google.cloud.datafusion.v1beta1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public void createInstance(com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Data Fusion instance.
+     * 
+ */ + public void deleteInstance(com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public void updateInstance(com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public void restartInstance(com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Upgrade a single Data Fusion instance.
+     * At the end of an operation instance is fully upgraded.
+     * 
+ */ + public void upgradeInstance(com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpgradeInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Remove IAM policy that is currently set on the given resource.
+     * 
+ */ + public void removeIamPolicy(com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List namespaces in a given instance
+     * 
+ */ + public void listNamespaces(com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNamespacesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Add DNS peering on the given resource.
+     * 
+ */ + public void addDnsPeering(com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAddDnsPeeringMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Remove DNS peering on the given resource.
+     * 
+ */ + public void removeDnsPeering(com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveDnsPeeringMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List DNS peering for a given resource.
+     * 
+ */ + public void listDnsPeerings(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDnsPeeringsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public static final class DataFusionBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private DataFusionBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataFusionBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse listAvailableVersions(com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAvailableVersionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.ListInstancesResponse listInstances(com.google.cloud.datafusion.v1beta1.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.Instance getInstance(com.google.cloud.datafusion.v1beta1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public com.google.longrunning.Operation createInstance(com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Data Fusion instance.
+     * 
+ */ + public com.google.longrunning.Operation deleteInstance(com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public com.google.longrunning.Operation updateInstance(com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public com.google.longrunning.Operation restartInstance(com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestartInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Upgrade a single Data Fusion instance.
+     * At the end of an operation instance is fully upgraded.
+     * 
+ */ + public com.google.longrunning.Operation upgradeInstance(com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpgradeInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Remove IAM policy that is currently set on the given resource.
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse removeIamPolicy(com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * List namespaces in a given instance
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.ListNamespacesResponse listNamespaces(com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNamespacesMethod(), getCallOptions(), request); + } + + /** + *
+     * Add DNS peering on the given resource.
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse addDnsPeering(com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAddDnsPeeringMethod(), getCallOptions(), request); + } + + /** + *
+     * Remove DNS peering on the given resource.
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse removeDnsPeering(com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveDnsPeeringMethod(), getCallOptions(), request); + } + + /** + *
+     * List DNS peering for a given resource.
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse listDnsPeerings(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDnsPeeringsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public static final class DataFusionFutureStub extends io.grpc.stub.AbstractFutureStub { + private DataFusionFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataFusionFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionFutureStub(channel, callOptions); + } + + /** + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAvailableVersions( + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listInstances( + com.google.cloud.datafusion.v1beta1.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getInstance( + com.google.cloud.datafusion.v1beta1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createInstance( + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Data Fusion instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteInstance( + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateInstance( + com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture restartInstance( + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Upgrade a single Data Fusion instance.
+     * At the end of an operation instance is fully upgraded.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture upgradeInstance( + com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpgradeInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Remove IAM policy that is currently set on the given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture removeIamPolicy( + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * List namespaces in a given instance
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listNamespaces( + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNamespacesMethod(), getCallOptions()), request); + } + + /** + *
+     * Add DNS peering on the given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture addDnsPeering( + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAddDnsPeeringMethod(), getCallOptions()), request); + } + + /** + *
+     * Remove DNS peering on the given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture removeDnsPeering( + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveDnsPeeringMethod(), getCallOptions()), request); + } + + /** + *
+     * List DNS peering for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDnsPeerings( + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDnsPeeringsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_AVAILABLE_VERSIONS = 0; + private static final int METHODID_LIST_INSTANCES = 1; + private static final int METHODID_GET_INSTANCE = 2; + private static final int METHODID_CREATE_INSTANCE = 3; + private static final int METHODID_DELETE_INSTANCE = 4; + private static final int METHODID_UPDATE_INSTANCE = 5; + private static final int METHODID_RESTART_INSTANCE = 6; + private static final int METHODID_UPGRADE_INSTANCE = 7; + private static final int METHODID_REMOVE_IAM_POLICY = 8; + private static final int METHODID_LIST_NAMESPACES = 9; + private static final int METHODID_ADD_DNS_PEERING = 10; + private static final int METHODID_REMOVE_DNS_PEERING = 11; + private static final int METHODID_LIST_DNS_PEERINGS = 12; + + 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 DataFusionImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DataFusionImplBase 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_LIST_AVAILABLE_VERSIONS: + serviceImpl.listAvailableVersions((com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INSTANCES: + serviceImpl.listInstances((com.google.cloud.datafusion.v1beta1.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance((com.google.cloud.datafusion.v1beta1.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_INSTANCE: + serviceImpl.createInstance((com.google.cloud.datafusion.v1beta1.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance((com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INSTANCE: + serviceImpl.updateInstance((com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTART_INSTANCE: + serviceImpl.restartInstance((com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPGRADE_INSTANCE: + serviceImpl.upgradeInstance((com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REMOVE_IAM_POLICY: + serviceImpl.removeIamPolicy((com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_NAMESPACES: + serviceImpl.listNamespaces((com.google.cloud.datafusion.v1beta1.ListNamespacesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ADD_DNS_PEERING: + serviceImpl.addDnsPeering((com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REMOVE_DNS_PEERING: + serviceImpl.removeDnsPeering((com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DNS_PEERINGS: + serviceImpl.listDnsPeerings((com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) 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 DataFusionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataFusionBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataFusion"); + } + } + + private static final class DataFusionFileDescriptorSupplier + extends DataFusionBaseDescriptorSupplier { + DataFusionFileDescriptorSupplier() {} + } + + private static final class DataFusionMethodDescriptorSupplier + extends DataFusionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DataFusionMethodDescriptorSupplier(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 (DataFusionGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataFusionFileDescriptorSupplier()) + .addMethod(getListAvailableVersionsMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getRestartInstanceMethod()) + .addMethod(getUpgradeInstanceMethod()) + .addMethod(getRemoveIamPolicyMethod()) + .addMethod(getListNamespacesMethod()) + .addMethod(getAddDnsPeeringMethod()) + .addMethod(getRemoveDnsPeeringMethod()) + .addMethod(getListDnsPeeringsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.java similarity index 68% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.java index 3983243a..9070bb7e 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Identifies Data Fusion accelerators for an instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Accelerator} */ -public final class Accelerator extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Accelerator extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.Accelerator) AcceleratorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Accelerator.newBuilder() to construct. private Accelerator(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Accelerator() { acceleratorType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Accelerator(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Accelerator( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private Accelerator( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - acceleratorType_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + acceleratorType_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,31 +73,27 @@ private Accelerator( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Accelerator.class, - com.google.cloud.datafusion.v1beta1.Accelerator.Builder.class); + com.google.cloud.datafusion.v1beta1.Accelerator.class, com.google.cloud.datafusion.v1beta1.Accelerator.Builder.class); } /** - * - * *
    * Each type represents an Accelerator (Add-On) supported by Cloud Data Fusion
    * service.
@@ -123,10 +101,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType}
    */
-  public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AcceleratorType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default value, if unspecified.
      * 
@@ -135,8 +112,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { */ ACCELERATOR_TYPE_UNSPECIFIED(0), /** - * - * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -145,8 +120,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { */ CDC(1), /** - * - * *
      * Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud
      * Healthcare specific CDF plugins developed by Healthcare team.
@@ -159,8 +132,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value, if unspecified.
      * 
@@ -169,8 +140,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCELERATOR_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -179,8 +148,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CDC_VALUE = 1; /** - * - * *
      * Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud
      * Healthcare specific CDF plugins developed by Healthcare team.
@@ -190,6 +157,7 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int HEALTHCARE_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -214,42 +182,39 @@ public static AcceleratorType valueOf(int value) {
      */
     public static AcceleratorType forNumber(int value) {
       switch (value) {
-        case 0:
-          return ACCELERATOR_TYPE_UNSPECIFIED;
-        case 1:
-          return CDC;
-        case 2:
-          return HEALTHCARE;
-        default:
-          return null;
+        case 0: return ACCELERATOR_TYPE_UNSPECIFIED;
+        case 1: return CDC;
+        case 2: return HEALTHCARE;
+        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<
+        AcceleratorType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public AcceleratorType findValueByNumber(int number) {
+              return AcceleratorType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public AcceleratorType findValueByNumber(int number) {
-                return AcceleratorType.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() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.datafusion.v1beta1.Accelerator.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -258,7 +223,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static AcceleratorType 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;
@@ -278,43 +244,31 @@ private AcceleratorType(int value) {
   public static final int ACCELERATOR_TYPE_FIELD_NUMBER = 1;
   private int acceleratorType_;
   /**
-   *
-   *
    * 
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; - * * @return The enum numeric value on the wire for acceleratorType. */ - @java.lang.Override - public int getAcceleratorTypeValue() { + @java.lang.Override public int getAcceleratorTypeValue() { return acceleratorType_; } /** - * - * *
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; - * * @return The acceleratorType. */ - @java.lang.Override - public com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType getAcceleratorType() { + @java.lang.Override public com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType getAcceleratorType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType result = - com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.valueOf(acceleratorType_); - return result == null - ? com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.UNRECOGNIZED - : result; + com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType result = com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.valueOf(acceleratorType_); + return result == null ? com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,11 +280,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (acceleratorType_ - != com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType - .ACCELERATOR_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (acceleratorType_ != com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.ACCELERATOR_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, acceleratorType_); } unknownFields.writeTo(output); @@ -342,11 +294,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (acceleratorType_ - != com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType - .ACCELERATOR_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, acceleratorType_); + if (acceleratorType_ != com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.ACCELERATOR_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, acceleratorType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -356,13 +306,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.datafusion.v1beta1.Accelerator)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.Accelerator other = - (com.google.cloud.datafusion.v1beta1.Accelerator) obj; + com.google.cloud.datafusion.v1beta1.Accelerator other = (com.google.cloud.datafusion.v1beta1.Accelerator) obj; if (acceleratorType_ != other.acceleratorType_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -383,127 +332,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1beta1.Accelerator parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1beta1.Accelerator parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.Accelerator parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.Accelerator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.Accelerator parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator 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; } /** - * - * *
    * Identifies Data Fusion accelerators for an instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Accelerator} */ - 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.datafusion.v1beta1.Accelerator) com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Accelerator.class, - com.google.cloud.datafusion.v1beta1.Accelerator.Builder.class); + com.google.cloud.datafusion.v1beta1.Accelerator.class, com.google.cloud.datafusion.v1beta1.Accelerator.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.Accelerator.newBuilder() @@ -511,15 +451,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(); @@ -529,9 +470,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; } @java.lang.Override @@ -550,8 +491,7 @@ public com.google.cloud.datafusion.v1beta1.Accelerator build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.Accelerator buildPartial() { - com.google.cloud.datafusion.v1beta1.Accelerator result = - new com.google.cloud.datafusion.v1beta1.Accelerator(this); + com.google.cloud.datafusion.v1beta1.Accelerator result = new com.google.cloud.datafusion.v1beta1.Accelerator(this); result.acceleratorType_ = acceleratorType_; onBuilt(); return result; @@ -561,39 +501,38 @@ public com.google.cloud.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.Accelerator) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.Accelerator)other); } else { super.mergeFrom(other); return this; @@ -601,8 +540,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.Accelerator other) { - if (other == com.google.cloud.datafusion.v1beta1.Accelerator.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.Accelerator.getDefaultInstance()) return this; if (other.acceleratorType_ != 0) { setAcceleratorTypeValue(other.getAcceleratorTypeValue()); } @@ -637,105 +575,80 @@ public Builder mergeFrom( private int acceleratorType_ = 0; /** - * - * *
      * The type of an accelator for a CDF instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; - * - * + * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; * @return The enum numeric value on the wire for acceleratorType. */ - @java.lang.Override - public int getAcceleratorTypeValue() { + @java.lang.Override public int getAcceleratorTypeValue() { return acceleratorType_; } /** - * - * *
      * The type of an accelator for a CDF instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; - * - * + * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; * @param value The enum numeric value on the wire for acceleratorType to set. * @return This builder for chaining. */ public Builder setAcceleratorTypeValue(int value) { - + acceleratorType_ = value; onChanged(); return this; } /** - * - * *
      * The type of an accelator for a CDF instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; - * - * + * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; * @return The acceleratorType. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType getAcceleratorType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType result = - com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.valueOf(acceleratorType_); - return result == null - ? com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.UNRECOGNIZED - : result; + com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType result = com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.valueOf(acceleratorType_); + return result == null ? com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.UNRECOGNIZED : result; } /** - * - * *
      * The type of an accelator for a CDF instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; - * - * + * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; * @param value The acceleratorType to set. * @return This builder for chaining. */ - public Builder setAcceleratorType( - com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType value) { + public Builder setAcceleratorType(com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType value) { if (value == null) { throw new NullPointerException(); } - + acceleratorType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of an accelator for a CDF instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; - * - * + * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; * @return This builder for chaining. */ public Builder clearAcceleratorType() { - + acceleratorType_ = 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); } @@ -745,12 +658,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.Accelerator) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.Accelerator) private static final com.google.cloud.datafusion.v1beta1.Accelerator DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.Accelerator(); } @@ -759,16 +672,16 @@ public static com.google.cloud.datafusion.v1beta1.Accelerator getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Accelerator parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Accelerator(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Accelerator parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Accelerator(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -783,4 +696,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.Accelerator getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.java similarity index 57% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.java index 6fbaaed5..52cdbade 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface AcceleratorOrBuilder - extends +public interface AcceleratorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.Accelerator) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; - * * @return The enum numeric value on the wire for acceleratorType. */ int getAcceleratorTypeValue(); /** - * - * *
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; - * * @return The acceleratorType. */ com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType getAcceleratorType(); diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.java similarity index 66% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.java index fa1d2c28..c70cae79 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Request message to create dns peering.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.AddDnsPeeringRequest} */ -public final class AddDnsPeeringRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AddDnsPeeringRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) AddDnsPeeringRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AddDnsPeeringRequest.newBuilder() to construct. private AddDnsPeeringRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AddDnsPeeringRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AddDnsPeeringRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AddDnsPeeringRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,36 +53,32 @@ private AddDnsPeeringRequest( 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.datafusion.v1beta1.DnsPeering.Builder subBuilder = null; + if (dnsPeering_ != null) { + subBuilder = dnsPeering_.toBuilder(); } - case 18: - { - com.google.cloud.datafusion.v1beta1.DnsPeering.Builder subBuilder = null; - if (dnsPeering_ != null) { - subBuilder = dnsPeering_.toBuilder(); - } - dnsPeering_ = - input.readMessage( - com.google.cloud.datafusion.v1beta1.DnsPeering.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dnsPeering_); - dnsPeering_ = subBuilder.buildPartial(); - } - - break; + dnsPeering_ = input.readMessage(com.google.cloud.datafusion.v1beta1.DnsPeering.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dnsPeering_); + dnsPeering_ = 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) { @@ -107,41 +86,34 @@ private AddDnsPeeringRequest( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.class, - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.class, com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource on which DNS peering will be created.
    * 
* - * - * 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 @@ -150,31 +122,29 @@ 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 resource on which DNS peering will be created.
    * 
* - * - * 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 { @@ -185,14 +155,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DNS_PEERING_FIELD_NUMBER = 2; private com.google.cloud.datafusion.v1beta1.DnsPeering dnsPeering_; /** - * - * *
    * Dns peering config.
    * 
* * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; - * * @return Whether the dnsPeering field is set. */ @java.lang.Override @@ -200,25 +167,18 @@ public boolean hasDnsPeering() { return dnsPeering_ != null; } /** - * - * *
    * Dns peering config.
    * 
* * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; - * * @return The dnsPeering. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.DnsPeering getDnsPeering() { - return dnsPeering_ == null - ? com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance() - : dnsPeering_; + return dnsPeering_ == null ? com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance() : dnsPeering_; } /** - * - * *
    * Dns peering config.
    * 
@@ -231,7 +191,6 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringOrBu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +202,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_); } @@ -263,7 +223,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (dnsPeering_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDnsPeering()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDnsPeering()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -273,18 +234,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.datafusion.v1beta1.AddDnsPeeringRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest other = - (com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) obj; + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest other = (com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasDnsPeering() != other.hasDnsPeering()) return false; if (hasDnsPeering()) { - if (!getDnsPeering().equals(other.getDnsPeering())) return false; + if (!getDnsPeering() + .equals(other.getDnsPeering())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -309,127 +271,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest 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 message to create dns peering.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.AddDnsPeeringRequest} */ - 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.datafusion.v1beta1.AddDnsPeeringRequest) com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.class, - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.class, com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.newBuilder() @@ -437,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(); @@ -461,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; } @java.lang.Override @@ -482,8 +435,7 @@ public com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest result = - new com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest(this); + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest result = new com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest(this); result.parent_ = parent_; if (dnsPeeringBuilder_ == null) { result.dnsPeering_ = dnsPeering_; @@ -498,39 +450,38 @@ public com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest)other); } else { super.mergeFrom(other); return this; @@ -538,8 +489,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -566,8 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -579,22 +528,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource on which DNS peering will be created.
      * 
* - * - * 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; @@ -603,23 +548,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource on which DNS peering will be created.
      * 
* - * - * 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 { @@ -627,67 +569,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource on which DNS peering will be created.
      * 
* - * - * 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 resource on which DNS peering will be created.
      * 
* - * - * 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 resource on which DNS peering will be created.
      * 
* - * - * 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; @@ -695,47 +624,34 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datafusion.v1beta1.DnsPeering dnsPeering_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.DnsPeering, - com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, - com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> - dnsPeeringBuilder_; + com.google.cloud.datafusion.v1beta1.DnsPeering, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> dnsPeeringBuilder_; /** - * - * *
      * Dns peering config.
      * 
* * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; - * * @return Whether the dnsPeering field is set. */ public boolean hasDnsPeering() { return dnsPeeringBuilder_ != null || dnsPeering_ != null; } /** - * - * *
      * Dns peering config.
      * 
* * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; - * * @return The dnsPeering. */ public com.google.cloud.datafusion.v1beta1.DnsPeering getDnsPeering() { if (dnsPeeringBuilder_ == null) { - return dnsPeering_ == null - ? com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance() - : dnsPeering_; + return dnsPeering_ == null ? com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance() : dnsPeering_; } else { return dnsPeeringBuilder_.getMessage(); } } /** - * - * *
      * Dns peering config.
      * 
@@ -756,8 +672,6 @@ public Builder setDnsPeering(com.google.cloud.datafusion.v1beta1.DnsPeering valu return this; } /** - * - * *
      * Dns peering config.
      * 
@@ -776,8 +690,6 @@ public Builder setDnsPeering( return this; } /** - * - * *
      * Dns peering config.
      * 
@@ -788,9 +700,7 @@ public Builder mergeDnsPeering(com.google.cloud.datafusion.v1beta1.DnsPeering va if (dnsPeeringBuilder_ == null) { if (dnsPeering_ != null) { dnsPeering_ = - com.google.cloud.datafusion.v1beta1.DnsPeering.newBuilder(dnsPeering_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datafusion.v1beta1.DnsPeering.newBuilder(dnsPeering_).mergeFrom(value).buildPartial(); } else { dnsPeering_ = value; } @@ -802,8 +712,6 @@ public Builder mergeDnsPeering(com.google.cloud.datafusion.v1beta1.DnsPeering va return this; } /** - * - * *
      * Dns peering config.
      * 
@@ -822,8 +730,6 @@ public Builder clearDnsPeering() { return this; } /** - * - * *
      * Dns peering config.
      * 
@@ -831,13 +737,11 @@ public Builder clearDnsPeering() { * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; */ public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder getDnsPeeringBuilder() { - + onChanged(); return getDnsPeeringFieldBuilder().getBuilder(); } /** - * - * *
      * Dns peering config.
      * 
@@ -848,14 +752,11 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringOrBu if (dnsPeeringBuilder_ != null) { return dnsPeeringBuilder_.getMessageOrBuilder(); } else { - return dnsPeering_ == null - ? com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance() - : dnsPeering_; + return dnsPeering_ == null ? + com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance() : dnsPeering_; } } /** - * - * *
      * Dns peering config.
      * 
@@ -863,24 +764,21 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringOrBu * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.DnsPeering, - com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, - com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> + com.google.cloud.datafusion.v1beta1.DnsPeering, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> getDnsPeeringFieldBuilder() { if (dnsPeeringBuilder_ == null) { - dnsPeeringBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.DnsPeering, - com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, - com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder>( - getDnsPeering(), getParentForChildren(), isClean()); + dnsPeeringBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.DnsPeering, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder>( + getDnsPeering(), + getParentForChildren(), + isClean()); dnsPeering_ = null; } return dnsPeeringBuilder_; } - @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); } @@ -890,12 +788,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) private static final com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest(); } @@ -904,16 +802,16 @@ public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddDnsPeeringRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddDnsPeeringRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddDnsPeeringRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddDnsPeeringRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -928,4 +826,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java index 209c0ac9..7f87cf3f 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java @@ -1,84 +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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface AddDnsPeeringRequestOrBuilder - extends +public interface AddDnsPeeringRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource on which DNS peering will be created.
    * 
* - * - * 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 resource on which DNS peering will be created.
    * 
* - * - * 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(); /** - * - * *
    * Dns peering config.
    * 
* * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; - * * @return Whether the dnsPeering field is set. */ boolean hasDnsPeering(); /** - * - * *
    * Dns peering config.
    * 
* * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; - * * @return The dnsPeering. */ com.google.cloud.datafusion.v1beta1.DnsPeering getDnsPeering(); /** - * - * *
    * Dns peering config.
    * 
diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.java similarity index 65% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.java index 802cec51..3c47fff2 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Response message for set dns peering method.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.AddDnsPeeringResponse} */ -public final class AddDnsPeeringResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AddDnsPeeringResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) AddDnsPeeringResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AddDnsPeeringResponse.newBuilder() to construct. private AddDnsPeeringResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AddDnsPeeringResponse() {} + private AddDnsPeeringResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AddDnsPeeringResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AddDnsPeeringResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private AddDnsPeeringResponse( 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 AddDnsPeeringResponse( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.class, - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.class, com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.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.datafusion.v1beta1.AddDnsPeeringResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse other = - (com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) obj; + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse other = (com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse 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 message for set dns peering method.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.AddDnsPeeringResponse} */ - 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.datafusion.v1beta1.AddDnsPeeringResponse) com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.class, - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.class, com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse buildPartial() { - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse result = - new com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse(this); + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse result = new com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse)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.datafusion.v1beta1.AddDnsPeeringResponse other) { - if (other == com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.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.datafusion.v1beta1.AddDnsPeeringResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) 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.datafusion.v1beta1.AddDnsPeeringResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) private static final com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse(); } @@ -432,16 +400,16 @@ public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddDnsPeeringResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddDnsPeeringResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddDnsPeeringResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddDnsPeeringResponse(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.datafusion.v1beta1.AddDnsPeeringResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java new file mode 100644 index 00000000..b5f5b3eb --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface AddDnsPeeringResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.java similarity index 68% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.java index e0535437..40e8bc05 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Request message for creating a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.CreateInstanceRequest} */ -public final class CreateInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.CreateInstanceRequest) CreateInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateInstanceRequest.newBuilder() to construct. private CreateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -44,15 +26,16 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateInstanceRequest( 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: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - instanceId_ = s; - break; + instanceId_ = s; + break; + } + case 26: { + com.google.cloud.datafusion.v1beta1.Instance.Builder subBuilder = null; + if (instance_ != null) { + subBuilder = instance_.toBuilder(); } - case 26: - { - com.google.cloud.datafusion.v1beta1.Instance.Builder subBuilder = null; - if (instance_ != null) { - subBuilder = instance_.toBuilder(); - } - instance_ = - input.readMessage( - com.google.cloud.datafusion.v1beta1.Instance.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(instance_); - instance_ = subBuilder.buildPartial(); - } - - break; + instance_ = input.readMessage(com.google.cloud.datafusion.v1beta1.Instance.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(instance_); + instance_ = 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) { @@ -115,42 +93,35 @@ private CreateInstanceRequest( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.class, - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.class, com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * - * 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 @@ -159,32 +130,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 instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * - * 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 { @@ -195,14 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INSTANCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceId_; /** - * - * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -211,29 +177,29 @@ public java.lang.String getInstanceId() { 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(); instanceId_ = s; return s; } } /** - * - * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; 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); instanceId_ = b; return b; } else { @@ -244,14 +210,11 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.datafusion.v1beta1.Instance instance_; /** - * - * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 3; - * * @return Whether the instance field is set. */ @java.lang.Override @@ -259,25 +222,18 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 3; - * * @return The instance. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.Instance getInstance() { - return instance_ == null - ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * An instance resource.
    * 
@@ -290,7 +246,6 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,7 +257,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_); } @@ -328,7 +284,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceId_); } if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInstance()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -338,19 +295,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.datafusion.v1beta1.CreateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest other = - (com.google.cloud.datafusion.v1beta1.CreateInstanceRequest) obj; + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest other = (com.google.cloud.datafusion.v1beta1.CreateInstanceRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -377,127 +336,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.CreateInstanceRequest 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 message for creating a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.CreateInstanceRequest} */ - 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.datafusion.v1beta1.CreateInstanceRequest) com.google.cloud.datafusion.v1beta1.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.class, - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.class, com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.newBuilder() @@ -505,15 +454,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(); @@ -531,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -552,8 +502,7 @@ public com.google.cloud.datafusion.v1beta1.CreateInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.CreateInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest result = - new com.google.cloud.datafusion.v1beta1.CreateInstanceRequest(this); + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest result = new com.google.cloud.datafusion.v1beta1.CreateInstanceRequest(this); result.parent_ = parent_; result.instanceId_ = instanceId_; if (instanceBuilder_ == null) { @@ -569,39 +518,38 @@ public com.google.cloud.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.CreateInstanceRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.CreateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -609,8 +557,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.CreateInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -641,8 +588,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.CreateInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.CreateInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -654,23 +600,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * - * 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; @@ -679,24 +621,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * - * 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 { @@ -704,70 +643,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * - * 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 instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * - * 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 instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * - * 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; @@ -775,20 +701,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; 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(); instanceId_ = s; return s; @@ -797,21 +721,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; 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); instanceId_ = b; return b; } else { @@ -819,61 +742,54 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { + public Builder setInstanceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** - * - * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceId_ = value; onChanged(); return this; @@ -881,47 +797,34 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datafusion.v1beta1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, - com.google.cloud.datafusion.v1beta1.Instance.Builder, - com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> - instanceBuilder_; + com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * An instance resource.
      * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 3; - * * @return Whether the instance field is set. */ public boolean hasInstance() { return instanceBuilder_ != null || instance_ != null; } /** - * - * *
      * An instance resource.
      * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 3; - * * @return The instance. */ public com.google.cloud.datafusion.v1beta1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * An instance resource.
      * 
@@ -942,8 +845,6 @@ public Builder setInstance(com.google.cloud.datafusion.v1beta1.Instance value) { return this; } /** - * - * *
      * An instance resource.
      * 
@@ -962,8 +863,6 @@ public Builder setInstance( return this; } /** - * - * *
      * An instance resource.
      * 
@@ -974,9 +873,7 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1beta1.Instance value) if (instanceBuilder_ == null) { if (instance_ != null) { instance_ = - com.google.cloud.datafusion.v1beta1.Instance.newBuilder(instance_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datafusion.v1beta1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); } else { instance_ = value; } @@ -988,8 +885,6 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1beta1.Instance value) return this; } /** - * - * *
      * An instance resource.
      * 
@@ -1008,8 +903,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * An instance resource.
      * 
@@ -1017,13 +910,11 @@ public Builder clearInstance() { * .google.cloud.datafusion.v1beta1.Instance instance = 3; */ public com.google.cloud.datafusion.v1beta1.Instance.Builder getInstanceBuilder() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * An instance resource.
      * 
@@ -1034,14 +925,11 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * An instance resource.
      * 
@@ -1049,24 +937,21 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde * .google.cloud.datafusion.v1beta1.Instance instance = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, - com.google.cloud.datafusion.v1beta1.Instance.Builder, - com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> + com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, - com.google.cloud.datafusion.v1beta1.Instance.Builder, - com.google.cloud.datafusion.v1beta1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; } - @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); } @@ -1076,12 +961,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.CreateInstanceRequest) private static final com.google.cloud.datafusion.v1beta1.CreateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.CreateInstanceRequest(); } @@ -1090,16 +975,16 @@ public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1114,4 +999,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java index 8ca8b502..1d39526e 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java @@ -1,111 +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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface CreateInstanceRequestOrBuilder - extends +public interface CreateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * - * 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 instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * - * 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(); /** - * - * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 3; - * * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 3; - * * @return The instance. */ com.google.cloud.datafusion.v1beta1.Instance getInstance(); /** - * - * *
    * An instance resource.
    * 
diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.java similarity index 70% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.java index d32b7530..d5bfa984 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * The crypto key configuration. This field is used by the Customer-managed
  * encryption keys (CMEK) feature.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1beta1.CryptoKeyConfig}
  */
-public final class CryptoKeyConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CryptoKeyConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.CryptoKeyConfig)
     CryptoKeyConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CryptoKeyConfig.newBuilder() to construct.
   private CryptoKeyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CryptoKeyConfig() {
     keyReference_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CryptoKeyConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CryptoKeyConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private CryptoKeyConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              keyReference_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            keyReference_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,33 +74,29 @@ private CryptoKeyConfig(
     } 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.datafusion.v1beta1.V1Beta1
-        .internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1beta1.V1Beta1
-        .internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable
+    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.class,
-            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder.class);
+            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.class, com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder.class);
   }
 
   public static final int KEY_REFERENCE_FIELD_NUMBER = 1;
   private volatile java.lang.Object keyReference_;
   /**
-   *
-   *
    * 
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -126,7 +104,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @return The keyReference. */ @java.lang.Override @@ -135,15 +112,14 @@ public java.lang.String getKeyReference() { 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(); keyReference_ = s; return s; } } /** - * - * *
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -151,15 +127,16 @@ public java.lang.String getKeyReference() {
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for keyReference. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyReferenceBytes() { + public com.google.protobuf.ByteString + getKeyReferenceBytes() { java.lang.Object ref = keyReference_; 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); keyReference_ = b; return b; } else { @@ -168,7 +145,6 @@ public com.google.protobuf.ByteString getKeyReferenceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +156,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(keyReference_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyReference_); } @@ -204,15 +181,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.datafusion.v1beta1.CryptoKeyConfig)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.CryptoKeyConfig other = - (com.google.cloud.datafusion.v1beta1.CryptoKeyConfig) obj; + com.google.cloud.datafusion.v1beta1.CryptoKeyConfig other = (com.google.cloud.datafusion.v1beta1.CryptoKeyConfig) obj; - if (!getKeyReference().equals(other.getKeyReference())) return false; + if (!getKeyReference() + .equals(other.getKeyReference())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,103 +209,96 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig 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 crypto key configuration. This field is used by the Customer-managed
    * encryption keys (CMEK) feature.
@@ -336,23 +306,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datafusion.v1beta1.CryptoKeyConfig}
    */
-  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.datafusion.v1beta1.CryptoKeyConfig)
       com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.class,
-              com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder.class);
+              com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.class, com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.newBuilder()
@@ -360,15 +328,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();
@@ -378,9 +347,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor;
     }
 
     @java.lang.Override
@@ -399,8 +368,7 @@ public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig buildPartial() {
-      com.google.cloud.datafusion.v1beta1.CryptoKeyConfig result =
-          new com.google.cloud.datafusion.v1beta1.CryptoKeyConfig(this);
+      com.google.cloud.datafusion.v1beta1.CryptoKeyConfig result = new com.google.cloud.datafusion.v1beta1.CryptoKeyConfig(this);
       result.keyReference_ = keyReference_;
       onBuilt();
       return result;
@@ -410,39 +378,38 @@ public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig) {
-        return mergeFrom((com.google.cloud.datafusion.v1beta1.CryptoKeyConfig) other);
+        return mergeFrom((com.google.cloud.datafusion.v1beta1.CryptoKeyConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -450,8 +417,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.CryptoKeyConfig other) {
-      if (other == com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance()) return this;
       if (!other.getKeyReference().isEmpty()) {
         keyReference_ = other.keyReference_;
         onChanged();
@@ -475,8 +441,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.datafusion.v1beta1.CryptoKeyConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.datafusion.v1beta1.CryptoKeyConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -488,8 +453,6 @@ public Builder mergeFrom(
 
     private java.lang.Object keyReference_ = "";
     /**
-     *
-     *
      * 
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -497,13 +460,13 @@ public Builder mergeFrom(
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @return The keyReference. */ public java.lang.String getKeyReference() { java.lang.Object ref = keyReference_; 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(); keyReference_ = s; return s; @@ -512,8 +475,6 @@ public java.lang.String getKeyReference() { } } /** - * - * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -521,14 +482,15 @@ public java.lang.String getKeyReference() {
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for keyReference. */ - public com.google.protobuf.ByteString getKeyReferenceBytes() { + public com.google.protobuf.ByteString + getKeyReferenceBytes() { java.lang.Object ref = keyReference_; 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); keyReference_ = b; return b; } else { @@ -536,8 +498,6 @@ public com.google.protobuf.ByteString getKeyReferenceBytes() { } } /** - * - * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -545,22 +505,20 @@ public com.google.protobuf.ByteString getKeyReferenceBytes() {
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @param value The keyReference to set. * @return This builder for chaining. */ - public Builder setKeyReference(java.lang.String value) { + public Builder setKeyReference( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + keyReference_ = value; onChanged(); return this; } /** - * - * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -568,18 +526,15 @@ public Builder setKeyReference(java.lang.String value) {
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearKeyReference() { - + keyReference_ = getDefaultInstance().getKeyReference(); onChanged(); return this; } /** - * - * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -587,23 +542,23 @@ public Builder clearKeyReference() {
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for keyReference to set. * @return This builder for chaining. */ - public Builder setKeyReferenceBytes(com.google.protobuf.ByteString value) { + public Builder setKeyReferenceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + keyReference_ = 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); } @@ -613,12 +568,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.CryptoKeyConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.CryptoKeyConfig) private static final com.google.cloud.datafusion.v1beta1.CryptoKeyConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.CryptoKeyConfig(); } @@ -627,16 +582,16 @@ public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CryptoKeyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CryptoKeyConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CryptoKeyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CryptoKeyConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -651,4 +606,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.java similarity index 60% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.java index f60505c5..77e5168b 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface CryptoKeyConfigOrBuilder - extends +public interface CryptoKeyConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.CryptoKeyConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -33,13 +15,10 @@ public interface CryptoKeyConfigOrBuilder
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @return The keyReference. */ java.lang.String getKeyReference(); /** - * - * *
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -47,8 +26,8 @@ public interface CryptoKeyConfigOrBuilder
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for keyReference. */ - com.google.protobuf.ByteString getKeyReferenceBytes(); + com.google.protobuf.ByteString + getKeyReferenceBytes(); } diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.java similarity index 65% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.java index 21d86a26..920e9c03 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Request message for deleting a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.DeleteInstanceRequest} */ -public final class DeleteInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.DeleteInstanceRequest) DeleteInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteInstanceRequest.newBuilder() to construct. private DeleteInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteInstanceRequest( 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 DeleteInstanceRequest( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.class, - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.class, com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * - * 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 instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * - * 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.datafusion.v1beta1.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest other = - (com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) obj; + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest other = (com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) 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,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest 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 message for deleting a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.DeleteInstanceRequest} */ - 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.datafusion.v1beta1.DeleteInstanceRequest) com.google.cloud.datafusion.v1beta1.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.class, - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.class, com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.newBuilder() @@ -361,15 +324,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(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest result = - new com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest(this); + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest result = new com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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 { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.DeleteInstanceRequest) private static final com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java new file mode 100644 index 00000000..51ee58ee --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface DeleteInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.DeleteInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * 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-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.java similarity index 72% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.java index f46f7391..193f71a5 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * DNS peering configuration. These configurations are used to create
  * DNS peering with the customer Cloud DNS.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1beta1.DnsPeering}
  */
-public final class DnsPeering extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DnsPeering extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.DnsPeering)
     DnsPeeringOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DnsPeering.newBuilder() to construct.
   private DnsPeering(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DnsPeering() {
     zone_ = "";
     domain_ = "";
@@ -48,15 +30,16 @@ private DnsPeering() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DnsPeering();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DnsPeering(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,48 +58,43 @@ private DnsPeering(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              zone_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            zone_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              domain_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            domain_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            description_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              targetProject_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            targetProject_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              targetNetwork_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            targetNetwork_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -124,39 +102,34 @@ private DnsPeering(
     } 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.datafusion.v1beta1.V1Beta1
-        .internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1beta1.V1Beta1
-        .internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable
+    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1beta1.DnsPeering.class,
-            com.google.cloud.datafusion.v1beta1.DnsPeering.Builder.class);
+            com.google.cloud.datafusion.v1beta1.DnsPeering.class, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder.class);
   }
 
   public static final int ZONE_FIELD_NUMBER = 1;
   private volatile java.lang.Object zone_;
   /**
-   *
-   *
    * 
    * Required. Name of the zone.
    * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ @java.lang.Override @@ -165,29 +138,29 @@ public java.lang.String getZone() { 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(); zone_ = s; return s; } } /** - * - * *
    * Required. Name of the zone.
    * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -198,14 +171,11 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int DOMAIN_FIELD_NUMBER = 2; private volatile java.lang.Object domain_; /** - * - * *
    * Required. Name of the dns.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domain. */ @java.lang.Override @@ -214,29 +184,29 @@ public java.lang.String getDomain() { 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(); domain_ = s; return s; } } /** - * - * *
    * Required. Name of the dns.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = domain_; 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); domain_ = b; return b; } else { @@ -247,14 +217,11 @@ public com.google.protobuf.ByteString getDomainBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Optional. Optional description of the dns zone.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -263,29 +230,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** - * - * *
    * Optional. Optional description of the dns zone.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -296,14 +263,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int TARGET_PROJECT_FIELD_NUMBER = 4; private volatile java.lang.Object targetProject_; /** - * - * *
    * Optional. Optional target project to which dns peering should happen.
    * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The targetProject. */ @java.lang.Override @@ -312,29 +276,29 @@ public java.lang.String getTargetProject() { 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(); targetProject_ = s; return s; } } /** - * - * *
    * Optional. Optional target project to which dns peering should happen.
    * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for targetProject. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetProjectBytes() { + public com.google.protobuf.ByteString + getTargetProjectBytes() { java.lang.Object ref = targetProject_; 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); targetProject_ = b; return b; } else { @@ -345,14 +309,11 @@ public com.google.protobuf.ByteString getTargetProjectBytes() { public static final int TARGET_NETWORK_FIELD_NUMBER = 5; private volatile java.lang.Object targetNetwork_; /** - * - * *
    * Optional. Optional target network to which dns peering should happen.
    * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The targetNetwork. */ @java.lang.Override @@ -361,29 +322,29 @@ public java.lang.String getTargetNetwork() { 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(); targetNetwork_ = s; return s; } } /** - * - * *
    * Optional. Optional target network to which dns peering should happen.
    * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for targetNetwork. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetNetworkBytes() { + public com.google.protobuf.ByteString + getTargetNetworkBytes() { java.lang.Object ref = targetNetwork_; 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); targetNetwork_ = b; return b; } else { @@ -392,7 +353,6 @@ public com.google.protobuf.ByteString getTargetNetworkBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -404,7 +364,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(zone_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zone_); } @@ -452,19 +413,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.datafusion.v1beta1.DnsPeering)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.DnsPeering other = - (com.google.cloud.datafusion.v1beta1.DnsPeering) obj; - - if (!getZone().equals(other.getZone())) return false; - if (!getDomain().equals(other.getDomain())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getTargetProject().equals(other.getTargetProject())) return false; - if (!getTargetNetwork().equals(other.getTargetNetwork())) return false; + com.google.cloud.datafusion.v1beta1.DnsPeering other = (com.google.cloud.datafusion.v1beta1.DnsPeering) obj; + + if (!getZone() + .equals(other.getZone())) return false; + if (!getDomain() + .equals(other.getDomain())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getTargetProject() + .equals(other.getTargetProject())) return false; + if (!getTargetNetwork() + .equals(other.getTargetNetwork())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -491,104 +456,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1beta1.DnsPeering parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1beta1.DnsPeering parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.DnsPeering parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.DnsPeering parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.DnsPeering parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering 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; } /** - * - * *
    * DNS peering configuration. These configurations are used to create
    * DNS peering with the customer Cloud DNS.
@@ -596,23 +554,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datafusion.v1beta1.DnsPeering}
    */
-  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.datafusion.v1beta1.DnsPeering)
       com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1beta1.DnsPeering.class,
-              com.google.cloud.datafusion.v1beta1.DnsPeering.Builder.class);
+              com.google.cloud.datafusion.v1beta1.DnsPeering.class, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1beta1.DnsPeering.newBuilder()
@@ -620,15 +576,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();
@@ -646,9 +603,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor;
     }
 
     @java.lang.Override
@@ -667,8 +624,7 @@ public com.google.cloud.datafusion.v1beta1.DnsPeering build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1beta1.DnsPeering buildPartial() {
-      com.google.cloud.datafusion.v1beta1.DnsPeering result =
-          new com.google.cloud.datafusion.v1beta1.DnsPeering(this);
+      com.google.cloud.datafusion.v1beta1.DnsPeering result = new com.google.cloud.datafusion.v1beta1.DnsPeering(this);
       result.zone_ = zone_;
       result.domain_ = domain_;
       result.description_ = description_;
@@ -682,39 +638,38 @@ public com.google.cloud.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering) {
-        return mergeFrom((com.google.cloud.datafusion.v1beta1.DnsPeering) other);
+        return mergeFrom((com.google.cloud.datafusion.v1beta1.DnsPeering)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -774,20 +729,18 @@ public Builder mergeFrom(
 
     private java.lang.Object zone_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the zone.
      * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -796,21 +749,20 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Name of the zone.
      * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for zone. */ - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -818,61 +770,54 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Name of the zone.
      * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone(java.lang.String value) { + public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the zone.
      * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Name of the zone.
      * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -880,20 +825,18 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object domain_ = ""; /** - * - * *
      * Required. Name of the dns.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; 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(); domain_ = s; return s; @@ -902,21 +845,20 @@ public java.lang.String getDomain() { } } /** - * - * *
      * Required. Name of the dns.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domain. */ - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = domain_; 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); domain_ = b; return b; } else { @@ -924,61 +866,54 @@ public com.google.protobuf.ByteString getDomainBytes() { } } /** - * - * *
      * Required. Name of the dns.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain(java.lang.String value) { + public Builder setDomain( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the dns.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** - * - * *
      * Required. Name of the dns.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes(com.google.protobuf.ByteString value) { + public Builder setDomainBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = value; onChanged(); return this; @@ -986,20 +921,18 @@ public Builder setDomainBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Optional description of the dns zone.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1008,21 +941,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Optional description of the dns zone.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1030,61 +962,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Optional description of the dns zone.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Optional description of the dns zone.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Optional. Optional description of the dns zone.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1092,20 +1017,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object targetProject_ = ""; /** - * - * *
      * Optional. Optional target project to which dns peering should happen.
      * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The targetProject. */ public java.lang.String getTargetProject() { java.lang.Object ref = targetProject_; 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(); targetProject_ = s; return s; @@ -1114,21 +1037,20 @@ public java.lang.String getTargetProject() { } } /** - * - * *
      * Optional. Optional target project to which dns peering should happen.
      * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for targetProject. */ - public com.google.protobuf.ByteString getTargetProjectBytes() { + public com.google.protobuf.ByteString + getTargetProjectBytes() { java.lang.Object ref = targetProject_; 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); targetProject_ = b; return b; } else { @@ -1136,61 +1058,54 @@ public com.google.protobuf.ByteString getTargetProjectBytes() { } } /** - * - * *
      * Optional. Optional target project to which dns peering should happen.
      * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The targetProject to set. * @return This builder for chaining. */ - public Builder setTargetProject(java.lang.String value) { + public Builder setTargetProject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetProject_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Optional target project to which dns peering should happen.
      * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearTargetProject() { - + targetProject_ = getDefaultInstance().getTargetProject(); onChanged(); return this; } /** - * - * *
      * Optional. Optional target project to which dns peering should happen.
      * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for targetProject to set. * @return This builder for chaining. */ - public Builder setTargetProjectBytes(com.google.protobuf.ByteString value) { + public Builder setTargetProjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetProject_ = value; onChanged(); return this; @@ -1198,20 +1113,18 @@ public Builder setTargetProjectBytes(com.google.protobuf.ByteString value) { private java.lang.Object targetNetwork_ = ""; /** - * - * *
      * Optional. Optional target network to which dns peering should happen.
      * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The targetNetwork. */ public java.lang.String getTargetNetwork() { java.lang.Object ref = targetNetwork_; 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(); targetNetwork_ = s; return s; @@ -1220,21 +1133,20 @@ public java.lang.String getTargetNetwork() { } } /** - * - * *
      * Optional. Optional target network to which dns peering should happen.
      * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for targetNetwork. */ - public com.google.protobuf.ByteString getTargetNetworkBytes() { + public com.google.protobuf.ByteString + getTargetNetworkBytes() { java.lang.Object ref = targetNetwork_; 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); targetNetwork_ = b; return b; } else { @@ -1242,68 +1154,61 @@ public com.google.protobuf.ByteString getTargetNetworkBytes() { } } /** - * - * *
      * Optional. Optional target network to which dns peering should happen.
      * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The targetNetwork to set. * @return This builder for chaining. */ - public Builder setTargetNetwork(java.lang.String value) { + public Builder setTargetNetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetNetwork_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Optional target network to which dns peering should happen.
      * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearTargetNetwork() { - + targetNetwork_ = getDefaultInstance().getTargetNetwork(); onChanged(); return this; } /** - * - * *
      * Optional. Optional target network to which dns peering should happen.
      * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for targetNetwork to set. * @return This builder for chaining. */ - public Builder setTargetNetworkBytes(com.google.protobuf.ByteString value) { + public Builder setTargetNetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetNetwork_ = 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); } @@ -1313,12 +1218,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.DnsPeering) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.DnsPeering) private static final com.google.cloud.datafusion.v1beta1.DnsPeering DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.DnsPeering(); } @@ -1327,16 +1232,16 @@ public static com.google.cloud.datafusion.v1beta1.DnsPeering getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DnsPeering parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DnsPeering(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DnsPeering parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DnsPeering(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1351,4 +1256,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.DnsPeering getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java similarity index 70% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java index e54f9512..e4d1f3ee 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java @@ -1,150 +1,109 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface DnsPeeringOrBuilder - extends +public interface DnsPeeringOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.DnsPeering) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the zone.
    * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ java.lang.String getZone(); /** - * - * *
    * Required. Name of the zone.
    * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for zone. */ - com.google.protobuf.ByteString getZoneBytes(); + com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Name of the dns.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domain. */ java.lang.String getDomain(); /** - * - * *
    * Required. Name of the dns.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domain. */ - com.google.protobuf.ByteString getDomainBytes(); + com.google.protobuf.ByteString + getDomainBytes(); /** - * - * *
    * Optional. Optional description of the dns zone.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Optional description of the dns zone.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Optional. Optional target project to which dns peering should happen.
    * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The targetProject. */ java.lang.String getTargetProject(); /** - * - * *
    * Optional. Optional target project to which dns peering should happen.
    * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for targetProject. */ - com.google.protobuf.ByteString getTargetProjectBytes(); + com.google.protobuf.ByteString + getTargetProjectBytes(); /** - * - * *
    * Optional. Optional target network to which dns peering should happen.
    * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The targetNetwork. */ java.lang.String getTargetNetwork(); /** - * - * *
    * Optional. Optional target network to which dns peering should happen.
    * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for targetNetwork. */ - com.google.protobuf.ByteString getTargetNetworkBytes(); + com.google.protobuf.ByteString + getTargetNetworkBytes(); } diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.java similarity index 65% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.java index a0c6703c..c5484536 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Request message for getting details about a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.GetInstanceRequest} */ -public final class GetInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.GetInstanceRequest) GetInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetInstanceRequest.newBuilder() to construct. private GetInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetInstanceRequest( 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 GetInstanceRequest( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.GetInstanceRequest.class, - com.google.cloud.datafusion.v1beta1.GetInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.GetInstanceRequest.class, com.google.cloud.datafusion.v1beta1.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * - * 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 instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * - * 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.datafusion.v1beta1.GetInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.GetInstanceRequest other = - (com.google.cloud.datafusion.v1beta1.GetInstanceRequest) obj; + com.google.cloud.datafusion.v1beta1.GetInstanceRequest other = (com.google.cloud.datafusion.v1beta1.GetInstanceRequest) 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,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.GetInstanceRequest 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 message for getting details about a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.GetInstanceRequest} */ - 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.datafusion.v1beta1.GetInstanceRequest) com.google.cloud.datafusion.v1beta1.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.GetInstanceRequest.class, - com.google.cloud.datafusion.v1beta1.GetInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.GetInstanceRequest.class, com.google.cloud.datafusion.v1beta1.GetInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.GetInstanceRequest.newBuilder() @@ -361,15 +324,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(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.datafusion.v1beta1.GetInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.GetInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.GetInstanceRequest result = - new com.google.cloud.datafusion.v1beta1.GetInstanceRequest(this); + com.google.cloud.datafusion.v1beta1.GetInstanceRequest result = new com.google.cloud.datafusion.v1beta1.GetInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.GetInstanceRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.GetInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.GetInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.GetInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.GetInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.GetInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.GetInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * 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; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * 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 { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * 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); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.GetInstanceRequest) private static final com.google.cloud.datafusion.v1beta1.GetInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.GetInstanceRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java new file mode 100644 index 00000000..71c1dfd2 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface GetInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.GetInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}.
+   * 
+ * + * 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-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.java similarity index 72% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.java index 2e43a981..c46f9f65 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * IAMPolicy encapsulates the IAM policy name, definition and status of
  * policy fetching.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1beta1.IAMPolicy}
  */
-public final class IAMPolicy extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class IAMPolicy extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.IAMPolicy)
     IAMPolicyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use IAMPolicy.newBuilder() to construct.
   private IAMPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private IAMPolicy() {}
+  private IAMPolicy() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new IAMPolicy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private IAMPolicy(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,41 +53,39 @@ private IAMPolicy(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.iam.v1.Policy.Builder subBuilder = null;
-              if (policy_ != null) {
-                subBuilder = policy_.toBuilder();
-              }
-              policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(policy_);
-                policy_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.iam.v1.Policy.Builder subBuilder = null;
+            if (policy_ != null) {
+              subBuilder = policy_.toBuilder();
+            }
+            policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(policy_);
+              policy_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 18: {
+            com.google.rpc.Status.Builder subBuilder = null;
+            if (status_ != null) {
+              subBuilder = status_.toBuilder();
             }
-          case 18:
-            {
-              com.google.rpc.Status.Builder subBuilder = null;
-              if (status_ != null) {
-                subBuilder = status_.toBuilder();
-              }
-              status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(status_);
-                status_ = subBuilder.buildPartial();
-              }
-
-              break;
+            status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(status_);
+              status_ = 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) {
@@ -111,40 +93,35 @@ private IAMPolicy(
     } 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.datafusion.v1beta1.V1Beta1
-        .internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1beta1.V1Beta1
-        .internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable
+    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1beta1.IAMPolicy.class,
-            com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder.class);
+            com.google.cloud.datafusion.v1beta1.IAMPolicy.class, com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder.class);
   }
 
   public static final int POLICY_FIELD_NUMBER = 1;
   private com.google.iam.v1.Policy policy_;
   /**
-   *
-   *
    * 
    * Policy definition if IAM policy fetching is successful,
    * otherwise empty.
    * 
* * .google.iam.v1.Policy policy = 1; - * * @return Whether the policy field is set. */ @java.lang.Override @@ -152,15 +129,12 @@ public boolean hasPolicy() { return policy_ != null; } /** - * - * *
    * Policy definition if IAM policy fetching is successful,
    * otherwise empty.
    * 
* * .google.iam.v1.Policy policy = 1; - * * @return The policy. */ @java.lang.Override @@ -168,8 +142,6 @@ public com.google.iam.v1.Policy getPolicy() { return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; } /** - * - * *
    * Policy definition if IAM policy fetching is successful,
    * otherwise empty.
@@ -185,14 +157,11 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
   public static final int STATUS_FIELD_NUMBER = 2;
   private com.google.rpc.Status status_;
   /**
-   *
-   *
    * 
    * Status of iam policy fetching.
    * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ @java.lang.Override @@ -200,14 +169,11 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * Status of iam policy fetching.
    * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -215,8 +181,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * Status of iam policy fetching.
    * 
@@ -229,7 +193,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -241,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 (policy_ != null) { output.writeMessage(1, getPolicy()); } @@ -258,10 +222,12 @@ public int getSerializedSize() { size = 0; if (policy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPolicy()); } if (status_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStatus()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -271,21 +237,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.datafusion.v1beta1.IAMPolicy)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.IAMPolicy other = - (com.google.cloud.datafusion.v1beta1.IAMPolicy) obj; + com.google.cloud.datafusion.v1beta1.IAMPolicy other = (com.google.cloud.datafusion.v1beta1.IAMPolicy) obj; if (hasPolicy() != other.hasPolicy()) return false; if (hasPolicy()) { - if (!getPolicy().equals(other.getPolicy())) return false; + if (!getPolicy() + .equals(other.getPolicy())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus().equals(other.getStatus())) return false; + if (!getStatus() + .equals(other.getStatus())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -311,104 +278,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1beta1.IAMPolicy parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1beta1.IAMPolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.IAMPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.IAMPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.IAMPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy 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; } /** - * - * *
    * IAMPolicy encapsulates the IAM policy name, definition and status of
    * policy fetching.
@@ -416,23 +376,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datafusion.v1beta1.IAMPolicy}
    */
-  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.datafusion.v1beta1.IAMPolicy)
       com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1beta1.IAMPolicy.class,
-              com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder.class);
+              com.google.cloud.datafusion.v1beta1.IAMPolicy.class, com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1beta1.IAMPolicy.newBuilder()
@@ -440,15 +398,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();
@@ -468,9 +427,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -489,8 +448,7 @@ public com.google.cloud.datafusion.v1beta1.IAMPolicy build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1beta1.IAMPolicy buildPartial() {
-      com.google.cloud.datafusion.v1beta1.IAMPolicy result =
-          new com.google.cloud.datafusion.v1beta1.IAMPolicy(this);
+      com.google.cloud.datafusion.v1beta1.IAMPolicy result = new com.google.cloud.datafusion.v1beta1.IAMPolicy(this);
       if (policyBuilder_ == null) {
         result.policy_ = policy_;
       } else {
@@ -509,39 +467,38 @@ public com.google.cloud.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy) {
-        return mergeFrom((com.google.cloud.datafusion.v1beta1.IAMPolicy) other);
+        return mergeFrom((com.google.cloud.datafusion.v1beta1.IAMPolicy)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -587,35 +544,26 @@ public Builder mergeFrom(
 
     private com.google.iam.v1.Policy policy_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy,
-            com.google.iam.v1.Policy.Builder,
-            com.google.iam.v1.PolicyOrBuilder>
-        policyBuilder_;
+        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> policyBuilder_;
     /**
-     *
-     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
      * 
* * .google.iam.v1.Policy policy = 1; - * * @return Whether the policy field is set. */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; } /** - * - * *
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
      * 
* * .google.iam.v1.Policy policy = 1; - * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -626,8 +574,6 @@ public com.google.iam.v1.Policy getPolicy() { } } /** - * - * *
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -649,8 +595,6 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -658,7 +602,8 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
      *
      * .google.iam.v1.Policy policy = 1;
      */
-    public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
+    public Builder setPolicy(
+        com.google.iam.v1.Policy.Builder builderForValue) {
       if (policyBuilder_ == null) {
         policy_ = builderForValue.build();
         onChanged();
@@ -669,8 +614,6 @@ public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -681,7 +624,8 @@ public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
     public Builder mergePolicy(com.google.iam.v1.Policy value) {
       if (policyBuilder_ == null) {
         if (policy_ != null) {
-          policy_ = com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
+          policy_ =
+            com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
         } else {
           policy_ = value;
         }
@@ -693,8 +637,6 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -714,8 +656,6 @@ public Builder clearPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -724,13 +664,11 @@ public Builder clearPolicy() {
      * .google.iam.v1.Policy policy = 1;
      */
     public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
-
+      
       onChanged();
       return getPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -742,12 +680,11 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
       if (policyBuilder_ != null) {
         return policyBuilder_.getMessageOrBuilder();
       } else {
-        return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_;
+        return policy_ == null ?
+            com.google.iam.v1.Policy.getDefaultInstance() : policy_;
       }
     }
     /**
-     *
-     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -756,16 +693,14 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
      * .google.iam.v1.Policy policy = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy,
-            com.google.iam.v1.Policy.Builder,
-            com.google.iam.v1.PolicyOrBuilder>
+        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
         getPolicyFieldBuilder() {
       if (policyBuilder_ == null) {
-        policyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.iam.v1.Policy,
-                com.google.iam.v1.Policy.Builder,
-                com.google.iam.v1.PolicyOrBuilder>(getPolicy(), getParentForChildren(), isClean());
+        policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
+                getPolicy(),
+                getParentForChildren(),
+                isClean());
         policy_ = null;
       }
       return policyBuilder_;
@@ -773,31 +708,24 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
 
     private com.google.rpc.Status status_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        statusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
     /**
-     *
-     *
      * 
      * Status of iam policy fetching.
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
      * Status of iam policy fetching.
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -808,8 +736,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * Status of iam policy fetching.
      * 
@@ -830,15 +756,14 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Status of iam policy fetching.
      * 
* * .google.rpc.Status status = 2; */ - public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus( + com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -849,8 +774,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Status of iam policy fetching.
      * 
@@ -860,7 +783,8 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = + com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -872,8 +796,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Status of iam policy fetching.
      * 
@@ -892,8 +814,6 @@ public Builder clearStatus() { return this; } /** - * - * *
      * Status of iam policy fetching.
      * 
@@ -901,13 +821,11 @@ public Builder clearStatus() { * .google.rpc.Status status = 2; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Status of iam policy fetching.
      * 
@@ -918,12 +836,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? + com.google.rpc.Status.getDefaultInstance() : status_; } } /** - * - * *
      * Status of iam policy fetching.
      * 
@@ -931,21 +848,21 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; } - @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); } @@ -955,12 +872,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.IAMPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.IAMPolicy) private static final com.google.cloud.datafusion.v1beta1.IAMPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.IAMPolicy(); } @@ -969,16 +886,16 @@ public static com.google.cloud.datafusion.v1beta1.IAMPolicy getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IAMPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IAMPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IAMPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IAMPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -993,4 +910,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.IAMPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.java similarity index 68% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.java index c60e2bd0..d2c3bfa0 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface IAMPolicyOrBuilder - extends +public interface IAMPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.IAMPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Policy definition if IAM policy fetching is successful,
    * otherwise empty.
    * 
* * .google.iam.v1.Policy policy = 1; - * * @return Whether the policy field is set. */ boolean hasPolicy(); /** - * - * *
    * Policy definition if IAM policy fetching is successful,
    * otherwise empty.
    * 
* * .google.iam.v1.Policy policy = 1; - * * @return The policy. */ com.google.iam.v1.Policy getPolicy(); /** - * - * *
    * Policy definition if IAM policy fetching is successful,
    * otherwise empty.
@@ -62,32 +38,24 @@ public interface IAMPolicyOrBuilder
   com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * Status of iam policy fetching.
    * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * Status of iam policy fetching.
    * 
* * .google.rpc.Status status = 2; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
    * Status of iam policy fetching.
    * 
diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.java similarity index 71% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.java index 78b9e129..e02d5de3 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Represents a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Instance} */ -public final class Instance extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Instance extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.Instance) InstanceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Instance.newBuilder() to construct. private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Instance() { name_ = ""; description_ = ""; @@ -60,15 +42,16 @@ private Instance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Instance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Instance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -88,278 +71,242 @@ private Instance( 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(); - description_ = s; - break; + description_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; + } + case 32: { + + enableStackdriverLogging_ = input.readBool(); + break; + } + case 40: { + + enableStackdriverMonitoring_ = input.readBool(); + break; + } + case 48: { + + privateInstance_ = input.readBool(); + break; + } + case 58: { + com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder subBuilder = null; + if (networkConfig_ != null) { + subBuilder = networkConfig_.toBuilder(); + } + networkConfig_ = input.readMessage(com.google.cloud.datafusion.v1beta1.NetworkConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networkConfig_); + networkConfig_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - type_ = rawValue; - break; + break; + } + case 66: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 32: - { - enableStackdriverLogging_ = input.readBool(); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 74: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + options_ = com.google.protobuf.MapField.newMapField( + OptionsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; } - case 40: - { - enableStackdriverMonitoring_ = input.readBool(); - break; + com.google.protobuf.MapEntry + options__ = input.readMessage( + OptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + options_.getMutableMap().put( + options__.getKey(), options__.getValue()); + break; + } + case 82: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 48: - { - privateInstance_ = input.readBool(); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder subBuilder = null; - if (networkConfig_ != null) { - subBuilder = networkConfig_.toBuilder(); - } - networkConfig_ = - input.readMessage( - com.google.cloud.datafusion.v1beta1.NetworkConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(networkConfig_); - networkConfig_ = subBuilder.buildPartial(); - } - break; - } - case 66: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + break; + } + case 90: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 74: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - options_ = - com.google.protobuf.MapField.newMapField( - OptionsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry options__ = - input.readMessage( - OptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - options_.getMutableMap().put(options__.getKey(), options__.getValue()); - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 82: - { - 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 90: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } + break; + } + case 96: { + int rawValue = input.readEnum(); - break; - } - case 96: - { - int rawValue = input.readEnum(); + state_ = rawValue; + break; + } + case 106: { + java.lang.String s = input.readStringRequireUtf8(); - state_ = rawValue; - break; - } - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); + stateMessage_ = s; + break; + } + case 114: { + java.lang.String s = input.readStringRequireUtf8(); - stateMessage_ = s; - break; - } - case 114: - { - java.lang.String s = input.readStringRequireUtf8(); + serviceEndpoint_ = s; + break; + } + case 122: { + java.lang.String s = input.readStringRequireUtf8(); - serviceEndpoint_ = s; - break; - } - case 122: - { - java.lang.String s = input.readStringRequireUtf8(); + zone_ = s; + break; + } + case 130: { + java.lang.String s = input.readStringRequireUtf8(); - zone_ = s; - break; - } - case 130: - { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 138: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 138: - { - java.lang.String s = input.readStringRequireUtf8(); + serviceAccount_ = s; + break; + } + case 146: { + java.lang.String s = input.readStringRequireUtf8(); - serviceAccount_ = s; - break; + displayName_ = s; + break; + } + case 154: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + availableVersion_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 146: - { - java.lang.String s = input.readStringRequireUtf8(); + availableVersion_.add( + input.readMessage(com.google.cloud.datafusion.v1beta1.Version.parser(), extensionRegistry)); + break; + } + case 162: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 154: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - availableVersion_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - availableVersion_.add( - input.readMessage( - com.google.cloud.datafusion.v1beta1.Version.parser(), extensionRegistry)); - break; - } - case 162: - { - java.lang.String s = input.readStringRequireUtf8(); + apiEndpoint_ = s; + break; + } + case 170: { + java.lang.String s = input.readStringRequireUtf8(); - apiEndpoint_ = s; - break; + gcsBucket_ = s; + break; + } + case 178: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + accelerators_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 170: - { - java.lang.String s = input.readStringRequireUtf8(); + accelerators_.add( + input.readMessage(com.google.cloud.datafusion.v1beta1.Accelerator.parser(), extensionRegistry)); + break; + } + case 186: { + java.lang.String s = input.readStringRequireUtf8(); - gcsBucket_ = s; - break; - } - case 178: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - accelerators_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - accelerators_.add( - input.readMessage( - com.google.cloud.datafusion.v1beta1.Accelerator.parser(), extensionRegistry)); - break; - } - case 186: - { - java.lang.String s = input.readStringRequireUtf8(); + p4ServiceAccount_ = s; + break; + } + case 194: { + java.lang.String s = input.readStringRequireUtf8(); - p4ServiceAccount_ = s; - break; - } - case 194: - { - java.lang.String s = input.readStringRequireUtf8(); + tenantProjectId_ = s; + break; + } + case 202: { + java.lang.String s = input.readStringRequireUtf8(); - tenantProjectId_ = s; - break; - } - case 202: - { - java.lang.String s = input.readStringRequireUtf8(); + dataprocServiceAccount_ = s; + break; + } + case 208: { - dataprocServiceAccount_ = s; - break; + enableRbac_ = input.readBool(); + break; + } + case 218: { + com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder subBuilder = null; + if (cryptoKeyConfig_ != null) { + subBuilder = cryptoKeyConfig_.toBuilder(); } - case 208: - { - enableRbac_ = input.readBool(); - break; + cryptoKeyConfig_ = input.readMessage(com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cryptoKeyConfig_); + cryptoKeyConfig_ = subBuilder.buildPartial(); } - case 218: - { - com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder subBuilder = null; - if (cryptoKeyConfig_ != null) { - subBuilder = cryptoKeyConfig_.toBuilder(); - } - cryptoKeyConfig_ = - input.readMessage( - com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cryptoKeyConfig_); - cryptoKeyConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 224: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + disabledReason_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - case 224: - { + disabledReason_.add(rawValue); + break; + } + case 226: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000010) != 0)) { disabledReason_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } disabledReason_.add(rawValue); - break; - } - case 226: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - disabledReason_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - disabledReason_.add(rawValue); - } - input.popLimit(oldLimit); - break; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(oldLimit); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -367,7 +314,8 @@ private Instance( } 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_ & 0x00000004) != 0)) { availableVersion_ = java.util.Collections.unmodifiableList(availableVersion_); @@ -382,38 +330,34 @@ private Instance( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Instance_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 8: return internalGetLabels(); case 9: return internalGetOptions(); 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Instance.class, - com.google.cloud.datafusion.v1beta1.Instance.Builder.class); + com.google.cloud.datafusion.v1beta1.Instance.class, com.google.cloud.datafusion.v1beta1.Instance.Builder.class); } /** - * - * *
    * Represents the type of Data Fusion instance. Each type is configured with
    * the default settings for processing and memory.
@@ -421,10 +365,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    *
    * Protobuf enum {@code google.cloud.datafusion.v1beta1.Instance.Type}
    */
-  public enum Type implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Type
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * No type specified. The instance creation will fail.
      * 
@@ -433,8 +376,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Basic Data Fusion instance. In Basic type, the user will be able to
      * create data pipelines using point and click UI. However, there are
@@ -446,8 +387,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     BASIC(1),
     /**
-     *
-     *
      * 
      * Enterprise Data Fusion instance. In Enterprise type, the user will have
      * all features available, such as support for streaming pipelines,
@@ -458,8 +397,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     ENTERPRISE(2),
     /**
-     *
-     *
      * 
      * Developer Data Fusion instance. In Developer type, the user will have all
      * features available but with restrictive capabilities. This is to help
@@ -474,8 +411,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * No type specified. The instance creation will fail.
      * 
@@ -484,8 +419,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Basic Data Fusion instance. In Basic type, the user will be able to
      * create data pipelines using point and click UI. However, there are
@@ -497,8 +430,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BASIC_VALUE = 1;
     /**
-     *
-     *
      * 
      * Enterprise Data Fusion instance. In Enterprise type, the user will have
      * all features available, such as support for streaming pipelines,
@@ -509,8 +440,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ENTERPRISE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Developer Data Fusion instance. In Developer type, the user will have all
      * features available but with restrictive capabilities. This is to help
@@ -522,6 +451,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEVELOPER_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -546,51 +476,50 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return BASIC;
-        case 2:
-          return ENTERPRISE;
-        case 3:
-          return DEVELOPER;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return BASIC;
+        case 2: return ENTERPRISE;
+        case 3: return DEVELOPER;
+        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() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.datafusion.v1beta1.Instance.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;
@@ -608,18 +537,15 @@ private Type(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Represents the state of a Data Fusion instance
    * 
* * Protobuf enum {@code google.cloud.datafusion.v1beta1.Instance.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Instance does not have a state yet
      * 
@@ -628,8 +554,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Instance is being created
      * 
@@ -638,8 +562,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(1), /** - * - * *
      * Instance is running and ready for requests
      * 
@@ -648,8 +570,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
      * Instance creation failed
      * 
@@ -658,8 +578,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * Instance is being deleted
      * 
@@ -668,8 +586,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
      * Instance is being upgraded
      * 
@@ -678,8 +594,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UPGRADING(5), /** - * - * *
      * Instance is being restarted
      * 
@@ -688,8 +602,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RESTARTING(6), /** - * - * *
      * Instance is being updated on customer request
      * 
@@ -698,8 +610,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UPDATING(7), /** - * - * *
      * Instance is being auto-updated
      * 
@@ -708,8 +618,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ AUTO_UPDATING(8), /** - * - * *
      * Instance is being auto-upgraded
      * 
@@ -718,8 +626,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ AUTO_UPGRADING(9), /** - * - * *
      * Instance is disabled
      * 
@@ -731,8 +637,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Instance does not have a state yet
      * 
@@ -741,8 +645,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Instance is being created
      * 
@@ -751,8 +653,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 1; /** - * - * *
      * Instance is running and ready for requests
      * 
@@ -761,8 +661,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
      * Instance creation failed
      * 
@@ -771,8 +669,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * Instance is being deleted
      * 
@@ -781,8 +677,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; /** - * - * *
      * Instance is being upgraded
      * 
@@ -791,8 +685,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADING_VALUE = 5; /** - * - * *
      * Instance is being restarted
      * 
@@ -801,8 +693,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESTARTING_VALUE = 6; /** - * - * *
      * Instance is being updated on customer request
      * 
@@ -811,8 +701,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATING_VALUE = 7; /** - * - * *
      * Instance is being auto-updated
      * 
@@ -821,8 +709,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTO_UPDATING_VALUE = 8; /** - * - * *
      * Instance is being auto-upgraded
      * 
@@ -831,8 +717,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTO_UPGRADING_VALUE = 9; /** - * - * *
      * Instance is disabled
      * 
@@ -841,6 +725,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DISABLED_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -865,65 +750,57 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return CREATING; - case 2: - return RUNNING; - case 3: - return FAILED; - case 4: - return DELETING; - case 5: - return UPGRADING; - case 6: - return RESTARTING; - case 7: - return UPDATING; - case 8: - return AUTO_UPDATING; - case 9: - return AUTO_UPGRADING; - case 10: - return DISABLED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return STATE_UNSPECIFIED; + case 1: return CREATING; + case 2: return RUNNING; + case 3: return FAILED; + case 4: return DELETING; + case 5: return UPGRADING; + case 6: return RESTARTING; + case 7: return UPDATING; + case 8: return AUTO_UPDATING; + case 9: return AUTO_UPGRADING; + case 10: return DISABLED; + 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); + } + }; - 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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.datafusion.v1beta1.Instance.getDescriptor().getEnumTypes().get(1); } 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; @@ -941,18 +818,15 @@ private State(int value) { } /** - * - * *
    * The reason for disabling the instance if the state is DISABLED.
    * 
* * Protobuf enum {@code google.cloud.datafusion.v1beta1.Instance.DisabledReason} */ - public enum DisabledReason implements com.google.protobuf.ProtocolMessageEnum { + public enum DisabledReason + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * This is an unknown reason for disabling.
      * 
@@ -961,8 +835,6 @@ public enum DisabledReason implements com.google.protobuf.ProtocolMessageEnum { */ DISABLED_REASON_UNSPECIFIED(0), /** - * - * *
      * The KMS key used by the instance is either revoked or denied access to
      * 
@@ -974,8 +846,6 @@ public enum DisabledReason implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * This is an unknown reason for disabling.
      * 
@@ -984,8 +854,6 @@ public enum DisabledReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DISABLED_REASON_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The KMS key used by the instance is either revoked or denied access to
      * 
@@ -994,6 +862,7 @@ public enum DisabledReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int KMS_KEY_ISSUE_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1018,47 +887,48 @@ public static DisabledReason valueOf(int value) { */ public static DisabledReason forNumber(int value) { switch (value) { - case 0: - return DISABLED_REASON_UNSPECIFIED; - case 1: - return KMS_KEY_ISSUE; - default: - return null; + case 0: return DISABLED_REASON_UNSPECIFIED; + case 1: return KMS_KEY_ISSUE; + 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< + DisabledReason> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DisabledReason findValueByNumber(int number) { + return DisabledReason.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DisabledReason findValueByNumber(int number) { - return DisabledReason.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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.datafusion.v1beta1.Instance.getDescriptor().getEnumTypes().get(2); } private static final DisabledReason[] VALUES = values(); - public static DisabledReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DisabledReason 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; @@ -1078,17 +948,12 @@ private DisabledReason(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -1097,32 +962,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; } } /** - * - * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -1133,14 +996,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * A description of this instance.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -1149,29 +1009,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** - * - * *
    * A description of this instance.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1182,54 +1042,38 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int TYPE_FIELD_NUMBER = 3; private int type_; /** - * - * *
    * Required. Instance type.
    * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. Instance type.
    * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.datafusion.v1beta1.Instance.Type getType() { + @java.lang.Override public com.google.cloud.datafusion.v1beta1.Instance.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Instance.Type result = - com.google.cloud.datafusion.v1beta1.Instance.Type.valueOf(type_); + com.google.cloud.datafusion.v1beta1.Instance.Type result = com.google.cloud.datafusion.v1beta1.Instance.Type.valueOf(type_); return result == null ? com.google.cloud.datafusion.v1beta1.Instance.Type.UNRECOGNIZED : result; } public static final int ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER = 4; private boolean enableStackdriverLogging_; /** - * - * *
    * Option to enable Stackdriver Logging.
    * 
* * bool enable_stackdriver_logging = 4; - * * @return The enableStackdriverLogging. */ @java.lang.Override @@ -1240,14 +1084,11 @@ public boolean getEnableStackdriverLogging() { public static final int ENABLE_STACKDRIVER_MONITORING_FIELD_NUMBER = 5; private boolean enableStackdriverMonitoring_; /** - * - * *
    * Option to enable Stackdriver Monitoring.
    * 
* * bool enable_stackdriver_monitoring = 5; - * * @return The enableStackdriverMonitoring. */ @java.lang.Override @@ -1258,8 +1099,6 @@ public boolean getEnableStackdriverMonitoring() { public static final int PRIVATE_INSTANCE_FIELD_NUMBER = 6; private boolean privateInstance_; /** - * - * *
    * Specifies whether the Data Fusion instance should be private. If set to
    * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -1267,7 +1106,6 @@ public boolean getEnableStackdriverMonitoring() {
    * 
* * bool private_instance = 6; - * * @return The privateInstance. */ @java.lang.Override @@ -1278,15 +1116,12 @@ public boolean getPrivateInstance() { public static final int NETWORK_CONFIG_FIELD_NUMBER = 7; private com.google.cloud.datafusion.v1beta1.NetworkConfig networkConfig_; /** - * - * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7; - * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -1294,26 +1129,19 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** - * - * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7; - * * @return The networkConfig. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.NetworkConfig getNetworkConfig() { - return networkConfig_ == null - ? com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance() : networkConfig_; } /** - * - * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
@@ -1327,23 +1155,24 @@ public com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder getNetworkConf
   }
 
   public static final int LABELS_FIELD_NUMBER = 8;
-
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.datafusion.v1beta1.V1Beta1
-                .internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField labels_;
-
-  private com.google.protobuf.MapField internalGetLabels() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> labels_;
+  private com.google.protobuf.MapField
+  internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -1352,8 +1181,6 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1362,22 +1189,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 8;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1387,12 +1214,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1402,16 +1228,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1421,11 +1247,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1433,23 +1260,24 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int OPTIONS_FIELD_NUMBER = 9;
-
   private static final class OptionsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.datafusion.v1beta1.V1Beta1
-                .internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField options_;
-
-  private com.google.protobuf.MapField internalGetOptions() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> options_;
+  private com.google.protobuf.MapField
+  internalGetOptions() {
     if (options_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(OptionsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          OptionsDefaultEntryHolder.defaultEntry);
     }
     return options_;
   }
@@ -1458,8 +1286,6 @@ public int getOptionsCount() {
     return internalGetOptions().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1467,22 +1293,22 @@ public int getOptionsCount() {
    *
    * map<string, string> options = 9;
    */
+
   @java.lang.Override
-  public boolean containsOptions(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsOptions(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetOptions().getMap().containsKey(key);
   }
-  /** Use {@link #getOptionsMap()} instead. */
+  /**
+   * Use {@link #getOptionsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getOptions() {
     return getOptionsMap();
   }
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1491,12 +1317,11 @@ public java.util.Map getOptions() {
    * map<string, string> options = 9;
    */
   @java.lang.Override
+
   public java.util.Map getOptionsMap() {
     return internalGetOptions().getMap();
   }
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1505,16 +1330,16 @@ public java.util.Map getOptionsMap() {
    * map<string, string> options = 9;
    */
   @java.lang.Override
-  public java.lang.String getOptionsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetOptions().getMap();
+
+  public java.lang.String getOptionsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetOptions().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1523,11 +1348,12 @@ public java.lang.String getOptionsOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> options = 9;
    */
   @java.lang.Override
-  public java.lang.String getOptionsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetOptions().getMap();
+
+  public java.lang.String getOptionsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetOptions().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1537,15 +1363,11 @@ public java.lang.String getOptionsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 10;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -1553,15 +1375,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -1569,14 +1387,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1586,15 +1401,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1602,15 +1413,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1618,14 +1425,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1635,57 +1439,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 12; private int state_; /** - * - * *
    * Output only. The current state of this Data Fusion instance.
    * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.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 this Data Fusion instance.
    * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.datafusion.v1beta1.Instance.State getState() { + @java.lang.Override public com.google.cloud.datafusion.v1beta1.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Instance.State result = - com.google.cloud.datafusion.v1beta1.Instance.State.valueOf(state_); - return result == null - ? com.google.cloud.datafusion.v1beta1.Instance.State.UNRECOGNIZED - : result; + com.google.cloud.datafusion.v1beta1.Instance.State result = com.google.cloud.datafusion.v1beta1.Instance.State.valueOf(state_); + return result == null ? com.google.cloud.datafusion.v1beta1.Instance.State.UNRECOGNIZED : result; } public static final int STATE_MESSAGE_FIELD_NUMBER = 13; private volatile java.lang.Object stateMessage_; /** - * - * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stateMessage. */ @java.lang.Override @@ -1694,30 +1480,30 @@ public java.lang.String getStateMessage() { 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(); stateMessage_ = s; return s; } } /** - * - * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stateMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStateMessageBytes() { + public com.google.protobuf.ByteString + getStateMessageBytes() { java.lang.Object ref = stateMessage_; 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); stateMessage_ = b; return b; } else { @@ -1728,14 +1514,11 @@ public com.google.protobuf.ByteString getStateMessageBytes() { public static final int SERVICE_ENDPOINT_FIELD_NUMBER = 14; private volatile java.lang.Object serviceEndpoint_; /** - * - * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The serviceEndpoint. */ @java.lang.Override @@ -1744,29 +1527,29 @@ public java.lang.String getServiceEndpoint() { 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(); serviceEndpoint_ = s; return s; } } /** - * - * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for serviceEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceEndpointBytes() { + public com.google.protobuf.ByteString + getServiceEndpointBytes() { java.lang.Object ref = serviceEndpoint_; 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); serviceEndpoint_ = b; return b; } else { @@ -1777,15 +1560,12 @@ public com.google.protobuf.ByteString getServiceEndpointBytes() { public static final int ZONE_FIELD_NUMBER = 15; private volatile java.lang.Object zone_; /** - * - * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; - * * @return The zone. */ @java.lang.Override @@ -1794,30 +1574,30 @@ public java.lang.String getZone() { 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(); zone_ = s; return s; } } /** - * - * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; - * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1828,14 +1608,11 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int VERSION_FIELD_NUMBER = 16; private volatile java.lang.Object version_; /** - * - * *
    * Current version of Data Fusion.
    * 
* * string version = 16; - * * @return The version. */ @java.lang.Override @@ -1844,29 +1621,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** - * - * *
    * Current version of Data Fusion.
    * 
* * string version = 16; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -1877,55 +1654,46 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 17; private volatile java.lang.Object serviceAccount_; /** - * - * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @return The serviceAccount. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getServiceAccount() { + @java.lang.Deprecated public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; } } /** - * - * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @return The bytes for serviceAccount. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getServiceAccountBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -1936,14 +1704,11 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 18; private volatile java.lang.Object displayName_; /** - * - * *
    * Display name for an instance.
    * 
* * string display_name = 18; - * * @return The displayName. */ @java.lang.Override @@ -1952,29 +1717,29 @@ 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; } } /** - * - * *
    * Display name for an instance.
    * 
* * string display_name = 18; - * * @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 { @@ -1985,8 +1750,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int AVAILABLE_VERSION_FIELD_NUMBER = 19; private java.util.List availableVersion_; /** - * - * *
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1999,8 +1762,6 @@ public java.util.List getAvailableV
     return availableVersion_;
   }
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -2009,13 +1770,11 @@ public java.util.List getAvailableV
    * repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAvailableVersionOrBuilderList() {
     return availableVersion_;
   }
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -2028,8 +1787,6 @@ public int getAvailableVersionCount() {
     return availableVersion_.size();
   }
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -2042,8 +1799,6 @@ public com.google.cloud.datafusion.v1beta1.Version getAvailableVersion(int index
     return availableVersion_.get(index);
   }
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -2060,14 +1815,11 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionO
   public static final int API_ENDPOINT_FIELD_NUMBER = 20;
   private volatile java.lang.Object apiEndpoint_;
   /**
-   *
-   *
    * 
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiEndpoint. */ @java.lang.Override @@ -2076,29 +1828,29 @@ public java.lang.String getApiEndpoint() { 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(); apiEndpoint_ = s; return s; } } /** - * - * *
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString getApiEndpointBytes() { + public com.google.protobuf.ByteString + getApiEndpointBytes() { java.lang.Object ref = apiEndpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiEndpoint_ = b; return b; } else { @@ -2109,14 +1861,11 @@ public com.google.protobuf.ByteString getApiEndpointBytes() { public static final int GCS_BUCKET_FIELD_NUMBER = 21; private volatile java.lang.Object gcsBucket_; /** - * - * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The gcsBucket. */ @java.lang.Override @@ -2125,29 +1874,29 @@ public java.lang.String getGcsBucket() { 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(); gcsBucket_ = s; return s; } } /** - * - * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for gcsBucket. */ @java.lang.Override - public com.google.protobuf.ByteString getGcsBucketBytes() { + public com.google.protobuf.ByteString + getGcsBucketBytes() { java.lang.Object ref = gcsBucket_; 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); gcsBucket_ = b; return b; } else { @@ -2158,8 +1907,6 @@ public com.google.protobuf.ByteString getGcsBucketBytes() { public static final int ACCELERATORS_FIELD_NUMBER = 22; private java.util.List accelerators_; /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -2171,8 +1918,6 @@ public java.util.List getAccele return accelerators_; } /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -2180,13 +1925,11 @@ public java.util.List getAccele * repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22; */ @java.lang.Override - public java.util.List + public java.util.List getAcceleratorsOrBuilderList() { return accelerators_; } /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -2198,8 +1941,6 @@ public int getAcceleratorsCount() { return accelerators_.size(); } /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -2211,8 +1952,6 @@ public com.google.cloud.datafusion.v1beta1.Accelerator getAccelerators(int index return accelerators_.get(index); } /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -2228,14 +1967,11 @@ public com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsO public static final int P4_SERVICE_ACCOUNT_FIELD_NUMBER = 23; private volatile java.lang.Object p4ServiceAccount_; /** - * - * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The p4ServiceAccount. */ @java.lang.Override @@ -2244,29 +1980,29 @@ public java.lang.String getP4ServiceAccount() { 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(); p4ServiceAccount_ = s; return s; } } /** - * - * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for p4ServiceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getP4ServiceAccountBytes() { + public com.google.protobuf.ByteString + getP4ServiceAccountBytes() { java.lang.Object ref = p4ServiceAccount_; 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); p4ServiceAccount_ = b; return b; } else { @@ -2277,14 +2013,11 @@ public com.google.protobuf.ByteString getP4ServiceAccountBytes() { public static final int TENANT_PROJECT_ID_FIELD_NUMBER = 24; private volatile java.lang.Object tenantProjectId_; /** - * - * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tenantProjectId. */ @java.lang.Override @@ -2293,29 +2026,29 @@ public java.lang.String getTenantProjectId() { 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(); tenantProjectId_ = s; return s; } } /** - * - * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for tenantProjectId. */ @java.lang.Override - public com.google.protobuf.ByteString getTenantProjectIdBytes() { + public com.google.protobuf.ByteString + getTenantProjectIdBytes() { java.lang.Object ref = tenantProjectId_; 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); tenantProjectId_ = b; return b; } else { @@ -2326,8 +2059,6 @@ public com.google.protobuf.ByteString getTenantProjectIdBytes() { public static final int DATAPROC_SERVICE_ACCOUNT_FIELD_NUMBER = 25; private volatile java.lang.Object dataprocServiceAccount_; /** - * - * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -2336,7 +2067,6 @@ public com.google.protobuf.ByteString getTenantProjectIdBytes() {
    * 
* * string dataproc_service_account = 25; - * * @return The dataprocServiceAccount. */ @java.lang.Override @@ -2345,15 +2075,14 @@ public java.lang.String getDataprocServiceAccount() { 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(); dataprocServiceAccount_ = s; return s; } } /** - * - * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -2362,15 +2091,16 @@ public java.lang.String getDataprocServiceAccount() {
    * 
* * string dataproc_service_account = 25; - * * @return The bytes for dataprocServiceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getDataprocServiceAccountBytes() { + public com.google.protobuf.ByteString + getDataprocServiceAccountBytes() { java.lang.Object ref = dataprocServiceAccount_; 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); dataprocServiceAccount_ = b; return b; } else { @@ -2381,14 +2111,11 @@ public com.google.protobuf.ByteString getDataprocServiceAccountBytes() { public static final int ENABLE_RBAC_FIELD_NUMBER = 26; private boolean enableRbac_; /** - * - * *
    * Option to enable granular role-based access control.
    * 
* * bool enable_rbac = 26; - * * @return The enableRbac. */ @java.lang.Override @@ -2399,15 +2126,12 @@ public boolean getEnableRbac() { public static final int CRYPTO_KEY_CONFIG_FIELD_NUMBER = 27; private com.google.cloud.datafusion.v1beta1.CryptoKeyConfig cryptoKeyConfig_; /** - * - * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27; - * * @return Whether the cryptoKeyConfig field is set. */ @java.lang.Override @@ -2415,26 +2139,19 @@ public boolean hasCryptoKeyConfig() { return cryptoKeyConfig_ != null; } /** - * - * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27; - * * @return The cryptoKeyConfig. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig getCryptoKeyConfig() { - return cryptoKeyConfig_ == null - ? com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance() - : cryptoKeyConfig_; + return cryptoKeyConfig_ == null ? com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance() : cryptoKeyConfig_; } /** - * - * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
@@ -2443,59 +2160,41 @@ public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig getCryptoKeyConfig()
    * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;
    */
   @java.lang.Override
-  public com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder
-      getCryptoKeyConfigOrBuilder() {
+  public com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder() {
     return getCryptoKeyConfig();
   }
 
   public static final int DISABLED_REASON_FIELD_NUMBER = 28;
   private java.util.List disabledReason_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-          java.lang.Integer, com.google.cloud.datafusion.v1beta1.Instance.DisabledReason>
-      disabledReason_converter_ =
+      java.lang.Integer, com.google.cloud.datafusion.v1beta1.Instance.DisabledReason> disabledReason_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.datafusion.v1beta1.Instance.DisabledReason>() {
-            public com.google.cloud.datafusion.v1beta1.Instance.DisabledReason convert(
-                java.lang.Integer from) {
+            public com.google.cloud.datafusion.v1beta1.Instance.DisabledReason convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.datafusion.v1beta1.Instance.DisabledReason result =
-                  com.google.cloud.datafusion.v1beta1.Instance.DisabledReason.valueOf(from);
-              return result == null
-                  ? com.google.cloud.datafusion.v1beta1.Instance.DisabledReason.UNRECOGNIZED
-                  : result;
+              com.google.cloud.datafusion.v1beta1.Instance.DisabledReason result = com.google.cloud.datafusion.v1beta1.Instance.DisabledReason.valueOf(from);
+              return result == null ? com.google.cloud.datafusion.v1beta1.Instance.DisabledReason.UNRECOGNIZED : result;
             }
           };
   /**
-   *
-   *
    * 
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the disabledReason. */ @java.lang.Override - public java.util.List - getDisabledReasonList() { + public java.util.List getDisabledReasonList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datafusion.v1beta1.Instance.DisabledReason>( - disabledReason_, disabledReason_converter_); + java.lang.Integer, com.google.cloud.datafusion.v1beta1.Instance.DisabledReason>(disabledReason_, disabledReason_converter_); } /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of disabledReason. */ @java.lang.Override @@ -2503,16 +2202,11 @@ public int getDisabledReasonCount() { return disabledReason_.size(); } /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The disabledReason at the given index. */ @@ -2521,33 +2215,24 @@ public com.google.cloud.datafusion.v1beta1.Instance.DisabledReason getDisabledRe return disabledReason_converter_.convert(disabledReason_.get(index)); } /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for disabledReason. */ @java.lang.Override - public java.util.List getDisabledReasonValueList() { + public java.util.List + getDisabledReasonValueList() { return disabledReason_; } /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. */ @@ -2555,11 +2240,9 @@ public java.util.List getDisabledReasonValueList() { public int getDisabledReasonValue(int index) { return disabledReason_.get(index); } - private int disabledReasonMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2571,7 +2254,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -2594,18 +2278,25 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (networkConfig_ != null) { output.writeMessage(7, getNetworkConfig()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetOptions(), OptionsDefaultEntryHolder.defaultEntry, 9); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 8); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetOptions(), + OptionsDefaultEntryHolder.defaultEntry, + 9); if (createTime_ != null) { output.writeMessage(10, getCreateTime()); } if (updateTime_ != null) { output.writeMessage(11, getUpdateTime()); } - if (state_ - != com.google.cloud.datafusion.v1beta1.Instance.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.cloud.datafusion.v1beta1.Instance.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(12, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateMessage_)) { @@ -2676,50 +2367,56 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (type_ != com.google.cloud.datafusion.v1beta1.Instance.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, type_); } if (enableStackdriverLogging_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, enableStackdriverLogging_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, enableStackdriverLogging_); } if (enableStackdriverMonitoring_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableStackdriverMonitoring_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, enableStackdriverMonitoring_); } if (privateInstance_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, privateInstance_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, privateInstance_); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getNetworkConfig()); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, labels__); - } - for (java.util.Map.Entry entry : - internalGetOptions().getMap().entrySet()) { - com.google.protobuf.MapEntry options__ = - OptionsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, options__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getNetworkConfig()); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, labels__); + } + for (java.util.Map.Entry entry + : internalGetOptions().getMap().entrySet()) { + com.google.protobuf.MapEntry + options__ = OptionsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, options__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getUpdateTime()); } - if (state_ - != com.google.cloud.datafusion.v1beta1.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, state_); + if (state_ != com.google.cloud.datafusion.v1beta1.Instance.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(12, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, stateMessage_); @@ -2740,8 +2437,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, displayName_); } for (int i = 0; i < availableVersion_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(19, availableVersion_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, availableVersion_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiEndpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, apiEndpoint_); @@ -2750,7 +2447,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, gcsBucket_); } for (int i = 0; i < accelerators_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, accelerators_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, accelerators_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(p4ServiceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, p4ServiceAccount_); @@ -2762,23 +2460,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, dataprocServiceAccount_); } if (enableRbac_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(26, enableRbac_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(26, enableRbac_); } if (cryptoKeyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getCryptoKeyConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, getCryptoKeyConfig()); } { int dataSize = 0; for (int i = 0; i < disabledReason_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(disabledReason_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(disabledReason_.get(i)); } size += dataSize; - if (!getDisabledReasonList().isEmpty()) { - size += 2; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - disabledReasonMemoizedSerializedSize = dataSize; + if (!getDisabledReasonList().isEmpty()) { size += 2; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }disabledReasonMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2788,52 +2487,76 @@ 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.datafusion.v1beta1.Instance)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.Instance other = - (com.google.cloud.datafusion.v1beta1.Instance) obj; + com.google.cloud.datafusion.v1beta1.Instance other = (com.google.cloud.datafusion.v1beta1.Instance) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (type_ != other.type_) return false; - if (getEnableStackdriverLogging() != other.getEnableStackdriverLogging()) return false; - if (getEnableStackdriverMonitoring() != other.getEnableStackdriverMonitoring()) return false; - if (getPrivateInstance() != other.getPrivateInstance()) return false; + if (getEnableStackdriverLogging() + != other.getEnableStackdriverLogging()) return false; + if (getEnableStackdriverMonitoring() + != other.getEnableStackdriverMonitoring()) return false; + if (getPrivateInstance() + != other.getPrivateInstance()) return false; if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; + if (!getNetworkConfig() + .equals(other.getNetworkConfig())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!internalGetOptions().equals(other.internalGetOptions())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!internalGetOptions().equals( + other.internalGetOptions())) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (state_ != other.state_) return false; - if (!getStateMessage().equals(other.getStateMessage())) return false; - if (!getServiceEndpoint().equals(other.getServiceEndpoint())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getAvailableVersionList().equals(other.getAvailableVersionList())) return false; - if (!getApiEndpoint().equals(other.getApiEndpoint())) return false; - if (!getGcsBucket().equals(other.getGcsBucket())) return false; - if (!getAcceleratorsList().equals(other.getAcceleratorsList())) return false; - if (!getP4ServiceAccount().equals(other.getP4ServiceAccount())) return false; - if (!getTenantProjectId().equals(other.getTenantProjectId())) return false; - if (!getDataprocServiceAccount().equals(other.getDataprocServiceAccount())) return false; - if (getEnableRbac() != other.getEnableRbac()) return false; + if (!getStateMessage() + .equals(other.getStateMessage())) return false; + if (!getServiceEndpoint() + .equals(other.getServiceEndpoint())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getAvailableVersionList() + .equals(other.getAvailableVersionList())) return false; + if (!getApiEndpoint() + .equals(other.getApiEndpoint())) return false; + if (!getGcsBucket() + .equals(other.getGcsBucket())) return false; + if (!getAcceleratorsList() + .equals(other.getAcceleratorsList())) return false; + if (!getP4ServiceAccount() + .equals(other.getP4ServiceAccount())) return false; + if (!getTenantProjectId() + .equals(other.getTenantProjectId())) return false; + if (!getDataprocServiceAccount() + .equals(other.getDataprocServiceAccount())) return false; + if (getEnableRbac() + != other.getEnableRbac()) return false; if (hasCryptoKeyConfig() != other.hasCryptoKeyConfig()) return false; if (hasCryptoKeyConfig()) { - if (!getCryptoKeyConfig().equals(other.getCryptoKeyConfig())) return false; + if (!getCryptoKeyConfig() + .equals(other.getCryptoKeyConfig())) return false; } if (!disabledReason_.equals(other.disabledReason_)) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -2854,11 +2577,14 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableStackdriverLogging()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableStackdriverLogging()); hash = (37 * hash) + ENABLE_STACKDRIVER_MONITORING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableStackdriverMonitoring()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableStackdriverMonitoring()); hash = (37 * hash) + PRIVATE_INSTANCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPrivateInstance()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPrivateInstance()); if (hasNetworkConfig()) { hash = (37 * hash) + NETWORK_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getNetworkConfig().hashCode(); @@ -2912,7 +2638,8 @@ public int hashCode() { hash = (37 * hash) + DATAPROC_SERVICE_ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getDataprocServiceAccount().hashCode(); hash = (37 * hash) + ENABLE_RBAC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableRbac()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableRbac()); if (hasCryptoKeyConfig()) { hash = (37 * hash) + CRYPTO_KEY_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getCryptoKeyConfig().hashCode(); @@ -2926,151 +2653,144 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1beta1.Instance parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1beta1.Instance parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.Instance parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.Instance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance 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 Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Instance} */ - 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.datafusion.v1beta1.Instance) com.google.cloud.datafusion.v1beta1.InstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 8: return internalGetLabels(); case 9: return internalGetOptions(); 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 8: return internalGetMutableLabels(); case 9: return internalGetMutableOptions(); 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Instance.class, - com.google.cloud.datafusion.v1beta1.Instance.Builder.class); + com.google.cloud.datafusion.v1beta1.Instance.class, com.google.cloud.datafusion.v1beta1.Instance.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.Instance.newBuilder() @@ -3078,18 +2798,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) { getAvailableVersionFieldBuilder(); getAcceleratorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3175,9 +2895,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor; } @java.lang.Override @@ -3196,8 +2916,7 @@ public com.google.cloud.datafusion.v1beta1.Instance build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.Instance buildPartial() { - com.google.cloud.datafusion.v1beta1.Instance result = - new com.google.cloud.datafusion.v1beta1.Instance(this); + com.google.cloud.datafusion.v1beta1.Instance result = new com.google.cloud.datafusion.v1beta1.Instance(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.description_ = description_; @@ -3273,39 +2992,38 @@ public com.google.cloud.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.Instance) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.Instance)other); } else { super.mergeFrom(other); return this; @@ -3337,8 +3055,10 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.Instance other) { if (other.hasNetworkConfig()) { mergeNetworkConfig(other.getNetworkConfig()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); - internalGetMutableOptions().mergeFrom(other.internalGetOptions()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); + internalGetMutableOptions().mergeFrom( + other.internalGetOptions()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -3390,10 +3110,9 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.Instance other) { availableVersionBuilder_ = null; availableVersion_ = other.availableVersion_; bitField0_ = (bitField0_ & ~0x00000004); - availableVersionBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAvailableVersionFieldBuilder() - : null; + availableVersionBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAvailableVersionFieldBuilder() : null; } else { availableVersionBuilder_.addAllMessages(other.availableVersion_); } @@ -3425,10 +3144,9 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.Instance other) { acceleratorsBuilder_ = null; accelerators_ = other.accelerators_; bitField0_ = (bitField0_ & ~0x00000008); - acceleratorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAcceleratorsFieldBuilder() - : null; + acceleratorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAcceleratorsFieldBuilder() : null; } else { acceleratorsBuilder_.addAllMessages(other.accelerators_); } @@ -3490,28 +3208,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -3520,24 +3233,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -3545,70 +3255,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; } /** - * - * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -3616,20 +3313,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * A description of this instance.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -3638,21 +3333,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A description of this instance.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -3660,61 +3354,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A description of this instance.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * A description of this instance.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * A description of this instance.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -3722,75 +3409,51 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Required. Instance type.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Instance type.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @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; } /** - * - * *
      * Required. Instance type.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.Instance.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Instance.Type result = - com.google.cloud.datafusion.v1beta1.Instance.Type.valueOf(type_); - return result == null - ? com.google.cloud.datafusion.v1beta1.Instance.Type.UNRECOGNIZED - : result; + com.google.cloud.datafusion.v1beta1.Instance.Type result = com.google.cloud.datafusion.v1beta1.Instance.Type.valueOf(type_); + return result == null ? com.google.cloud.datafusion.v1beta1.Instance.Type.UNRECOGNIZED : result; } /** - * - * *
      * Required. Instance type.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -3798,41 +3461,33 @@ public Builder setType(com.google.cloud.datafusion.v1beta1.Instance.Type value) if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. Instance type.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private boolean enableStackdriverLogging_; + private boolean enableStackdriverLogging_ ; /** - * - * *
      * Option to enable Stackdriver Logging.
      * 
* * bool enable_stackdriver_logging = 4; - * * @return The enableStackdriverLogging. */ @java.lang.Override @@ -3840,51 +3495,42 @@ public boolean getEnableStackdriverLogging() { return enableStackdriverLogging_; } /** - * - * *
      * Option to enable Stackdriver Logging.
      * 
* * bool enable_stackdriver_logging = 4; - * * @param value The enableStackdriverLogging to set. * @return This builder for chaining. */ public Builder setEnableStackdriverLogging(boolean value) { - + enableStackdriverLogging_ = value; onChanged(); return this; } /** - * - * *
      * Option to enable Stackdriver Logging.
      * 
* * bool enable_stackdriver_logging = 4; - * * @return This builder for chaining. */ public Builder clearEnableStackdriverLogging() { - + enableStackdriverLogging_ = false; onChanged(); return this; } - private boolean enableStackdriverMonitoring_; + private boolean enableStackdriverMonitoring_ ; /** - * - * *
      * Option to enable Stackdriver Monitoring.
      * 
* * bool enable_stackdriver_monitoring = 5; - * * @return The enableStackdriverMonitoring. */ @java.lang.Override @@ -3892,45 +3538,37 @@ public boolean getEnableStackdriverMonitoring() { return enableStackdriverMonitoring_; } /** - * - * *
      * Option to enable Stackdriver Monitoring.
      * 
* * bool enable_stackdriver_monitoring = 5; - * * @param value The enableStackdriverMonitoring to set. * @return This builder for chaining. */ public Builder setEnableStackdriverMonitoring(boolean value) { - + enableStackdriverMonitoring_ = value; onChanged(); return this; } /** - * - * *
      * Option to enable Stackdriver Monitoring.
      * 
* * bool enable_stackdriver_monitoring = 5; - * * @return This builder for chaining. */ public Builder clearEnableStackdriverMonitoring() { - + enableStackdriverMonitoring_ = false; onChanged(); return this; } - private boolean privateInstance_; + private boolean privateInstance_ ; /** - * - * *
      * Specifies whether the Data Fusion instance should be private. If set to
      * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -3938,7 +3576,6 @@ public Builder clearEnableStackdriverMonitoring() {
      * 
* * bool private_instance = 6; - * * @return The privateInstance. */ @java.lang.Override @@ -3946,8 +3583,6 @@ public boolean getPrivateInstance() { return privateInstance_; } /** - * - * *
      * Specifies whether the Data Fusion instance should be private. If set to
      * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -3955,19 +3590,16 @@ public boolean getPrivateInstance() {
      * 
* * bool private_instance = 6; - * * @param value The privateInstance to set. * @return This builder for chaining. */ public Builder setPrivateInstance(boolean value) { - + privateInstance_ = value; onChanged(); return this; } /** - * - * *
      * Specifies whether the Data Fusion instance should be private. If set to
      * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -3975,11 +3607,10 @@ public Builder setPrivateInstance(boolean value) {
      * 
* * bool private_instance = 6; - * * @return This builder for chaining. */ public Builder clearPrivateInstance() { - + privateInstance_ = false; onChanged(); return this; @@ -3987,49 +3618,36 @@ public Builder clearPrivateInstance() { private com.google.cloud.datafusion.v1beta1.NetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.NetworkConfig, - com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder, - com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder> - networkConfigBuilder_; + com.google.cloud.datafusion.v1beta1.NetworkConfig, com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder, com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder> networkConfigBuilder_; /** - * - * *
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
      * 
* * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7; - * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return networkConfigBuilder_ != null || networkConfig_ != null; } /** - * - * *
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
      * 
* * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7; - * * @return The networkConfig. */ public com.google.cloud.datafusion.v1beta1.NetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null - ? com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance() : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** - * - * *
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -4051,8 +3669,6 @@ public Builder setNetworkConfig(com.google.cloud.datafusion.v1beta1.NetworkConfi
       return this;
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -4072,8 +3688,6 @@ public Builder setNetworkConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -4085,9 +3699,7 @@ public Builder mergeNetworkConfig(com.google.cloud.datafusion.v1beta1.NetworkCon
       if (networkConfigBuilder_ == null) {
         if (networkConfig_ != null) {
           networkConfig_ =
-              com.google.cloud.datafusion.v1beta1.NetworkConfig.newBuilder(networkConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.datafusion.v1beta1.NetworkConfig.newBuilder(networkConfig_).mergeFrom(value).buildPartial();
         } else {
           networkConfig_ = value;
         }
@@ -4099,8 +3711,6 @@ public Builder mergeNetworkConfig(com.google.cloud.datafusion.v1beta1.NetworkCon
       return this;
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -4120,8 +3730,6 @@ public Builder clearNetworkConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -4130,13 +3738,11 @@ public Builder clearNetworkConfig() {
      * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7;
      */
     public com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder getNetworkConfigBuilder() {
-
+      
       onChanged();
       return getNetworkConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -4148,14 +3754,11 @@ public com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder getNetworkConf
       if (networkConfigBuilder_ != null) {
         return networkConfigBuilder_.getMessageOrBuilder();
       } else {
-        return networkConfig_ == null
-            ? com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance()
-            : networkConfig_;
+        return networkConfig_ == null ?
+            com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance() : networkConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -4164,37 +3767,35 @@ public com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder getNetworkConf
      * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datafusion.v1beta1.NetworkConfig,
-            com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder,
-            com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder>
+        com.google.cloud.datafusion.v1beta1.NetworkConfig, com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder, com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder> 
         getNetworkConfigFieldBuilder() {
       if (networkConfigBuilder_ == null) {
-        networkConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datafusion.v1beta1.NetworkConfig,
-                com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder,
-                com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder>(
-                getNetworkConfig(), getParentForChildren(), isClean());
+        networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datafusion.v1beta1.NetworkConfig, com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder, com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder>(
+                getNetworkConfig(),
+                getParentForChildren(),
+                isClean());
         networkConfig_ = null;
       }
       return networkConfigBuilder_;
     }
 
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> labels_;
+    private com.google.protobuf.MapField
+    internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableLabels() {
-      onChanged();
-      ;
+    internalGetMutableLabels() {
+      onChanged();;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -4206,8 +3807,6 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -4216,22 +3815,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 8;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -4241,12 +3840,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -4256,17 +3854,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -4276,11 +3873,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 8;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4288,12 +3886,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -4302,21 +3899,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 8;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -4325,20 +3924,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 8;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -4347,26 +3945,30 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 8;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    private com.google.protobuf.MapField options_;
-
-    private com.google.protobuf.MapField internalGetOptions() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> options_;
+    private com.google.protobuf.MapField
+    internalGetOptions() {
       if (options_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(OptionsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            OptionsDefaultEntryHolder.defaultEntry);
       }
       return options_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableOptions() {
-      onChanged();
-      ;
+    internalGetMutableOptions() {
+      onChanged();;
       if (options_ == null) {
-        options_ = com.google.protobuf.MapField.newMapField(OptionsDefaultEntryHolder.defaultEntry);
+        options_ = com.google.protobuf.MapField.newMapField(
+            OptionsDefaultEntryHolder.defaultEntry);
       }
       if (!options_.isMutable()) {
         options_ = options_.copy();
@@ -4378,8 +3980,6 @@ public int getOptionsCount() {
       return internalGetOptions().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4387,22 +3987,22 @@ public int getOptionsCount() {
      *
      * map<string, string> options = 9;
      */
+
     @java.lang.Override
-    public boolean containsOptions(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsOptions(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetOptions().getMap().containsKey(key);
     }
-    /** Use {@link #getOptionsMap()} instead. */
+    /**
+     * Use {@link #getOptionsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getOptions() {
       return getOptionsMap();
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4411,12 +4011,11 @@ public java.util.Map getOptions() {
      * map<string, string> options = 9;
      */
     @java.lang.Override
+
     public java.util.Map getOptionsMap() {
       return internalGetOptions().getMap();
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4425,17 +4024,16 @@ public java.util.Map getOptionsMap() {
      * map<string, string> options = 9;
      */
     @java.lang.Override
+
     public java.lang.String getOptionsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetOptions().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetOptions().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4444,11 +4042,12 @@ public java.lang.String getOptionsOrDefault(
      * map<string, string> options = 9;
      */
     @java.lang.Override
-    public java.lang.String getOptionsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetOptions().getMap();
+
+    public java.lang.String getOptionsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetOptions().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4456,12 +4055,11 @@ public java.lang.String getOptionsOrThrow(java.lang.String key) {
     }
 
     public Builder clearOptions() {
-      internalGetMutableOptions().getMutableMap().clear();
+      internalGetMutableOptions().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4469,21 +4067,23 @@ public Builder clearOptions() {
      *
      * map<string, string> options = 9;
      */
-    public Builder removeOptions(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableOptions().getMutableMap().remove(key);
+
+    public Builder removeOptions(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableOptions().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableOptions() {
+    public java.util.Map
+    getMutableOptions() {
       return internalGetMutableOptions().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4491,20 +4091,19 @@ public java.util.Map getMutableOptions() {
      *
      * map<string, string> options = 9;
      */
-    public Builder putOptions(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putOptions(
+        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");
+}
 
-      internalGetMutableOptions().getMutableMap().put(key, value);
+      internalGetMutableOptions().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4512,65 +4111,49 @@ public Builder putOptions(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> options = 9;
      */
-    public Builder putAllOptions(java.util.Map values) {
-      internalGetMutableOptions().getMutableMap().putAll(values);
+
+    public Builder putAllOptions(
+        java.util.Map values) {
+      internalGetMutableOptions().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     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_;
     /**
-     *
-     *
      * 
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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(); } } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -4586,17 +4169,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - 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(); @@ -4607,21 +4187,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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; } @@ -4633,15 +4209,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -4655,64 +4227,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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_; } } /** - * - * *
      * Output only. The time the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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_; @@ -4720,58 +4276,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -4787,17 +4324,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -4808,21 +4342,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -4834,15 +4364,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -4856,64 +4382,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The time the instance was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4921,75 +4431,51 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. The current state of this Data Fusion instance.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.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 this Data Fusion instance.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.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 this Data Fusion instance.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Instance.State result = - com.google.cloud.datafusion.v1beta1.Instance.State.valueOf(state_); - return result == null - ? com.google.cloud.datafusion.v1beta1.Instance.State.UNRECOGNIZED - : result; + com.google.cloud.datafusion.v1beta1.Instance.State result = com.google.cloud.datafusion.v1beta1.Instance.State.valueOf(state_); + return result == null ? com.google.cloud.datafusion.v1beta1.Instance.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of this Data Fusion instance.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -4997,26 +4483,21 @@ public Builder setState(com.google.cloud.datafusion.v1beta1.Instance.State value if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The current state of this Data Fusion instance.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -5024,21 +4505,19 @@ public Builder clearState() { private java.lang.Object stateMessage_ = ""; /** - * - * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stateMessage. */ public java.lang.String getStateMessage() { java.lang.Object ref = stateMessage_; 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(); stateMessage_ = s; return s; @@ -5047,22 +4526,21 @@ public java.lang.String getStateMessage() { } } /** - * - * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stateMessage. */ - public com.google.protobuf.ByteString getStateMessageBytes() { + public com.google.protobuf.ByteString + getStateMessageBytes() { java.lang.Object ref = stateMessage_; 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); stateMessage_ = b; return b; } else { @@ -5070,64 +4548,57 @@ public com.google.protobuf.ByteString getStateMessageBytes() { } } /** - * - * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessage(java.lang.String value) { + public Builder setStateMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateMessage_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearStateMessage() { - + stateMessage_ = getDefaultInstance().getStateMessage(); onChanged(); return this; } /** - * - * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { + public Builder setStateMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateMessage_ = value; onChanged(); return this; @@ -5135,20 +4606,18 @@ public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceEndpoint_ = ""; /** - * - * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The serviceEndpoint. */ public java.lang.String getServiceEndpoint() { java.lang.Object ref = serviceEndpoint_; 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(); serviceEndpoint_ = s; return s; @@ -5157,21 +4626,20 @@ public java.lang.String getServiceEndpoint() { } } /** - * - * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for serviceEndpoint. */ - public com.google.protobuf.ByteString getServiceEndpointBytes() { + public com.google.protobuf.ByteString + getServiceEndpointBytes() { java.lang.Object ref = serviceEndpoint_; 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); serviceEndpoint_ = b; return b; } else { @@ -5179,61 +4647,54 @@ public com.google.protobuf.ByteString getServiceEndpointBytes() { } } /** - * - * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The serviceEndpoint to set. * @return This builder for chaining. */ - public Builder setServiceEndpoint(java.lang.String value) { + public Builder setServiceEndpoint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceEndpoint_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearServiceEndpoint() { - + serviceEndpoint_ = getDefaultInstance().getServiceEndpoint(); onChanged(); return this; } /** - * - * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for serviceEndpoint to set. * @return This builder for chaining. */ - public Builder setServiceEndpointBytes(com.google.protobuf.ByteString value) { + public Builder setServiceEndpointBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceEndpoint_ = value; onChanged(); return this; @@ -5241,21 +4702,19 @@ public Builder setServiceEndpointBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; - * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -5264,22 +4723,21 @@ public java.lang.String getZone() { } } /** - * - * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; - * * @return The bytes for zone. */ - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -5287,64 +4745,57 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; - * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone(java.lang.String value) { + public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; - * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; - * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -5352,20 +4803,18 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * Current version of Data Fusion.
      * 
* * string version = 16; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -5374,21 +4823,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Current version of Data Fusion.
      * 
* * string version = 16; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -5396,61 +4844,54 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Current version of Data Fusion.
      * 
* * string version = 16; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Current version of Data Fusion.
      * 
* * string version = 16; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * Current version of Data Fusion.
      * 
* * string version = 16; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -5458,25 +4899,20 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @return The serviceAccount. */ - @java.lang.Deprecated - public java.lang.String getServiceAccount() { + @java.lang.Deprecated public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -5485,26 +4921,22 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getServiceAccountBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -5512,76 +4944,60 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @param value The serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setServiceAccount(java.lang.String value) { + @java.lang.Deprecated public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearServiceAccount() { - + @java.lang.Deprecated public Builder clearServiceAccount() { + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -5589,20 +5005,18 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Display name for an instance.
      * 
* * string display_name = 18; - * * @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; @@ -5611,21 +5025,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name for an instance.
      * 
* * string display_name = 18; - * * @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 { @@ -5633,86 +5046,72 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name for an instance.
      * 
* * string display_name = 18; - * * @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; } /** - * - * *
      * Display name for an instance.
      * 
* * string display_name = 18; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Display name for an instance.
      * 
* * string display_name = 18; - * * @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 java.util.List availableVersion_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAvailableVersionIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - availableVersion_ = - new java.util.ArrayList(availableVersion_); + availableVersion_ = new java.util.ArrayList(availableVersion_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Version, - com.google.cloud.datafusion.v1beta1.Version.Builder, - com.google.cloud.datafusion.v1beta1.VersionOrBuilder> - availableVersionBuilder_; + com.google.cloud.datafusion.v1beta1.Version, com.google.cloud.datafusion.v1beta1.Version.Builder, com.google.cloud.datafusion.v1beta1.VersionOrBuilder> availableVersionBuilder_; /** - * - * *
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5728,8 +5127,6 @@ public java.util.List getAvailableV
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5745,8 +5142,6 @@ public int getAvailableVersionCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5762,8 +5157,6 @@ public com.google.cloud.datafusion.v1beta1.Version getAvailableVersion(int index
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5786,8 +5179,6 @@ public Builder setAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5807,8 +5198,6 @@ public Builder setAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5830,8 +5219,6 @@ public Builder addAvailableVersion(com.google.cloud.datafusion.v1beta1.Version v
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5854,8 +5241,6 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5875,8 +5260,6 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5896,8 +5279,6 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5909,7 +5290,8 @@ public Builder addAllAvailableVersion(
         java.lang.Iterable values) {
       if (availableVersionBuilder_ == null) {
         ensureAvailableVersionIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableVersion_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, availableVersion_);
         onChanged();
       } else {
         availableVersionBuilder_.addAllMessages(values);
@@ -5917,8 +5299,6 @@ public Builder addAllAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5937,8 +5317,6 @@ public Builder clearAvailableVersion() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5957,8 +5335,6 @@ public Builder removeAvailableVersion(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5971,8 +5347,6 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder getAvailableVersionBu
       return getAvailableVersionFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5982,15 +5356,12 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder getAvailableVersionBu
      */
     public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionOrBuilder(
         int index) {
-      if (availableVersionBuilder_ == null) {
-        return availableVersion_.get(index);
-      } else {
+      if (availableVersionBuilder_ == null) {
+        return availableVersion_.get(index);  } else {
         return availableVersionBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5998,8 +5369,8 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionO
      *
      * repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
      */
-    public java.util.List
-        getAvailableVersionOrBuilderList() {
+    public java.util.List 
+         getAvailableVersionOrBuilderList() {
       if (availableVersionBuilder_ != null) {
         return availableVersionBuilder_.getMessageOrBuilderList();
       } else {
@@ -6007,8 +5378,6 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionO
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -6017,12 +5386,10 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionO
      * repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
      */
     public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionBuilder() {
-      return getAvailableVersionFieldBuilder()
-          .addBuilder(com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance());
+      return getAvailableVersionFieldBuilder().addBuilder(
+          com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -6032,12 +5399,10 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionBu
      */
     public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionBuilder(
         int index) {
-      return getAvailableVersionFieldBuilder()
-          .addBuilder(index, com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance());
+      return getAvailableVersionFieldBuilder().addBuilder(
+          index, com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -6045,22 +5410,16 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionBu
      *
      * repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
      */
-    public java.util.List
-        getAvailableVersionBuilderList() {
+    public java.util.List 
+         getAvailableVersionBuilderList() {
       return getAvailableVersionFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datafusion.v1beta1.Version,
-            com.google.cloud.datafusion.v1beta1.Version.Builder,
-            com.google.cloud.datafusion.v1beta1.VersionOrBuilder>
+        com.google.cloud.datafusion.v1beta1.Version, com.google.cloud.datafusion.v1beta1.Version.Builder, com.google.cloud.datafusion.v1beta1.VersionOrBuilder> 
         getAvailableVersionFieldBuilder() {
       if (availableVersionBuilder_ == null) {
-        availableVersionBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.datafusion.v1beta1.Version,
-                com.google.cloud.datafusion.v1beta1.Version.Builder,
-                com.google.cloud.datafusion.v1beta1.VersionOrBuilder>(
+        availableVersionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.datafusion.v1beta1.Version, com.google.cloud.datafusion.v1beta1.Version.Builder, com.google.cloud.datafusion.v1beta1.VersionOrBuilder>(
                 availableVersion_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -6072,20 +5431,18 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionBu
 
     private java.lang.Object apiEndpoint_ = "";
     /**
-     *
-     *
      * 
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiEndpoint. */ public java.lang.String getApiEndpoint() { java.lang.Object ref = apiEndpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiEndpoint_ = s; return s; @@ -6094,21 +5451,20 @@ public java.lang.String getApiEndpoint() { } } /** - * - * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiEndpoint. */ - public com.google.protobuf.ByteString getApiEndpointBytes() { + public com.google.protobuf.ByteString + getApiEndpointBytes() { java.lang.Object ref = apiEndpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiEndpoint_ = b; return b; } else { @@ -6116,61 +5472,54 @@ public com.google.protobuf.ByteString getApiEndpointBytes() { } } /** - * - * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The apiEndpoint to set. * @return This builder for chaining. */ - public Builder setApiEndpoint(java.lang.String value) { + public Builder setApiEndpoint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiEndpoint_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearApiEndpoint() { - + apiEndpoint_ = getDefaultInstance().getApiEndpoint(); onChanged(); return this; } /** - * - * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for apiEndpoint to set. * @return This builder for chaining. */ - public Builder setApiEndpointBytes(com.google.protobuf.ByteString value) { + public Builder setApiEndpointBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiEndpoint_ = value; onChanged(); return this; @@ -6178,20 +5527,18 @@ public Builder setApiEndpointBytes(com.google.protobuf.ByteString value) { private java.lang.Object gcsBucket_ = ""; /** - * - * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The gcsBucket. */ public java.lang.String getGcsBucket() { java.lang.Object ref = gcsBucket_; 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(); gcsBucket_ = s; return s; @@ -6200,21 +5547,20 @@ public java.lang.String getGcsBucket() { } } /** - * - * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for gcsBucket. */ - public com.google.protobuf.ByteString getGcsBucketBytes() { + public com.google.protobuf.ByteString + getGcsBucketBytes() { java.lang.Object ref = gcsBucket_; 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); gcsBucket_ = b; return b; } else { @@ -6222,86 +5568,72 @@ public com.google.protobuf.ByteString getGcsBucketBytes() { } } /** - * - * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The gcsBucket to set. * @return This builder for chaining. */ - public Builder setGcsBucket(java.lang.String value) { + public Builder setGcsBucket( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gcsBucket_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearGcsBucket() { - + gcsBucket_ = getDefaultInstance().getGcsBucket(); onChanged(); return this; } /** - * - * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for gcsBucket to set. * @return This builder for chaining. */ - public Builder setGcsBucketBytes(com.google.protobuf.ByteString value) { + public Builder setGcsBucketBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gcsBucket_ = value; onChanged(); return this; } private java.util.List accelerators_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAcceleratorsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - accelerators_ = - new java.util.ArrayList(accelerators_); + accelerators_ = new java.util.ArrayList(accelerators_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Accelerator, - com.google.cloud.datafusion.v1beta1.Accelerator.Builder, - com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder> - acceleratorsBuilder_; + com.google.cloud.datafusion.v1beta1.Accelerator, com.google.cloud.datafusion.v1beta1.Accelerator.Builder, com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder> acceleratorsBuilder_; /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6316,8 +5648,6 @@ public java.util.List getAccele } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6332,8 +5662,6 @@ public int getAcceleratorsCount() { } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6348,8 +5676,6 @@ public com.google.cloud.datafusion.v1beta1.Accelerator getAccelerators(int index } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6371,8 +5697,6 @@ public Builder setAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6391,8 +5715,6 @@ public Builder setAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6413,8 +5735,6 @@ public Builder addAccelerators(com.google.cloud.datafusion.v1beta1.Accelerator v return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6436,8 +5756,6 @@ public Builder addAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6456,8 +5774,6 @@ public Builder addAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6476,8 +5792,6 @@ public Builder addAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6488,7 +5802,8 @@ public Builder addAllAccelerators( java.lang.Iterable values) { if (acceleratorsBuilder_ == null) { ensureAcceleratorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accelerators_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, accelerators_); onChanged(); } else { acceleratorsBuilder_.addAllMessages(values); @@ -6496,8 +5811,6 @@ public Builder addAllAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6515,8 +5828,6 @@ public Builder clearAccelerators() { return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6534,8 +5845,6 @@ public Builder removeAccelerators(int index) { return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6547,8 +5856,6 @@ public com.google.cloud.datafusion.v1beta1.Accelerator.Builder getAcceleratorsBu return getAcceleratorsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6558,22 +5865,19 @@ public com.google.cloud.datafusion.v1beta1.Accelerator.Builder getAcceleratorsBu public com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsOrBuilder( int index) { if (acceleratorsBuilder_ == null) { - return accelerators_.get(index); - } else { + return accelerators_.get(index); } else { return acceleratorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22; */ - public java.util.List - getAcceleratorsOrBuilderList() { + public java.util.List + getAcceleratorsOrBuilderList() { if (acceleratorsBuilder_ != null) { return acceleratorsBuilder_.getMessageOrBuilderList(); } else { @@ -6581,8 +5885,6 @@ public com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsO } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6590,12 +5892,10 @@ public com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsO * repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22; */ public com.google.cloud.datafusion.v1beta1.Accelerator.Builder addAcceleratorsBuilder() { - return getAcceleratorsFieldBuilder() - .addBuilder(com.google.cloud.datafusion.v1beta1.Accelerator.getDefaultInstance()); + return getAcceleratorsFieldBuilder().addBuilder( + com.google.cloud.datafusion.v1beta1.Accelerator.getDefaultInstance()); } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6604,35 +5904,30 @@ public com.google.cloud.datafusion.v1beta1.Accelerator.Builder addAcceleratorsBu */ public com.google.cloud.datafusion.v1beta1.Accelerator.Builder addAcceleratorsBuilder( int index) { - return getAcceleratorsFieldBuilder() - .addBuilder(index, com.google.cloud.datafusion.v1beta1.Accelerator.getDefaultInstance()); + return getAcceleratorsFieldBuilder().addBuilder( + index, com.google.cloud.datafusion.v1beta1.Accelerator.getDefaultInstance()); } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22; */ - public java.util.List - getAcceleratorsBuilderList() { + public java.util.List + getAcceleratorsBuilderList() { return getAcceleratorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Accelerator, - com.google.cloud.datafusion.v1beta1.Accelerator.Builder, - com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder> + com.google.cloud.datafusion.v1beta1.Accelerator, com.google.cloud.datafusion.v1beta1.Accelerator.Builder, com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder> getAcceleratorsFieldBuilder() { if (acceleratorsBuilder_ == null) { - acceleratorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Accelerator, - com.google.cloud.datafusion.v1beta1.Accelerator.Builder, - com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder>( - accelerators_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + acceleratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.Accelerator, com.google.cloud.datafusion.v1beta1.Accelerator.Builder, com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder>( + accelerators_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); accelerators_ = null; } return acceleratorsBuilder_; @@ -6640,20 +5935,18 @@ public com.google.cloud.datafusion.v1beta1.Accelerator.Builder addAcceleratorsBu private java.lang.Object p4ServiceAccount_ = ""; /** - * - * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The p4ServiceAccount. */ public java.lang.String getP4ServiceAccount() { java.lang.Object ref = p4ServiceAccount_; 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(); p4ServiceAccount_ = s; return s; @@ -6662,21 +5955,20 @@ public java.lang.String getP4ServiceAccount() { } } /** - * - * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for p4ServiceAccount. */ - public com.google.protobuf.ByteString getP4ServiceAccountBytes() { + public com.google.protobuf.ByteString + getP4ServiceAccountBytes() { java.lang.Object ref = p4ServiceAccount_; 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); p4ServiceAccount_ = b; return b; } else { @@ -6684,61 +5976,54 @@ public com.google.protobuf.ByteString getP4ServiceAccountBytes() { } } /** - * - * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The p4ServiceAccount to set. * @return This builder for chaining. */ - public Builder setP4ServiceAccount(java.lang.String value) { + public Builder setP4ServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + p4ServiceAccount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearP4ServiceAccount() { - + p4ServiceAccount_ = getDefaultInstance().getP4ServiceAccount(); onChanged(); return this; } /** - * - * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for p4ServiceAccount to set. * @return This builder for chaining. */ - public Builder setP4ServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setP4ServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + p4ServiceAccount_ = value; onChanged(); return this; @@ -6746,20 +6031,18 @@ public Builder setP4ServiceAccountBytes(com.google.protobuf.ByteString value) { private java.lang.Object tenantProjectId_ = ""; /** - * - * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tenantProjectId. */ public java.lang.String getTenantProjectId() { java.lang.Object ref = tenantProjectId_; 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(); tenantProjectId_ = s; return s; @@ -6768,21 +6051,20 @@ public java.lang.String getTenantProjectId() { } } /** - * - * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for tenantProjectId. */ - public com.google.protobuf.ByteString getTenantProjectIdBytes() { + public com.google.protobuf.ByteString + getTenantProjectIdBytes() { java.lang.Object ref = tenantProjectId_; 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); tenantProjectId_ = b; return b; } else { @@ -6790,61 +6072,54 @@ public com.google.protobuf.ByteString getTenantProjectIdBytes() { } } /** - * - * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The tenantProjectId to set. * @return This builder for chaining. */ - public Builder setTenantProjectId(java.lang.String value) { + public Builder setTenantProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tenantProjectId_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTenantProjectId() { - + tenantProjectId_ = getDefaultInstance().getTenantProjectId(); onChanged(); return this; } /** - * - * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for tenantProjectId to set. * @return This builder for chaining. */ - public Builder setTenantProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setTenantProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantProjectId_ = value; onChanged(); return this; @@ -6852,8 +6127,6 @@ public Builder setTenantProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataprocServiceAccount_ = ""; /** - * - * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6862,13 +6135,13 @@ public Builder setTenantProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string dataproc_service_account = 25; - * * @return The dataprocServiceAccount. */ public java.lang.String getDataprocServiceAccount() { java.lang.Object ref = dataprocServiceAccount_; 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(); dataprocServiceAccount_ = s; return s; @@ -6877,8 +6150,6 @@ public java.lang.String getDataprocServiceAccount() { } } /** - * - * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6887,14 +6158,15 @@ public java.lang.String getDataprocServiceAccount() {
      * 
* * string dataproc_service_account = 25; - * * @return The bytes for dataprocServiceAccount. */ - public com.google.protobuf.ByteString getDataprocServiceAccountBytes() { + public com.google.protobuf.ByteString + getDataprocServiceAccountBytes() { java.lang.Object ref = dataprocServiceAccount_; 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); dataprocServiceAccount_ = b; return b; } else { @@ -6902,8 +6174,6 @@ public com.google.protobuf.ByteString getDataprocServiceAccountBytes() { } } /** - * - * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6912,22 +6182,20 @@ public com.google.protobuf.ByteString getDataprocServiceAccountBytes() {
      * 
* * string dataproc_service_account = 25; - * * @param value The dataprocServiceAccount to set. * @return This builder for chaining. */ - public Builder setDataprocServiceAccount(java.lang.String value) { + public Builder setDataprocServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataprocServiceAccount_ = value; onChanged(); return this; } /** - * - * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6936,18 +6204,15 @@ public Builder setDataprocServiceAccount(java.lang.String value) {
      * 
* * string dataproc_service_account = 25; - * * @return This builder for chaining. */ public Builder clearDataprocServiceAccount() { - + dataprocServiceAccount_ = getDefaultInstance().getDataprocServiceAccount(); onChanged(); return this; } /** - * - * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6956,31 +6221,28 @@ public Builder clearDataprocServiceAccount() {
      * 
* * string dataproc_service_account = 25; - * * @param value The bytes for dataprocServiceAccount to set. * @return This builder for chaining. */ - public Builder setDataprocServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setDataprocServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataprocServiceAccount_ = value; onChanged(); return this; } - private boolean enableRbac_; + private boolean enableRbac_ ; /** - * - * *
      * Option to enable granular role-based access control.
      * 
* * bool enable_rbac = 26; - * * @return The enableRbac. */ @java.lang.Override @@ -6988,36 +6250,30 @@ public boolean getEnableRbac() { return enableRbac_; } /** - * - * *
      * Option to enable granular role-based access control.
      * 
* * bool enable_rbac = 26; - * * @param value The enableRbac to set. * @return This builder for chaining. */ public Builder setEnableRbac(boolean value) { - + enableRbac_ = value; onChanged(); return this; } /** - * - * *
      * Option to enable granular role-based access control.
      * 
* * bool enable_rbac = 26; - * * @return This builder for chaining. */ public Builder clearEnableRbac() { - + enableRbac_ = false; onChanged(); return this; @@ -7025,49 +6281,36 @@ public Builder clearEnableRbac() { private com.google.cloud.datafusion.v1beta1.CryptoKeyConfig cryptoKeyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.CryptoKeyConfig, - com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder, - com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder> - cryptoKeyConfigBuilder_; + com.google.cloud.datafusion.v1beta1.CryptoKeyConfig, com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder, com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder> cryptoKeyConfigBuilder_; /** - * - * *
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
      * 
* * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27; - * * @return Whether the cryptoKeyConfig field is set. */ public boolean hasCryptoKeyConfig() { return cryptoKeyConfigBuilder_ != null || cryptoKeyConfig_ != null; } /** - * - * *
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
      * 
* * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27; - * * @return The cryptoKeyConfig. */ public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig getCryptoKeyConfig() { if (cryptoKeyConfigBuilder_ == null) { - return cryptoKeyConfig_ == null - ? com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance() - : cryptoKeyConfig_; + return cryptoKeyConfig_ == null ? com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance() : cryptoKeyConfig_; } else { return cryptoKeyConfigBuilder_.getMessage(); } } /** - * - * *
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -7089,8 +6332,6 @@ public Builder setCryptoKeyConfig(com.google.cloud.datafusion.v1beta1.CryptoKeyC
       return this;
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -7110,8 +6351,6 @@ public Builder setCryptoKeyConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -7123,9 +6362,7 @@ public Builder mergeCryptoKeyConfig(com.google.cloud.datafusion.v1beta1.CryptoKe
       if (cryptoKeyConfigBuilder_ == null) {
         if (cryptoKeyConfig_ != null) {
           cryptoKeyConfig_ =
-              com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.newBuilder(cryptoKeyConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.newBuilder(cryptoKeyConfig_).mergeFrom(value).buildPartial();
         } else {
           cryptoKeyConfig_ = value;
         }
@@ -7137,8 +6374,6 @@ public Builder mergeCryptoKeyConfig(com.google.cloud.datafusion.v1beta1.CryptoKe
       return this;
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -7158,8 +6393,6 @@ public Builder clearCryptoKeyConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -7168,13 +6401,11 @@ public Builder clearCryptoKeyConfig() {
      * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;
      */
     public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder getCryptoKeyConfigBuilder() {
-
+      
       onChanged();
       return getCryptoKeyConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -7182,19 +6413,15 @@ public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder getCryptoKeyC
      *
      * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;
      */
-    public com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder
-        getCryptoKeyConfigOrBuilder() {
+    public com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder() {
       if (cryptoKeyConfigBuilder_ != null) {
         return cryptoKeyConfigBuilder_.getMessageOrBuilder();
       } else {
-        return cryptoKeyConfig_ == null
-            ? com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance()
-            : cryptoKeyConfig_;
+        return cryptoKeyConfig_ == null ?
+            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance() : cryptoKeyConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -7203,24 +6430,21 @@ public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder getCryptoKeyC
      * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig,
-            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder,
-            com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder>
+        com.google.cloud.datafusion.v1beta1.CryptoKeyConfig, com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder, com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder> 
         getCryptoKeyConfigFieldBuilder() {
       if (cryptoKeyConfigBuilder_ == null) {
-        cryptoKeyConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datafusion.v1beta1.CryptoKeyConfig,
-                com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder,
-                com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder>(
-                getCryptoKeyConfig(), getParentForChildren(), isClean());
+        cryptoKeyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig, com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder, com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder>(
+                getCryptoKeyConfig(),
+                getParentForChildren(),
+                isClean());
         cryptoKeyConfig_ = null;
       }
       return cryptoKeyConfigBuilder_;
     }
 
-    private java.util.List disabledReason_ = java.util.Collections.emptyList();
-
+    private java.util.List disabledReason_ =
+      java.util.Collections.emptyList();
     private void ensureDisabledReasonIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
         disabledReason_ = new java.util.ArrayList(disabledReason_);
@@ -7228,69 +6452,46 @@ private void ensureDisabledReasonIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the disabledReason. */ - public java.util.List - getDisabledReasonList() { + public java.util.List getDisabledReasonList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datafusion.v1beta1.Instance.DisabledReason>( - disabledReason_, disabledReason_converter_); + java.lang.Integer, com.google.cloud.datafusion.v1beta1.Instance.DisabledReason>(disabledReason_, disabledReason_converter_); } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of disabledReason. */ public int getDisabledReasonCount() { return disabledReason_.size(); } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The disabledReason at the given index. */ - public com.google.cloud.datafusion.v1beta1.Instance.DisabledReason getDisabledReason( - int index) { + public com.google.cloud.datafusion.v1beta1.Instance.DisabledReason getDisabledReason(int index) { return disabledReason_converter_.convert(disabledReason_.get(index)); } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The disabledReason to set. * @return This builder for chaining. @@ -7306,21 +6507,15 @@ public Builder setDisabledReason( return this; } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The disabledReason to add. * @return This builder for chaining. */ - public Builder addDisabledReason( - com.google.cloud.datafusion.v1beta1.Instance.DisabledReason value) { + public Builder addDisabledReason(com.google.cloud.datafusion.v1beta1.Instance.DisabledReason value) { if (value == null) { throw new NullPointerException(); } @@ -7330,22 +6525,16 @@ public Builder addDisabledReason( return this; } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The disabledReason to add. * @return This builder for chaining. */ public Builder addAllDisabledReason( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureDisabledReasonIsMutable(); for (com.google.cloud.datafusion.v1beta1.Instance.DisabledReason value : values) { disabledReason_.add(value.getNumber()); @@ -7354,16 +6543,11 @@ public Builder addAllDisabledReason( return this; } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearDisabledReason() { @@ -7373,32 +6557,23 @@ public Builder clearDisabledReason() { return this; } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for disabledReason. */ - public java.util.List getDisabledReasonValueList() { + public java.util.List + getDisabledReasonValueList() { return java.util.Collections.unmodifiableList(disabledReason_); } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. */ @@ -7406,37 +6581,28 @@ public int getDisabledReasonValue(int index) { return disabledReason_.get(index); } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. * @return This builder for chaining. */ - public Builder setDisabledReasonValue(int index, int value) { + public Builder setDisabledReasonValue( + int index, int value) { ensureDisabledReasonIsMutable(); disabledReason_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for disabledReason to add. * @return This builder for chaining. */ @@ -7447,20 +6613,16 @@ public Builder addDisabledReasonValue(int value) { return this; } /** - * - * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The enum numeric values on the wire for disabledReason to add. * @return This builder for chaining. */ - public Builder addAllDisabledReasonValue(java.lang.Iterable values) { + public Builder addAllDisabledReasonValue( + java.lang.Iterable values) { ensureDisabledReasonIsMutable(); for (int value : values) { disabledReason_.add(value); @@ -7468,9 +6630,9 @@ public Builder addAllDisabledReasonValue(java.lang.Iterable v 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); } @@ -7480,12 +6642,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.Instance) private static final com.google.cloud.datafusion.v1beta1.Instance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.Instance(); } @@ -7494,16 +6656,16 @@ public static com.google.cloud.datafusion.v1beta1.Instance getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Instance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Instance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Instance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Instance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7518,4 +6680,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceName.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceName.java similarity index 100% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceName.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceName.java diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java similarity index 76% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java index 9ec97710..ccd016ac 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java @@ -1,142 +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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface InstanceOrBuilder - extends +public interface InstanceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.Instance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A description of this instance.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A description of this instance.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. Instance type.
    * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. Instance type.
    * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.datafusion.v1beta1.Instance.Type getType(); /** - * - * *
    * Option to enable Stackdriver Logging.
    * 
* * bool enable_stackdriver_logging = 4; - * * @return The enableStackdriverLogging. */ boolean getEnableStackdriverLogging(); /** - * - * *
    * Option to enable Stackdriver Monitoring.
    * 
* * bool enable_stackdriver_monitoring = 5; - * * @return The enableStackdriverMonitoring. */ boolean getEnableStackdriverMonitoring(); /** - * - * *
    * Specifies whether the Data Fusion instance should be private. If set to
    * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -144,40 +96,31 @@ public interface InstanceOrBuilder
    * 
* * bool private_instance = 6; - * * @return The privateInstance. */ boolean getPrivateInstance(); /** - * - * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7; - * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** - * - * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7; - * * @return The networkConfig. */ com.google.cloud.datafusion.v1beta1.NetworkConfig getNetworkConfig(); /** - * - * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
@@ -188,8 +131,6 @@ public interface InstanceOrBuilder
   com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -200,8 +141,6 @@ public interface InstanceOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -210,13 +149,15 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 8;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -225,10 +166,9 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 8;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -239,13 +179,11 @@ public interface InstanceOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -254,11 +192,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 8;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -268,8 +206,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getOptionsCount();
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -277,13 +213,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> options = 9;
    */
-  boolean containsOptions(java.lang.String key);
-  /** Use {@link #getOptionsMap()} instead. */
+  boolean containsOptions(
+      java.lang.String key);
+  /**
+   * Use {@link #getOptionsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getOptions();
+  java.util.Map
+  getOptions();
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -291,10 +229,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> options = 9;
    */
-  java.util.Map getOptionsMap();
+  java.util.Map
+  getOptionsMap();
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -304,13 +241,11 @@ java.lang.String getLabelsOrDefault(
    */
 
   /* nullable */
-  java.lang.String getOptionsOrDefault(
+java.lang.String getOptionsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -318,280 +253,212 @@ java.lang.String getOptionsOrDefault(
    *
    * map<string, string> options = 9;
    */
-  java.lang.String getOptionsOrThrow(java.lang.String key);
+
+  java.lang.String getOptionsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. The current state of this Data Fusion instance.
    * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of this Data Fusion instance.
    * 
* - * - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.datafusion.v1beta1.Instance.State getState(); /** - * - * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stateMessage. */ java.lang.String getStateMessage(); /** - * - * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stateMessage. */ - com.google.protobuf.ByteString getStateMessageBytes(); + com.google.protobuf.ByteString + getStateMessageBytes(); /** - * - * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The serviceEndpoint. */ java.lang.String getServiceEndpoint(); /** - * - * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for serviceEndpoint. */ - com.google.protobuf.ByteString getServiceEndpointBytes(); + com.google.protobuf.ByteString + getServiceEndpointBytes(); /** - * - * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; - * * @return The zone. */ java.lang.String getZone(); /** - * - * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; - * * @return The bytes for zone. */ - com.google.protobuf.ByteString getZoneBytes(); + com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Current version of Data Fusion.
    * 
* * string version = 16; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Current version of Data Fusion.
    * 
* * string version = 16; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @return The serviceAccount. */ - @java.lang.Deprecated - java.lang.String getServiceAccount(); + @java.lang.Deprecated java.lang.String getServiceAccount(); /** - * - * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See - * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. + * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getServiceAccountBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
    * Display name for an instance.
    * 
* * string display_name = 18; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name for an instance.
    * 
* * string display_name = 18; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -599,10 +466,9 @@ java.lang.String getOptionsOrDefault(
    *
    * repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
    */
-  java.util.List getAvailableVersionList();
+  java.util.List 
+      getAvailableVersionList();
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -612,8 +478,6 @@ java.lang.String getOptionsOrDefault(
    */
   com.google.cloud.datafusion.v1beta1.Version getAvailableVersion(int index);
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -623,8 +487,6 @@ java.lang.String getOptionsOrDefault(
    */
   int getAvailableVersionCount();
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -632,11 +494,9 @@ java.lang.String getOptionsOrDefault(
    *
    * repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
    */
-  java.util.List
+  java.util.List 
       getAvailableVersionOrBuilderList();
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -644,71 +504,59 @@ java.lang.String getOptionsOrDefault(
    *
    * repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
    */
-  com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionOrBuilder(int index);
+  com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiEndpoint. */ java.lang.String getApiEndpoint(); /** - * - * *
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiEndpoint. */ - com.google.protobuf.ByteString getApiEndpointBytes(); + com.google.protobuf.ByteString + getApiEndpointBytes(); /** - * - * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The gcsBucket. */ java.lang.String getGcsBucket(); /** - * - * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for gcsBucket. */ - com.google.protobuf.ByteString getGcsBucketBytes(); + com.google.protobuf.ByteString + getGcsBucketBytes(); /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22; */ - java.util.List getAcceleratorsList(); + java.util.List + getAcceleratorsList(); /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -717,8 +565,6 @@ java.lang.String getOptionsOrDefault( */ com.google.cloud.datafusion.v1beta1.Accelerator getAccelerators(int index); /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -727,80 +573,65 @@ java.lang.String getOptionsOrDefault( */ int getAcceleratorsCount(); /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22; */ - java.util.List + java.util.List getAcceleratorsOrBuilderList(); /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22; */ - com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsOrBuilder(int index); + com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsOrBuilder( + int index); /** - * - * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The p4ServiceAccount. */ java.lang.String getP4ServiceAccount(); /** - * - * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for p4ServiceAccount. */ - com.google.protobuf.ByteString getP4ServiceAccountBytes(); + com.google.protobuf.ByteString + getP4ServiceAccountBytes(); /** - * - * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tenantProjectId. */ java.lang.String getTenantProjectId(); /** - * - * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for tenantProjectId. */ - com.google.protobuf.ByteString getTenantProjectIdBytes(); + com.google.protobuf.ByteString + getTenantProjectIdBytes(); /** - * - * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -809,13 +640,10 @@ java.lang.String getOptionsOrDefault(
    * 
* * string dataproc_service_account = 25; - * * @return The dataprocServiceAccount. */ java.lang.String getDataprocServiceAccount(); /** - * - * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -824,53 +652,42 @@ java.lang.String getOptionsOrDefault(
    * 
* * string dataproc_service_account = 25; - * * @return The bytes for dataprocServiceAccount. */ - com.google.protobuf.ByteString getDataprocServiceAccountBytes(); + com.google.protobuf.ByteString + getDataprocServiceAccountBytes(); /** - * - * *
    * Option to enable granular role-based access control.
    * 
* * bool enable_rbac = 26; - * * @return The enableRbac. */ boolean getEnableRbac(); /** - * - * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27; - * * @return Whether the cryptoKeyConfig field is set. */ boolean hasCryptoKeyConfig(); /** - * - * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27; - * * @return The cryptoKeyConfig. */ com.google.cloud.datafusion.v1beta1.CryptoKeyConfig getCryptoKeyConfig(); /** - * - * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
@@ -881,74 +698,49 @@ java.lang.String getOptionsOrDefault(
   com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the disabledReason. */ - java.util.List - getDisabledReasonList(); + java.util.List getDisabledReasonList(); /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of disabledReason. */ int getDisabledReasonCount(); /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The disabledReason at the given index. */ com.google.cloud.datafusion.v1beta1.Instance.DisabledReason getDisabledReason(int index); /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for disabledReason. */ - java.util.List getDisabledReasonValueList(); + java.util.List + getDisabledReasonValueList(); /** - * - * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. */ diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.java similarity index 68% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.java index 8faa6cc8..59d8b3ec 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Request message for the list available versions request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest} */ -public final class ListAvailableVersionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAvailableVersionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) ListAvailableVersionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAvailableVersionsRequest.newBuilder() to construct. private ListAvailableVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAvailableVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListAvailableVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAvailableVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAvailableVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,37 +54,35 @@ private ListAvailableVersionsRequest( 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 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 32: - { - latestPatchOnly_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 32: { + + latestPatchOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,42 +90,35 @@ private ListAvailableVersionsRequest( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.class, - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.class, com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * - * 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 +127,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 for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * - * 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,14 +161,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -207,15 +176,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -224,30 +190,30 @@ 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; } } /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @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 { @@ -258,8 +224,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int LATEST_PATCH_ONLY_FIELD_NUMBER = 4; private boolean latestPatchOnly_; /** - * - * *
    * Whether or not to return the latest patch of every available minor version.
    * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -267,7 +231,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * bool latest_patch_only = 4; - * * @return The latestPatchOnly. */ @java.lang.Override @@ -276,7 +239,6 @@ public boolean getLatestPatchOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,7 +250,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_); } @@ -314,13 +277,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (latestPatchOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, latestPatchOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, latestPatchOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -330,18 +295,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.datafusion.v1beta1.ListAvailableVersionsRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest other = - (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) obj; + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest other = (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getLatestPatchOnly() != other.getLatestPatchOnly()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getLatestPatchOnly() + != other.getLatestPatchOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -360,134 +328,125 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + LATEST_PATCH_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLatestPatchOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLatestPatchOnly()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest 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.datafusion.v1beta1.ListAvailableVersionsRequest 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.datafusion.v1beta1.ListAvailableVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest 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.datafusion.v1beta1.ListAvailableVersionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest 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.datafusion.v1beta1.ListAvailableVersionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest 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.datafusion.v1beta1.ListAvailableVersionsRequest 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.datafusion.v1beta1.ListAvailableVersionsRequest 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.datafusion.v1beta1.ListAvailableVersionsRequest prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest 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 message for the list available versions request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest} */ - 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.datafusion.v1beta1.ListAvailableVersionsRequest) com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.class, - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.class, com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.newBuilder() @@ -495,15 +454,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(); @@ -519,14 +479,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest - getDefaultInstanceForType() { + public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest getDefaultInstanceForType() { return com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.getDefaultInstance(); } @@ -541,8 +500,7 @@ public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest build() @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest result = - new com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest(this); + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest result = new com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -555,50 +513,46 @@ public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest buildPar 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.datafusion.v1beta1.ListAvailableVersionsRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest other) { - if (other - == com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest other) { + if (other == com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -632,9 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -646,23 +598,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * - * 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; @@ -671,24 +619,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * - * 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 { @@ -696,85 +641,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * - * 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; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -782,36 +711,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @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 items to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -819,21 +742,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -842,22 +763,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @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 { @@ -865,73 +785,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @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; } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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; } - private boolean latestPatchOnly_; + private boolean latestPatchOnly_ ; /** - * - * *
      * Whether or not to return the latest patch of every available minor version.
      * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -939,7 +850,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * bool latest_patch_only = 4; - * * @return The latestPatchOnly. */ @java.lang.Override @@ -947,8 +857,6 @@ public boolean getLatestPatchOnly() { return latestPatchOnly_; } /** - * - * *
      * Whether or not to return the latest patch of every available minor version.
      * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -956,19 +864,16 @@ public boolean getLatestPatchOnly() {
      * 
* * bool latest_patch_only = 4; - * * @param value The latestPatchOnly to set. * @return This builder for chaining. */ public Builder setLatestPatchOnly(boolean value) { - + latestPatchOnly_ = value; onChanged(); return this; } /** - * - * *
      * Whether or not to return the latest patch of every available minor version.
      * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -976,18 +881,17 @@ public Builder setLatestPatchOnly(boolean value) {
      * 
* * bool latest_patch_only = 4; - * * @return This builder for chaining. */ public Builder clearLatestPatchOnly() { - + latestPatchOnly_ = false; 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); } @@ -997,32 +901,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) - private static final com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest(); } - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest - getDefaultInstance() { + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAvailableVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAvailableVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAvailableVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAvailableVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1034,8 +936,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest - getDefaultInstanceForType() { + public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java index abc6c2fe..e6118b82 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java @@ -1,102 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListAvailableVersionsRequestOrBuilder - extends +public interface ListAvailableVersionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * - * 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 for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * - * 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 maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Whether or not to return the latest patch of every available minor version.
    * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -104,7 +69,6 @@ public interface ListAvailableVersionsRequestOrBuilder
    * 
* * bool latest_patch_only = 4; - * * @return The latestPatchOnly. */ boolean getLatestPatchOnly(); diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.java similarity index 73% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.java index 22aa8054..1a30613b 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Response message for the list available versions request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse} */ -public final class ListAvailableVersionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAvailableVersionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) ListAvailableVersionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAvailableVersionsResponse.newBuilder() to construct. private ListAvailableVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAvailableVersionsResponse() { availableVersions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListAvailableVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAvailableVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAvailableVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListAvailableVersionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - availableVersions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - availableVersions_.add( - input.readMessage( - com.google.cloud.datafusion.v1beta1.Version.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + availableVersions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + availableVersions_.add( + input.readMessage(com.google.cloud.datafusion.v1beta1.Version.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) { @@ -105,7 +84,8 @@ private ListAvailableVersionsResponse( } 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)) { availableVersions_ = java.util.Collections.unmodifiableList(availableVersions_); @@ -114,27 +94,22 @@ private ListAvailableVersionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.class, - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.class, com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.Builder.class); } public static final int AVAILABLE_VERSIONS_FIELD_NUMBER = 1; private java.util.List availableVersions_; /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -146,8 +121,6 @@ public java.util.List getAvailableV return availableVersions_; } /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -155,13 +128,11 @@ public java.util.List getAvailableV * repeated .google.cloud.datafusion.v1beta1.Version available_versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAvailableVersionsOrBuilderList() { return availableVersions_; } /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -173,8 +144,6 @@ public int getAvailableVersionsCount() { return availableVersions_.size(); } /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -186,8 +155,6 @@ public com.google.cloud.datafusion.v1beta1.Version getAvailableVersions(int inde return availableVersions_.get(index); } /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -203,15 +170,12 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -220,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; } } /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -252,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,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 < availableVersions_.size(); i++) { output.writeMessage(1, availableVersions_.get(i)); } @@ -281,8 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < availableVersions_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, availableVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, availableVersions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,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.datafusion.v1beta1.ListAvailableVersionsResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse other = - (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) obj; + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse other = (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) obj; - if (!getAvailableVersionsList().equals(other.getAvailableVersionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAvailableVersionsList() + .equals(other.getAvailableVersionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,147 +293,135 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse - 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.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse 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 message for the list available versions request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse} */ - 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.datafusion.v1beta1.ListAvailableVersionsResponse) com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.class, - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.class, com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.Builder.class); } - // Construct using - // com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.newBuilder() + // Construct using com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.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) { getAvailableVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse - getDefaultInstanceForType() { + public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse getDefaultInstanceForType() { return com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.getDefaultInstance(); } @@ -506,8 +458,7 @@ public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse build() @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse buildPartial() { - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse result = - new com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse(this); + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse result = new com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse(this); int from_bitField0_ = bitField0_; if (availableVersionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,50 +478,46 @@ public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse other) { - if (other - == com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse other) { + if (other == com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.getDefaultInstance()) return this; if (availableVersionsBuilder_ == null) { if (!other.availableVersions_.isEmpty()) { if (availableVersions_.isEmpty()) { @@ -589,10 +536,9 @@ public Builder mergeFrom( availableVersionsBuilder_ = null; availableVersions_ = other.availableVersions_; bitField0_ = (bitField0_ & ~0x00000001); - availableVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAvailableVersionsFieldBuilder() - : null; + availableVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAvailableVersionsFieldBuilder() : null; } else { availableVersionsBuilder_.addAllMessages(other.availableVersions_); } @@ -621,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,30 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List availableVersions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAvailableVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - availableVersions_ = - new java.util.ArrayList( - availableVersions_); + availableVersions_ = new java.util.ArrayList(availableVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Version, - com.google.cloud.datafusion.v1beta1.Version.Builder, - com.google.cloud.datafusion.v1beta1.VersionOrBuilder> - availableVersionsBuilder_; + com.google.cloud.datafusion.v1beta1.Version, com.google.cloud.datafusion.v1beta1.Version.Builder, com.google.cloud.datafusion.v1beta1.VersionOrBuilder> availableVersionsBuilder_; /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -670,8 +605,6 @@ public java.util.List getAvailableV } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -686,8 +619,6 @@ public int getAvailableVersionsCount() { } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -702,8 +633,6 @@ public com.google.cloud.datafusion.v1beta1.Version getAvailableVersions(int inde } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -725,8 +654,6 @@ public Builder setAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -745,8 +672,6 @@ public Builder setAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -767,8 +692,6 @@ public Builder addAvailableVersions(com.google.cloud.datafusion.v1beta1.Version return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -790,8 +713,6 @@ public Builder addAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -810,8 +731,6 @@ public Builder addAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -830,8 +749,6 @@ public Builder addAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -842,7 +759,8 @@ public Builder addAllAvailableVersions( java.lang.Iterable values) { if (availableVersionsBuilder_ == null) { ensureAvailableVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, availableVersions_); onChanged(); } else { availableVersionsBuilder_.addAllMessages(values); @@ -850,8 +768,6 @@ public Builder addAllAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -869,8 +785,6 @@ public Builder clearAvailableVersions() { return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -888,8 +802,6 @@ public Builder removeAvailableVersions(int index) { return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -901,8 +813,6 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder getAvailableVersionsB return getAvailableVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -912,22 +822,19 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder getAvailableVersionsB public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionsOrBuilder( int index) { if (availableVersionsBuilder_ == null) { - return availableVersions_.get(index); - } else { + return availableVersions_.get(index); } else { return availableVersionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Version available_versions = 1; */ - public java.util.List - getAvailableVersionsOrBuilderList() { + public java.util.List + getAvailableVersionsOrBuilderList() { if (availableVersionsBuilder_ != null) { return availableVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -935,8 +842,6 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersions } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -944,12 +849,10 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersions * repeated .google.cloud.datafusion.v1beta1.Version available_versions = 1; */ public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionsBuilder() { - return getAvailableVersionsFieldBuilder() - .addBuilder(com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance()); + return getAvailableVersionsFieldBuilder().addBuilder( + com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance()); } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -958,34 +861,26 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionsB */ public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionsBuilder( int index) { - return getAvailableVersionsFieldBuilder() - .addBuilder(index, com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance()); + return getAvailableVersionsFieldBuilder().addBuilder( + index, com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance()); } /** - * - * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Version available_versions = 1; */ - public java.util.List - getAvailableVersionsBuilderList() { + public java.util.List + getAvailableVersionsBuilderList() { return getAvailableVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Version, - com.google.cloud.datafusion.v1beta1.Version.Builder, - com.google.cloud.datafusion.v1beta1.VersionOrBuilder> + com.google.cloud.datafusion.v1beta1.Version, com.google.cloud.datafusion.v1beta1.Version.Builder, com.google.cloud.datafusion.v1beta1.VersionOrBuilder> getAvailableVersionsFieldBuilder() { if (availableVersionsBuilder_ == null) { - availableVersionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Version, - com.google.cloud.datafusion.v1beta1.Version.Builder, - com.google.cloud.datafusion.v1beta1.VersionOrBuilder>( + availableVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.Version, com.google.cloud.datafusion.v1beta1.Version.Builder, com.google.cloud.datafusion.v1beta1.VersionOrBuilder>( availableVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -997,21 +892,19 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionsB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -1020,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1043,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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); } @@ -1117,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) - private static final com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse(); } - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse - getDefaultInstance() { + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAvailableVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAvailableVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAvailableVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAvailableVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1154,8 +1037,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse - getDefaultInstanceForType() { + public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.java index 5019936e..dcaa6a08 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListAvailableVersionsResponseOrBuilder - extends +public interface ListAvailableVersionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Represents a list of versions that are supported.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Version available_versions = 1; */ - java.util.List getAvailableVersionsList(); + java.util.List + getAvailableVersionsList(); /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -44,8 +25,6 @@ public interface ListAvailableVersionsResponseOrBuilder */ com.google.cloud.datafusion.v1beta1.Version getAvailableVersions(int index); /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -54,51 +33,43 @@ public interface ListAvailableVersionsResponseOrBuilder */ int getAvailableVersionsCount(); /** - * - * *
    * Represents a list of versions that are supported.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Version available_versions = 1; */ - java.util.List + java.util.List getAvailableVersionsOrBuilderList(); /** - * - * *
    * Represents a list of versions that are supported.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Version available_versions = 1; */ - com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionsOrBuilder(int index); + com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.java similarity index 67% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.java index ba425f1b..caa569fe 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * List dns peering request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest} */ -public final class ListDnsPeeringsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDnsPeeringsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) ListDnsPeeringsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDnsPeeringsRequest.newBuilder() to construct. private ListDnsPeeringsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDnsPeeringsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListDnsPeeringsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDnsPeeringsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDnsPeeringsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListDnsPeeringsRequest( 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 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + 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) { @@ -104,41 +85,34 @@ private ListDnsPeeringsRequest( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.class, - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.class, com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource on which dns peering will be listed.
    * 
* - * - * 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 @@ -147,31 +121,29 @@ 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 resource on which dns peering will be listed.
    * 
* - * - * 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 { @@ -182,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -200,15 +169,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -217,30 +183,30 @@ 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; } } /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @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 { @@ -249,7 +215,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +226,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_); } @@ -284,7 +250,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -297,17 +264,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.datafusion.v1beta1.ListDnsPeeringsRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest other = - (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) obj; + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest other = (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -331,127 +300,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest 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; } /** - * - * *
    * List dns peering request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest} */ - 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.datafusion.v1beta1.ListDnsPeeringsRequest) com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.class, - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.class, com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.newBuilder() @@ -459,15 +418,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(); @@ -481,9 +441,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; } @java.lang.Override @@ -502,8 +462,7 @@ public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest result = - new com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest(this); + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest result = new com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -515,39 +474,38 @@ public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest)other); } else { super.mergeFrom(other); return this; @@ -555,8 +513,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -587,8 +544,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,22 +556,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource on which dns peering will be listed.
      * 
* - * - * 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; @@ -624,23 +576,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource on which dns peering will be listed.
      * 
* - * - * 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,82 +597,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource on which dns peering will be listed.
      * 
* - * - * 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 resource on which dns peering will be listed.
      * 
* - * - * 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 resource on which dns peering will be listed.
      * 
* - * - * 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; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -731,36 +664,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @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 items to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -768,21 +695,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -791,22 +716,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @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 { @@ -814,71 +738,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @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; } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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); } @@ -888,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) private static final com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest(); } @@ -902,16 +819,16 @@ public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDnsPeeringsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDnsPeeringsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDnsPeeringsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDnsPeeringsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -926,4 +843,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java similarity index 53% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java index a49520b7..7a61de9e 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java @@ -1,94 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListDnsPeeringsRequestOrBuilder - extends +public interface ListDnsPeeringsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource on which dns peering will be listed.
    * 
* - * - * 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 resource on which dns peering will be listed.
    * 
* - * - * 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 maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.java similarity index 73% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.java index b615e402..4e6db3e6 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * List dns peering response.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse} */ -public final class ListDnsPeeringsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDnsPeeringsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) ListDnsPeeringsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDnsPeeringsResponse.newBuilder() to construct. private ListDnsPeeringsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDnsPeeringsResponse() { dnsPeerings_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListDnsPeeringsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDnsPeeringsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDnsPeeringsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListDnsPeeringsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dnsPeerings_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dnsPeerings_.add( - input.readMessage( - com.google.cloud.datafusion.v1beta1.DnsPeering.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dnsPeerings_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + dnsPeerings_.add( + input.readMessage(com.google.cloud.datafusion.v1beta1.DnsPeering.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) { @@ -105,7 +84,8 @@ private ListDnsPeeringsResponse( } 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)) { dnsPeerings_ = java.util.Collections.unmodifiableList(dnsPeerings_); @@ -114,27 +94,22 @@ private ListDnsPeeringsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.class, - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.class, com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.Builder.class); } public static final int DNS_PEERINGS_FIELD_NUMBER = 1; private java.util.List dnsPeerings_; /** - * - * *
    * List of dns peering configs.
    * 
@@ -146,8 +121,6 @@ public java.util.List getDnsPeer return dnsPeerings_; } /** - * - * *
    * List of dns peering configs.
    * 
@@ -155,13 +128,11 @@ public java.util.List getDnsPeer * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDnsPeeringsOrBuilderList() { return dnsPeerings_; } /** - * - * *
    * List of dns peering configs.
    * 
@@ -173,8 +144,6 @@ public int getDnsPeeringsCount() { return dnsPeerings_.size(); } /** - * - * *
    * List of dns peering configs.
    * 
@@ -186,8 +155,6 @@ public com.google.cloud.datafusion.v1beta1.DnsPeering getDnsPeerings(int index) return dnsPeerings_.get(index); } /** - * - * *
    * List of dns peering configs.
    * 
@@ -203,15 +170,12 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringsOrB public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -220,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; } } /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -252,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,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 < dnsPeerings_.size(); i++) { output.writeMessage(1, dnsPeerings_.get(i)); } @@ -281,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dnsPeerings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dnsPeerings_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dnsPeerings_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -294,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.datafusion.v1beta1.ListDnsPeeringsResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse other = - (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) obj; + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse other = (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) obj; - if (!getDnsPeeringsList().equals(other.getDnsPeeringsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDnsPeeringsList() + .equals(other.getDnsPeeringsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,127 +293,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse 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; } /** - * - * *
    * List dns peering response.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse} */ - 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.datafusion.v1beta1.ListDnsPeeringsResponse) com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.class, - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.class, com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.newBuilder() @@ -455,17 +411,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) { getDnsPeeringsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; } @java.lang.Override @@ -502,8 +458,7 @@ public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse buildPartial() { - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse result = - new com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse(this); + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse result = new com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse(this); int from_bitField0_ = bitField0_; if (dnsPeeringsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse)other); } else { super.mergeFrom(other); return this; @@ -563,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse other) { - if (other == com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.getDefaultInstance()) return this; if (dnsPeeringsBuilder_ == null) { if (!other.dnsPeerings_.isEmpty()) { if (dnsPeerings_.isEmpty()) { @@ -583,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResp dnsPeeringsBuilder_ = null; dnsPeerings_ = other.dnsPeerings_; bitField0_ = (bitField0_ & ~0x00000001); - dnsPeeringsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDnsPeeringsFieldBuilder() - : null; + dnsPeeringsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDnsPeeringsFieldBuilder() : null; } else { dnsPeeringsBuilder_.addAllMessages(other.dnsPeerings_); } @@ -615,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -625,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List dnsPeerings_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDnsPeeringsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dnsPeerings_ = - new java.util.ArrayList(dnsPeerings_); + dnsPeerings_ = new java.util.ArrayList(dnsPeerings_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.DnsPeering, - com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, - com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> - dnsPeeringsBuilder_; + com.google.cloud.datafusion.v1beta1.DnsPeering, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> dnsPeeringsBuilder_; /** - * - * *
      * List of dns peering configs.
      * 
@@ -662,8 +605,6 @@ public java.util.List getDnsPeer } } /** - * - * *
      * List of dns peering configs.
      * 
@@ -678,8 +619,6 @@ public int getDnsPeeringsCount() { } } /** - * - * *
      * List of dns peering configs.
      * 
@@ -694,15 +633,14 @@ public com.google.cloud.datafusion.v1beta1.DnsPeering getDnsPeerings(int index) } } /** - * - * *
      * List of dns peering configs.
      * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - public Builder setDnsPeerings(int index, com.google.cloud.datafusion.v1beta1.DnsPeering value) { + public Builder setDnsPeerings( + int index, com.google.cloud.datafusion.v1beta1.DnsPeering value) { if (dnsPeeringsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -716,8 +654,6 @@ public Builder setDnsPeerings(int index, com.google.cloud.datafusion.v1beta1.Dns return this; } /** - * - * *
      * List of dns peering configs.
      * 
@@ -736,8 +672,6 @@ public Builder setDnsPeerings( return this; } /** - * - * *
      * List of dns peering configs.
      * 
@@ -758,15 +692,14 @@ public Builder addDnsPeerings(com.google.cloud.datafusion.v1beta1.DnsPeering val return this; } /** - * - * *
      * List of dns peering configs.
      * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - public Builder addDnsPeerings(int index, com.google.cloud.datafusion.v1beta1.DnsPeering value) { + public Builder addDnsPeerings( + int index, com.google.cloud.datafusion.v1beta1.DnsPeering value) { if (dnsPeeringsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -780,8 +713,6 @@ public Builder addDnsPeerings(int index, com.google.cloud.datafusion.v1beta1.Dns return this; } /** - * - * *
      * List of dns peering configs.
      * 
@@ -800,8 +731,6 @@ public Builder addDnsPeerings( return this; } /** - * - * *
      * List of dns peering configs.
      * 
@@ -820,8 +749,6 @@ public Builder addDnsPeerings( return this; } /** - * - * *
      * List of dns peering configs.
      * 
@@ -832,7 +759,8 @@ public Builder addAllDnsPeerings( java.lang.Iterable values) { if (dnsPeeringsBuilder_ == null) { ensureDnsPeeringsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dnsPeerings_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dnsPeerings_); onChanged(); } else { dnsPeeringsBuilder_.addAllMessages(values); @@ -840,8 +768,6 @@ public Builder addAllDnsPeerings( return this; } /** - * - * *
      * List of dns peering configs.
      * 
@@ -859,8 +785,6 @@ public Builder clearDnsPeerings() { return this; } /** - * - * *
      * List of dns peering configs.
      * 
@@ -878,20 +802,17 @@ public Builder removeDnsPeerings(int index) { return this; } /** - * - * *
      * List of dns peering configs.
      * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder getDnsPeeringsBuilder(int index) { + public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder getDnsPeeringsBuilder( + int index) { return getDnsPeeringsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of dns peering configs.
      * 
@@ -901,22 +822,19 @@ public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder getDnsPeeringsBuil public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringsOrBuilder( int index) { if (dnsPeeringsBuilder_ == null) { - return dnsPeerings_.get(index); - } else { + return dnsPeerings_.get(index); } else { return dnsPeeringsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of dns peering configs.
      * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - public java.util.List - getDnsPeeringsOrBuilderList() { + public java.util.List + getDnsPeeringsOrBuilderList() { if (dnsPeeringsBuilder_ != null) { return dnsPeeringsBuilder_.getMessageOrBuilderList(); } else { @@ -924,8 +842,6 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringsOrB } } /** - * - * *
      * List of dns peering configs.
      * 
@@ -933,48 +849,42 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringsOrB * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder addDnsPeeringsBuilder() { - return getDnsPeeringsFieldBuilder() - .addBuilder(com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance()); + return getDnsPeeringsFieldBuilder().addBuilder( + com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance()); } /** - * - * *
      * List of dns peering configs.
      * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder addDnsPeeringsBuilder(int index) { - return getDnsPeeringsFieldBuilder() - .addBuilder(index, com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance()); + public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder addDnsPeeringsBuilder( + int index) { + return getDnsPeeringsFieldBuilder().addBuilder( + index, com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance()); } /** - * - * *
      * List of dns peering configs.
      * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - public java.util.List - getDnsPeeringsBuilderList() { + public java.util.List + getDnsPeeringsBuilderList() { return getDnsPeeringsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.DnsPeering, - com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, - com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> + com.google.cloud.datafusion.v1beta1.DnsPeering, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> getDnsPeeringsFieldBuilder() { if (dnsPeeringsBuilder_ == null) { - dnsPeeringsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.DnsPeering, - com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, - com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder>( - dnsPeerings_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + dnsPeeringsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.DnsPeering, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder>( + dnsPeerings_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); dnsPeerings_ = null; } return dnsPeeringsBuilder_; @@ -982,21 +892,19 @@ public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder addDnsPeeringsBuil private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -1005,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1028,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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); } @@ -1102,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) private static final com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse(); } @@ -1116,16 +1016,16 @@ public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDnsPeeringsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDnsPeeringsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDnsPeeringsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDnsPeeringsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1140,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.java index cf7128bb..f2b15de2 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListDnsPeeringsResponseOrBuilder - extends +public interface ListDnsPeeringsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of dns peering configs.
    * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - java.util.List getDnsPeeringsList(); + java.util.List + getDnsPeeringsList(); /** - * - * *
    * List of dns peering configs.
    * 
@@ -44,8 +25,6 @@ public interface ListDnsPeeringsResponseOrBuilder */ com.google.cloud.datafusion.v1beta1.DnsPeering getDnsPeerings(int index); /** - * - * *
    * List of dns peering configs.
    * 
@@ -54,51 +33,43 @@ public interface ListDnsPeeringsResponseOrBuilder */ int getDnsPeeringsCount(); /** - * - * *
    * List of dns peering configs.
    * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - java.util.List + java.util.List getDnsPeeringsOrBuilderList(); /** - * - * *
    * List of dns peering configs.
    * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringsOrBuilder(int index); + com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.java similarity index 70% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.java index 45e7fbda..a228cc76 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Request message for listing Data Fusion instances.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListInstancesRequest} */ -public final class ListInstancesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInstancesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListInstancesRequest) ListInstancesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInstancesRequest.newBuilder() to construct. private ListInstancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInstancesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListInstancesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListInstancesRequest( 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 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,33 +99,29 @@ private ListInstancesRequest( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListInstancesRequest.class, - com.google.cloud.datafusion.v1beta1.ListInstancesRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListInstancesRequest.class, com.google.cloud.datafusion.v1beta1.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -154,10 +129,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * are queried, and the results are aggregated.
    * 
* - * - * 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 @@ -166,15 +138,14 @@ 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 for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -182,18 +153,17 @@ public java.lang.String getParent() {
    * are queried, and the results are aggregated.
    * 
* - * - * 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 { @@ -204,14 +174,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -222,15 +189,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -239,30 +203,30 @@ 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; } } /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @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,14 +237,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * List filter.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -289,29 +250,29 @@ 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; } } /** - * - * *
    * List filter.
    * 
* * string filter = 4; - * * @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 { @@ -322,14 +283,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -338,29 +296,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** - * - * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -369,7 +327,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +338,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_); } @@ -410,7 +368,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -429,19 +388,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.datafusion.v1beta1.ListInstancesRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListInstancesRequest other = - (com.google.cloud.datafusion.v1beta1.ListInstancesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.datafusion.v1beta1.ListInstancesRequest other = (com.google.cloud.datafusion.v1beta1.ListInstancesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -469,127 +432,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.ListInstancesRequest 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 message for listing Data Fusion instances.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListInstancesRequest} */ - 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.datafusion.v1beta1.ListInstancesRequest) com.google.cloud.datafusion.v1beta1.ListInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListInstancesRequest.class, - com.google.cloud.datafusion.v1beta1.ListInstancesRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListInstancesRequest.class, com.google.cloud.datafusion.v1beta1.ListInstancesRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.ListInstancesRequest.newBuilder() @@ -597,15 +550,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(); @@ -623,9 +577,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; } @java.lang.Override @@ -644,8 +598,7 @@ public com.google.cloud.datafusion.v1beta1.ListInstancesRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListInstancesRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.ListInstancesRequest result = - new com.google.cloud.datafusion.v1beta1.ListInstancesRequest(this); + com.google.cloud.datafusion.v1beta1.ListInstancesRequest result = new com.google.cloud.datafusion.v1beta1.ListInstancesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -659,39 +612,38 @@ public com.google.cloud.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListInstancesRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListInstancesRequest)other); } else { super.mergeFrom(other); return this; @@ -699,8 +651,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListInstancesRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.ListInstancesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.ListInstancesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -739,8 +690,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.ListInstancesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.ListInstancesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,8 +702,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -761,16 +709,14 @@ public Builder mergeFrom(
      * are queried, and the results are aggregated.
      * 
* - * - * 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; @@ -779,8 +725,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -788,17 +732,16 @@ public java.lang.String getParent() {
      * are queried, and the results are aggregated.
      * 
* - * - * 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 { @@ -806,8 +749,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -815,25 +756,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * are queried, and the results are aggregated.
      * 
* - * - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -841,21 +778,16 @@ public Builder setParent(java.lang.String value) {
      * are queried, and the results are aggregated.
      * 
* - * - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -863,34 +795,29 @@ public Builder clearParent() {
      * are queried, and the results are aggregated.
      * 
* - * - * 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; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -898,36 +825,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @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 items to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -935,21 +856,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -958,22 +877,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @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 { @@ -981,64 +899,57 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @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; } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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; @@ -1046,20 +957,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * List filter.
      * 
* * string filter = 4; - * * @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; @@ -1068,21 +977,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * List filter.
      * 
* * string filter = 4; - * * @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 { @@ -1090,61 +998,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * List filter.
      * 
* * string filter = 4; - * * @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; } /** - * - * *
      * List filter.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * List filter.
      * 
* * string filter = 4; - * * @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; @@ -1152,20 +1053,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1174,21 +1073,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1196,68 +1094,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1267,12 +1158,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListInstancesRequest) private static final com.google.cloud.datafusion.v1beta1.ListInstancesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListInstancesRequest(); } @@ -1281,16 +1172,16 @@ public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstancesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInstancesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1305,4 +1196,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.java index a3c96a15..35d3e645 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListInstancesRequestOrBuilder - extends +public interface ListInstancesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListInstancesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -33,16 +15,11 @@ public interface ListInstancesRequestOrBuilder
    * are queried, and the results are aggregated.
    * 
* - * - * 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 for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -50,101 +27,81 @@ public interface ListInstancesRequestOrBuilder
    * are queried, and the results are aggregated.
    * 
* - * - * 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 maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * List filter.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * List filter.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.java similarity index 74% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.java index 4a618912..3a6c3ebc 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Response message for the list instance request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListInstancesResponse} */ -public final class ListInstancesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInstancesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListInstancesResponse) ListInstancesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInstancesResponse.newBuilder() to construct. private ListInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInstancesResponse() { instances_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListInstancesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListInstancesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,42 +56,37 @@ private ListInstancesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - instances_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - instances_.add( - input.readMessage( - com.google.cloud.datafusion.v1beta1.Instance.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + instances_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + instances_.add( + input.readMessage(com.google.cloud.datafusion.v1beta1.Instance.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,7 +94,8 @@ private ListInstancesResponse( } 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)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -128,27 +107,22 @@ private ListInstancesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListInstancesResponse.class, - com.google.cloud.datafusion.v1beta1.ListInstancesResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListInstancesResponse.class, com.google.cloud.datafusion.v1beta1.ListInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; private java.util.List instances_; /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -160,8 +134,6 @@ public java.util.List getInstances return instances_; } /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -169,13 +141,11 @@ public java.util.List getInstances * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -187,8 +157,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -200,8 +168,6 @@ public com.google.cloud.datafusion.v1beta1.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -209,22 +175,20 @@ public com.google.cloud.datafusion.v1beta1.Instance getInstances(int index) { * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuilder( + int index) { return instances_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -233,30 +197,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; } } /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -267,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -310,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,7 +291,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 < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -358,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < instances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, instances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, instances_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -379,17 +334,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.datafusion.v1beta1.ListInstancesResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListInstancesResponse other = - (com.google.cloud.datafusion.v1beta1.ListInstancesResponse) obj; + com.google.cloud.datafusion.v1beta1.ListInstancesResponse other = (com.google.cloud.datafusion.v1beta1.ListInstancesResponse) obj; - if (!getInstancesList().equals(other.getInstancesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -417,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.ListInstancesResponse 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 message for the list instance request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListInstancesResponse} */ - 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.datafusion.v1beta1.ListInstancesResponse) com.google.cloud.datafusion.v1beta1.ListInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListInstancesResponse.class, - com.google.cloud.datafusion.v1beta1.ListInstancesResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListInstancesResponse.class, com.google.cloud.datafusion.v1beta1.ListInstancesResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.ListInstancesResponse.newBuilder() @@ -545,17 +492,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) { getInstancesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -573,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; } @java.lang.Override @@ -594,8 +541,7 @@ public com.google.cloud.datafusion.v1beta1.ListInstancesResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListInstancesResponse buildPartial() { - com.google.cloud.datafusion.v1beta1.ListInstancesResponse result = - new com.google.cloud.datafusion.v1beta1.ListInstancesResponse(this); + com.google.cloud.datafusion.v1beta1.ListInstancesResponse result = new com.google.cloud.datafusion.v1beta1.ListInstancesResponse(this); int from_bitField0_ = bitField0_; if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -620,39 +566,38 @@ public com.google.cloud.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListInstancesResponse) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListInstancesResponse)other); } else { super.mergeFrom(other); return this; @@ -660,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListInstancesResponse other) { - if (other == com.google.cloud.datafusion.v1beta1.ListInstancesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.ListInstancesResponse.getDefaultInstance()) return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -680,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListInstancesRespon instancesBuilder_ = null; instances_ = other.instances_; bitField0_ = (bitField0_ & ~0x00000001); - instancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getInstancesFieldBuilder() - : null; + instancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInstancesFieldBuilder() : null; } else { instancesBuilder_.addAllMessages(other.instances_); } @@ -722,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.ListInstancesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.ListInstancesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -732,29 +674,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - instances_ = - new java.util.ArrayList(instances_); + instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, - com.google.cloud.datafusion.v1beta1.Instance.Builder, - com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> - instancesBuilder_; + com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> instancesBuilder_; /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -769,8 +703,6 @@ public java.util.List getInstances } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -785,8 +717,6 @@ public int getInstancesCount() { } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -801,15 +731,14 @@ public com.google.cloud.datafusion.v1beta1.Instance getInstances(int index) { } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - public Builder setInstances(int index, com.google.cloud.datafusion.v1beta1.Instance value) { + public Builder setInstances( + int index, com.google.cloud.datafusion.v1beta1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -823,8 +752,6 @@ public Builder setInstances(int index, com.google.cloud.datafusion.v1beta1.Insta return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -843,8 +770,6 @@ public Builder setInstances( return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -865,15 +790,14 @@ public Builder addInstances(com.google.cloud.datafusion.v1beta1.Instance value) return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - public Builder addInstances(int index, com.google.cloud.datafusion.v1beta1.Instance value) { + public Builder addInstances( + int index, com.google.cloud.datafusion.v1beta1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -887,8 +811,6 @@ public Builder addInstances(int index, com.google.cloud.datafusion.v1beta1.Insta return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -907,8 +829,6 @@ public Builder addInstances( return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -927,8 +847,6 @@ public Builder addInstances( return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -939,7 +857,8 @@ public Builder addAllInstances( java.lang.Iterable values) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instances_); onChanged(); } else { instancesBuilder_.addAllMessages(values); @@ -947,8 +866,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -966,8 +883,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -985,44 +900,39 @@ public Builder removeInstances(int index) { return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - public com.google.cloud.datafusion.v1beta1.Instance.Builder getInstancesBuilder(int index) { + public com.google.cloud.datafusion.v1beta1.Instance.Builder getInstancesBuilder( + int index) { return getInstancesFieldBuilder().getBuilder(index); } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuilder( + int index) { if (instancesBuilder_ == null) { - return instances_.get(index); - } else { + return instances_.get(index); } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -1030,8 +940,6 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuild } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -1039,48 +947,42 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuild * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ public com.google.cloud.datafusion.v1beta1.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder() - .addBuilder(com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance()); + return getInstancesFieldBuilder().addBuilder( + com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance()); } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - public com.google.cloud.datafusion.v1beta1.Instance.Builder addInstancesBuilder(int index) { - return getInstancesFieldBuilder() - .addBuilder(index, com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance()); + public com.google.cloud.datafusion.v1beta1.Instance.Builder addInstancesBuilder( + int index) { + return getInstancesFieldBuilder().addBuilder( + index, com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance()); } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, - com.google.cloud.datafusion.v1beta1.Instance.Builder, - com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> + com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, - com.google.cloud.datafusion.v1beta1.Instance.Builder, - com.google.cloud.datafusion.v1beta1.InstanceOrBuilder>( - instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder>( + instances_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); instances_ = null; } return instancesBuilder_; @@ -1088,21 +990,19 @@ public com.google.cloud.datafusion.v1beta1.Instance.Builder addInstancesBuilder( private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -1111,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1134,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1250,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1343,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.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); } @@ -1376,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListInstancesResponse) private static final com.google.cloud.datafusion.v1beta1.ListInstancesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListInstancesResponse(); } @@ -1390,16 +1260,16 @@ public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstancesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInstancesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1414,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.java similarity index 72% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.java index 7192e421..ffe785b9 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListInstancesResponseOrBuilder - extends +public interface ListInstancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -44,8 +25,6 @@ public interface ListInstancesResponseOrBuilder */ com.google.cloud.datafusion.v1beta1.Instance getInstances(int index); /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -54,102 +33,84 @@ public interface ListInstancesResponseOrBuilder */ int getInstancesCount(); /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuilder(int index); + com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.java similarity index 69% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.java index 6539cdba..954867b5 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * List namespaces request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListNamespacesRequest} */ -public final class ListNamespacesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListNamespacesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListNamespacesRequest) ListNamespacesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListNamespacesRequest.newBuilder() to construct. private ListNamespacesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListNamespacesRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +27,16 @@ private ListNamespacesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListNamespacesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListNamespacesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListNamespacesRequest( 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 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,41 +92,34 @@ private ListNamespacesRequest( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.class, - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.class, com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The instance to list its namespaces.
    * 
* - * - * 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,31 +128,29 @@ 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 instance to list its namespaces.
    * 
* - * - * 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 { @@ -190,14 +161,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -208,15 +176,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -225,30 +190,30 @@ 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; } } /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @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 { @@ -259,8 +224,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** - * - * *
    * By default, only basic information about a namespace is returned
    * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -269,16 +232,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * By default, only basic information about a namespace is returned
    * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -287,19 +246,15 @@ public int getViewValue() {
    * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.datafusion.v1beta1.NamespaceView getView() { + @java.lang.Override public com.google.cloud.datafusion.v1beta1.NamespaceView getView() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.NamespaceView result = - com.google.cloud.datafusion.v1beta1.NamespaceView.valueOf(view_); + com.google.cloud.datafusion.v1beta1.NamespaceView result = com.google.cloud.datafusion.v1beta1.NamespaceView.valueOf(view_); return result == null ? com.google.cloud.datafusion.v1beta1.NamespaceView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +266,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_); } @@ -321,9 +277,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ - != com.google.cloud.datafusion.v1beta1.NamespaceView.NAMESPACE_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.datafusion.v1beta1.NamespaceView.NAMESPACE_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(4, view_); } unknownFields.writeTo(output); @@ -339,15 +293,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (view_ - != com.google.cloud.datafusion.v1beta1.NamespaceView.NAMESPACE_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); + if (view_ != com.google.cloud.datafusion.v1beta1.NamespaceView.NAMESPACE_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -357,17 +311,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.datafusion.v1beta1.ListNamespacesRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest other = - (com.google.cloud.datafusion.v1beta1.ListNamespacesRequest) obj; + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest other = (com.google.cloud.datafusion.v1beta1.ListNamespacesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -394,127 +350,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.ListNamespacesRequest 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; } /** - * - * *
    * List namespaces request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListNamespacesRequest} */ - 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.datafusion.v1beta1.ListNamespacesRequest) com.google.cloud.datafusion.v1beta1.ListNamespacesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.class, - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.class, com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.newBuilder() @@ -522,15 +468,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(); @@ -546,9 +493,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; } @java.lang.Override @@ -567,8 +514,7 @@ public com.google.cloud.datafusion.v1beta1.ListNamespacesRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListNamespacesRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest result = - new com.google.cloud.datafusion.v1beta1.ListNamespacesRequest(this); + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest result = new com.google.cloud.datafusion.v1beta1.ListNamespacesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -581,39 +527,38 @@ public com.google.cloud.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListNamespacesRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListNamespacesRequest)other); } else { super.mergeFrom(other); return this; @@ -621,8 +566,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListNamespacesRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -656,8 +600,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.ListNamespacesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.ListNamespacesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -669,22 +612,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The instance to list its namespaces.
      * 
* - * - * 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; @@ -693,23 +632,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The instance to list its namespaces.
      * 
* - * - * 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 { @@ -717,82 +653,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The instance to list its namespaces.
      * 
* - * - * 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 instance to list its namespaces.
      * 
* - * - * 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 instance to list its namespaces.
      * 
* - * - * 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; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -800,36 +720,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @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 items to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -837,21 +751,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -860,22 +772,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @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 { @@ -883,64 +794,57 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @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; } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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; @@ -948,8 +852,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * By default, only basic information about a namespace is returned
      * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -958,16 +860,12 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * By default, only basic information about a namespace is returned
      * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -976,19 +874,16 @@ public int getViewValue() {
      * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * By default, only basic information about a namespace is returned
      * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -997,21 +892,15 @@ public Builder setViewValue(int value) {
      * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; - * * @return The view. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.NamespaceView getView() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.NamespaceView result = - com.google.cloud.datafusion.v1beta1.NamespaceView.valueOf(view_); - return result == null - ? com.google.cloud.datafusion.v1beta1.NamespaceView.UNRECOGNIZED - : result; + com.google.cloud.datafusion.v1beta1.NamespaceView result = com.google.cloud.datafusion.v1beta1.NamespaceView.valueOf(view_); + return result == null ? com.google.cloud.datafusion.v1beta1.NamespaceView.UNRECOGNIZED : result; } /** - * - * *
      * By default, only basic information about a namespace is returned
      * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -1020,7 +909,6 @@ public com.google.cloud.datafusion.v1beta1.NamespaceView getView() {
      * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; - * * @param value The view to set. * @return This builder for chaining. */ @@ -1028,14 +916,12 @@ public Builder setView(com.google.cloud.datafusion.v1beta1.NamespaceView value) if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * By default, only basic information about a namespace is returned
      * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -1044,18 +930,17 @@ public Builder setView(com.google.cloud.datafusion.v1beta1.NamespaceView value)
      * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -1065,12 +950,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListNamespacesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListNamespacesRequest) private static final com.google.cloud.datafusion.v1beta1.ListNamespacesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListNamespacesRequest(); } @@ -1079,16 +964,16 @@ public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNamespacesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNamespacesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNamespacesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListNamespacesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1103,4 +988,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.ListNamespacesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java index 3dd8e241..34896e32 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java @@ -1,100 +1,65 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListNamespacesRequestOrBuilder - extends +public interface ListNamespacesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListNamespacesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance to list its namespaces.
    * 
* - * - * 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 instance to list its namespaces.
    * 
* - * - * 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 maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * By default, only basic information about a namespace is returned
    * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -103,13 +68,10 @@ public interface ListNamespacesRequestOrBuilder
    * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * By default, only basic information about a namespace is returned
    * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -118,7 +80,6 @@ public interface ListNamespacesRequestOrBuilder
    * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; - * * @return The view. */ com.google.cloud.datafusion.v1beta1.NamespaceView getView(); diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.java similarity index 73% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.java index 7d6a143a..9127753a 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * List namespaces response.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListNamespacesResponse} */ -public final class ListNamespacesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListNamespacesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListNamespacesResponse) ListNamespacesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListNamespacesResponse.newBuilder() to construct. private ListNamespacesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListNamespacesResponse() { namespaces_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListNamespacesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListNamespacesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListNamespacesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListNamespacesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - namespaces_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - namespaces_.add( - input.readMessage( - com.google.cloud.datafusion.v1beta1.Namespace.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + namespaces_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + namespaces_.add( + input.readMessage(com.google.cloud.datafusion.v1beta1.Namespace.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) { @@ -105,7 +84,8 @@ private ListNamespacesResponse( } 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)) { namespaces_ = java.util.Collections.unmodifiableList(namespaces_); @@ -114,27 +94,22 @@ private ListNamespacesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.class, - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.class, com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.Builder.class); } public static final int NAMESPACES_FIELD_NUMBER = 1; private java.util.List namespaces_; /** - * - * *
    * List of namespaces
    * 
@@ -146,8 +121,6 @@ public java.util.List getNamespac return namespaces_; } /** - * - * *
    * List of namespaces
    * 
@@ -155,13 +128,11 @@ public java.util.List getNamespac * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ @java.lang.Override - public java.util.List + public java.util.List getNamespacesOrBuilderList() { return namespaces_; } /** - * - * *
    * List of namespaces
    * 
@@ -173,8 +144,6 @@ public int getNamespacesCount() { return namespaces_.size(); } /** - * - * *
    * List of namespaces
    * 
@@ -186,8 +155,6 @@ public com.google.cloud.datafusion.v1beta1.Namespace getNamespaces(int index) { return namespaces_.get(index); } /** - * - * *
    * List of namespaces
    * 
@@ -195,22 +162,20 @@ public com.google.cloud.datafusion.v1beta1.Namespace getNamespaces(int index) { * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ @java.lang.Override - public com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBuilder(int index) { + public com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBuilder( + int index) { return namespaces_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,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; } } /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,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 < namespaces_.size(); i++) { output.writeMessage(1, namespaces_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < namespaces_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, namespaces_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, namespaces_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,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.datafusion.v1beta1.ListNamespacesResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse other = - (com.google.cloud.datafusion.v1beta1.ListNamespacesResponse) obj; + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse other = (com.google.cloud.datafusion.v1beta1.ListNamespacesResponse) obj; - if (!getNamespacesList().equals(other.getNamespacesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getNamespacesList() + .equals(other.getNamespacesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.ListNamespacesResponse 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; } /** - * - * *
    * List namespaces response.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListNamespacesResponse} */ - 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.datafusion.v1beta1.ListNamespacesResponse) com.google.cloud.datafusion.v1beta1.ListNamespacesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.class, - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.class, com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.newBuilder() @@ -454,17 +411,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) { getNamespacesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; } @java.lang.Override @@ -501,8 +458,7 @@ public com.google.cloud.datafusion.v1beta1.ListNamespacesResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListNamespacesResponse buildPartial() { - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse result = - new com.google.cloud.datafusion.v1beta1.ListNamespacesResponse(this); + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse result = new com.google.cloud.datafusion.v1beta1.ListNamespacesResponse(this); int from_bitField0_ = bitField0_; if (namespacesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -522,39 +478,38 @@ public com.google.cloud.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListNamespacesResponse) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListNamespacesResponse)other); } else { super.mergeFrom(other); return this; @@ -562,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListNamespacesResponse other) { - if (other == com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.getDefaultInstance()) return this; if (namespacesBuilder_ == null) { if (!other.namespaces_.isEmpty()) { if (namespaces_.isEmpty()) { @@ -582,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListNamespacesRespo namespacesBuilder_ = null; namespaces_ = other.namespaces_; bitField0_ = (bitField0_ & ~0x00000001); - namespacesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNamespacesFieldBuilder() - : null; + namespacesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNamespacesFieldBuilder() : null; } else { namespacesBuilder_.addAllMessages(other.namespaces_); } @@ -614,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.ListNamespacesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.ListNamespacesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -624,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List namespaces_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNamespacesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - namespaces_ = - new java.util.ArrayList(namespaces_); + namespaces_ = new java.util.ArrayList(namespaces_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Namespace, - com.google.cloud.datafusion.v1beta1.Namespace.Builder, - com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder> - namespacesBuilder_; + com.google.cloud.datafusion.v1beta1.Namespace, com.google.cloud.datafusion.v1beta1.Namespace.Builder, com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder> namespacesBuilder_; /** - * - * *
      * List of namespaces
      * 
@@ -661,8 +605,6 @@ public java.util.List getNamespac } } /** - * - * *
      * List of namespaces
      * 
@@ -677,8 +619,6 @@ public int getNamespacesCount() { } } /** - * - * *
      * List of namespaces
      * 
@@ -693,15 +633,14 @@ public com.google.cloud.datafusion.v1beta1.Namespace getNamespaces(int index) { } } /** - * - * *
      * List of namespaces
      * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - public Builder setNamespaces(int index, com.google.cloud.datafusion.v1beta1.Namespace value) { + public Builder setNamespaces( + int index, com.google.cloud.datafusion.v1beta1.Namespace value) { if (namespacesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -715,8 +654,6 @@ public Builder setNamespaces(int index, com.google.cloud.datafusion.v1beta1.Name return this; } /** - * - * *
      * List of namespaces
      * 
@@ -735,8 +672,6 @@ public Builder setNamespaces( return this; } /** - * - * *
      * List of namespaces
      * 
@@ -757,15 +692,14 @@ public Builder addNamespaces(com.google.cloud.datafusion.v1beta1.Namespace value return this; } /** - * - * *
      * List of namespaces
      * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - public Builder addNamespaces(int index, com.google.cloud.datafusion.v1beta1.Namespace value) { + public Builder addNamespaces( + int index, com.google.cloud.datafusion.v1beta1.Namespace value) { if (namespacesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -779,8 +713,6 @@ public Builder addNamespaces(int index, com.google.cloud.datafusion.v1beta1.Name return this; } /** - * - * *
      * List of namespaces
      * 
@@ -799,8 +731,6 @@ public Builder addNamespaces( return this; } /** - * - * *
      * List of namespaces
      * 
@@ -819,8 +749,6 @@ public Builder addNamespaces( return this; } /** - * - * *
      * List of namespaces
      * 
@@ -831,7 +759,8 @@ public Builder addAllNamespaces( java.lang.Iterable values) { if (namespacesBuilder_ == null) { ensureNamespacesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, namespaces_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, namespaces_); onChanged(); } else { namespacesBuilder_.addAllMessages(values); @@ -839,8 +768,6 @@ public Builder addAllNamespaces( return this; } /** - * - * *
      * List of namespaces
      * 
@@ -858,8 +785,6 @@ public Builder clearNamespaces() { return this; } /** - * - * *
      * List of namespaces
      * 
@@ -877,20 +802,17 @@ public Builder removeNamespaces(int index) { return this; } /** - * - * *
      * List of namespaces
      * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - public com.google.cloud.datafusion.v1beta1.Namespace.Builder getNamespacesBuilder(int index) { + public com.google.cloud.datafusion.v1beta1.Namespace.Builder getNamespacesBuilder( + int index) { return getNamespacesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of namespaces
      * 
@@ -900,22 +822,19 @@ public com.google.cloud.datafusion.v1beta1.Namespace.Builder getNamespacesBuilde public com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBuilder( int index) { if (namespacesBuilder_ == null) { - return namespaces_.get(index); - } else { + return namespaces_.get(index); } else { return namespacesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of namespaces
      * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - public java.util.List - getNamespacesOrBuilderList() { + public java.util.List + getNamespacesOrBuilderList() { if (namespacesBuilder_ != null) { return namespacesBuilder_.getMessageOrBuilderList(); } else { @@ -923,8 +842,6 @@ public com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBui } } /** - * - * *
      * List of namespaces
      * 
@@ -932,48 +849,42 @@ public com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBui * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ public com.google.cloud.datafusion.v1beta1.Namespace.Builder addNamespacesBuilder() { - return getNamespacesFieldBuilder() - .addBuilder(com.google.cloud.datafusion.v1beta1.Namespace.getDefaultInstance()); + return getNamespacesFieldBuilder().addBuilder( + com.google.cloud.datafusion.v1beta1.Namespace.getDefaultInstance()); } /** - * - * *
      * List of namespaces
      * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - public com.google.cloud.datafusion.v1beta1.Namespace.Builder addNamespacesBuilder(int index) { - return getNamespacesFieldBuilder() - .addBuilder(index, com.google.cloud.datafusion.v1beta1.Namespace.getDefaultInstance()); + public com.google.cloud.datafusion.v1beta1.Namespace.Builder addNamespacesBuilder( + int index) { + return getNamespacesFieldBuilder().addBuilder( + index, com.google.cloud.datafusion.v1beta1.Namespace.getDefaultInstance()); } /** - * - * *
      * List of namespaces
      * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - public java.util.List - getNamespacesBuilderList() { + public java.util.List + getNamespacesBuilderList() { return getNamespacesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Namespace, - com.google.cloud.datafusion.v1beta1.Namespace.Builder, - com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder> + com.google.cloud.datafusion.v1beta1.Namespace, com.google.cloud.datafusion.v1beta1.Namespace.Builder, com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder> getNamespacesFieldBuilder() { if (namespacesBuilder_ == null) { - namespacesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Namespace, - com.google.cloud.datafusion.v1beta1.Namespace.Builder, - com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder>( - namespaces_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + namespacesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.Namespace, com.google.cloud.datafusion.v1beta1.Namespace.Builder, com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder>( + namespaces_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); namespaces_ = null; } return namespacesBuilder_; @@ -981,21 +892,19 @@ public com.google.cloud.datafusion.v1beta1.Namespace.Builder addNamespacesBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -1004,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1027,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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); } @@ -1101,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListNamespacesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListNamespacesResponse) private static final com.google.cloud.datafusion.v1beta1.ListNamespacesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListNamespacesResponse(); } @@ -1115,16 +1016,16 @@ public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNamespacesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNamespacesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNamespacesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListNamespacesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1139,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.ListNamespacesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.java index b9ec7ca0..4804d533 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListNamespacesResponseOrBuilder - extends +public interface ListNamespacesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListNamespacesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of namespaces
    * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - java.util.List getNamespacesList(); + java.util.List + getNamespacesList(); /** - * - * *
    * List of namespaces
    * 
@@ -44,8 +25,6 @@ public interface ListNamespacesResponseOrBuilder */ com.google.cloud.datafusion.v1beta1.Namespace getNamespaces(int index); /** - * - * *
    * List of namespaces
    * 
@@ -54,51 +33,43 @@ public interface ListNamespacesResponseOrBuilder */ int getNamespacesCount(); /** - * - * *
    * List of namespaces
    * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - java.util.List + java.util.List getNamespacesOrBuilderList(); /** - * - * *
    * List of namespaces
    * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBuilder(int index); + com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/LocationName.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/LocationName.java similarity index 100% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/LocationName.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/LocationName.java diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.java similarity index 69% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.java index 2bce8a68..5602938a 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Represents the information of a namespace
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Namespace} */ -public final class Namespace extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Namespace extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.Namespace) NamespaceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Namespace.newBuilder() to construct. private Namespace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Namespace() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Namespace(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Namespace( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,36 +53,32 @@ private Namespace( 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.cloud.datafusion.v1beta1.IAMPolicy.Builder subBuilder = null; + if (iamPolicy_ != null) { + subBuilder = iamPolicy_.toBuilder(); } - case 18: - { - com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder subBuilder = null; - if (iamPolicy_ != null) { - subBuilder = iamPolicy_.toBuilder(); - } - iamPolicy_ = - input.readMessage( - com.google.cloud.datafusion.v1beta1.IAMPolicy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(iamPolicy_); - iamPolicy_ = subBuilder.buildPartial(); - } - - break; + iamPolicy_ = input.readMessage(com.google.cloud.datafusion.v1beta1.IAMPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(iamPolicy_); + iamPolicy_ = 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) { @@ -107,39 +86,34 @@ private Namespace( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Namespace.class, - com.google.cloud.datafusion.v1beta1.Namespace.Builder.class); + com.google.cloud.datafusion.v1beta1.Namespace.class, com.google.cloud.datafusion.v1beta1.Namespace.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Name of the given namespace.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -148,29 +122,29 @@ 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; } } /** - * - * *
    * Name of the given namespace.
    * 
* * string name = 1; - * * @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 { @@ -181,14 +155,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int IAM_POLICY_FIELD_NUMBER = 2; private com.google.cloud.datafusion.v1beta1.IAMPolicy iamPolicy_; /** - * - * *
    * IAM policy associated with this namespace.
    * 
* * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; - * * @return Whether the iamPolicy field is set. */ @java.lang.Override @@ -196,25 +167,18 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** - * - * *
    * IAM policy associated with this namespace.
    * 
* * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; - * * @return The iamPolicy. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.IAMPolicy getIamPolicy() { - return iamPolicy_ == null - ? com.google.cloud.datafusion.v1beta1.IAMPolicy.getDefaultInstance() - : iamPolicy_; + return iamPolicy_ == null ? com.google.cloud.datafusion.v1beta1.IAMPolicy.getDefaultInstance() : iamPolicy_; } /** - * - * *
    * IAM policy associated with this namespace.
    * 
@@ -227,7 +191,6 @@ public com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder getIamPolicyOrBuil } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,7 +202,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_); } @@ -259,7 +223,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (iamPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIamPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getIamPolicy()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -269,18 +234,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.datafusion.v1beta1.Namespace)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.Namespace other = - (com.google.cloud.datafusion.v1beta1.Namespace) obj; + com.google.cloud.datafusion.v1beta1.Namespace other = (com.google.cloud.datafusion.v1beta1.Namespace) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasIamPolicy() != other.hasIamPolicy()) return false; if (hasIamPolicy()) { - if (!getIamPolicy().equals(other.getIamPolicy())) return false; + if (!getIamPolicy() + .equals(other.getIamPolicy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -304,127 +270,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1beta1.Namespace parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1beta1.Namespace parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.Namespace parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.Namespace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.Namespace parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace 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 information of a namespace
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Namespace} */ - 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.datafusion.v1beta1.Namespace) com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Namespace.class, - com.google.cloud.datafusion.v1beta1.Namespace.Builder.class); + com.google.cloud.datafusion.v1beta1.Namespace.class, com.google.cloud.datafusion.v1beta1.Namespace.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.Namespace.newBuilder() @@ -432,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(); @@ -456,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; } @java.lang.Override @@ -477,8 +435,7 @@ public com.google.cloud.datafusion.v1beta1.Namespace build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.Namespace buildPartial() { - com.google.cloud.datafusion.v1beta1.Namespace result = - new com.google.cloud.datafusion.v1beta1.Namespace(this); + com.google.cloud.datafusion.v1beta1.Namespace result = new com.google.cloud.datafusion.v1beta1.Namespace(this); result.name_ = name_; if (iamPolicyBuilder_ == null) { result.iamPolicy_ = iamPolicy_; @@ -493,39 +450,38 @@ public com.google.cloud.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.Namespace) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.Namespace)other); } else { super.mergeFrom(other); return this; @@ -572,20 +528,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Name of the given namespace.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -594,21 +548,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the given namespace.
      * 
* * string name = 1; - * * @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 { @@ -616,61 +569,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the given namespace.
      * 
* * string name = 1; - * * @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; } /** - * - * *
      * Name of the given namespace.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Name of the given namespace.
      * 
* * string name = 1; - * * @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; @@ -678,47 +624,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datafusion.v1beta1.IAMPolicy iamPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.IAMPolicy, - com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder, - com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder> - iamPolicyBuilder_; + com.google.cloud.datafusion.v1beta1.IAMPolicy, com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder, com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder> iamPolicyBuilder_; /** - * - * *
      * IAM policy associated with this namespace.
      * 
* * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; - * * @return Whether the iamPolicy field is set. */ public boolean hasIamPolicy() { return iamPolicyBuilder_ != null || iamPolicy_ != null; } /** - * - * *
      * IAM policy associated with this namespace.
      * 
* * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; - * * @return The iamPolicy. */ public com.google.cloud.datafusion.v1beta1.IAMPolicy getIamPolicy() { if (iamPolicyBuilder_ == null) { - return iamPolicy_ == null - ? com.google.cloud.datafusion.v1beta1.IAMPolicy.getDefaultInstance() - : iamPolicy_; + return iamPolicy_ == null ? com.google.cloud.datafusion.v1beta1.IAMPolicy.getDefaultInstance() : iamPolicy_; } else { return iamPolicyBuilder_.getMessage(); } } /** - * - * *
      * IAM policy associated with this namespace.
      * 
@@ -739,8 +672,6 @@ public Builder setIamPolicy(com.google.cloud.datafusion.v1beta1.IAMPolicy value) return this; } /** - * - * *
      * IAM policy associated with this namespace.
      * 
@@ -759,8 +690,6 @@ public Builder setIamPolicy( return this; } /** - * - * *
      * IAM policy associated with this namespace.
      * 
@@ -771,9 +700,7 @@ public Builder mergeIamPolicy(com.google.cloud.datafusion.v1beta1.IAMPolicy valu if (iamPolicyBuilder_ == null) { if (iamPolicy_ != null) { iamPolicy_ = - com.google.cloud.datafusion.v1beta1.IAMPolicy.newBuilder(iamPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datafusion.v1beta1.IAMPolicy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial(); } else { iamPolicy_ = value; } @@ -785,8 +712,6 @@ public Builder mergeIamPolicy(com.google.cloud.datafusion.v1beta1.IAMPolicy valu return this; } /** - * - * *
      * IAM policy associated with this namespace.
      * 
@@ -805,8 +730,6 @@ public Builder clearIamPolicy() { return this; } /** - * - * *
      * IAM policy associated with this namespace.
      * 
@@ -814,13 +737,11 @@ public Builder clearIamPolicy() { * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; */ public com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder getIamPolicyBuilder() { - + onChanged(); return getIamPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * IAM policy associated with this namespace.
      * 
@@ -831,14 +752,11 @@ public com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder getIamPolicyOrBuil if (iamPolicyBuilder_ != null) { return iamPolicyBuilder_.getMessageOrBuilder(); } else { - return iamPolicy_ == null - ? com.google.cloud.datafusion.v1beta1.IAMPolicy.getDefaultInstance() - : iamPolicy_; + return iamPolicy_ == null ? + com.google.cloud.datafusion.v1beta1.IAMPolicy.getDefaultInstance() : iamPolicy_; } } /** - * - * *
      * IAM policy associated with this namespace.
      * 
@@ -846,24 +764,21 @@ public com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder getIamPolicyOrBuil * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.IAMPolicy, - com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder, - com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder> + com.google.cloud.datafusion.v1beta1.IAMPolicy, com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder, com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder> getIamPolicyFieldBuilder() { if (iamPolicyBuilder_ == null) { - iamPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.IAMPolicy, - com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder, - com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder>( - getIamPolicy(), getParentForChildren(), isClean()); + iamPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.IAMPolicy, com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder, com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder>( + getIamPolicy(), + getParentForChildren(), + isClean()); iamPolicy_ = null; } return iamPolicyBuilder_; } - @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); } @@ -873,12 +788,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.Namespace) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.Namespace) private static final com.google.cloud.datafusion.v1beta1.Namespace DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.Namespace(); } @@ -887,16 +802,16 @@ public static com.google.cloud.datafusion.v1beta1.Namespace getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Namespace parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Namespace(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Namespace parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Namespace(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -911,4 +826,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.Namespace getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java similarity index 63% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java index 30778ae7..6e0aa77b 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java @@ -1,80 +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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface NamespaceOrBuilder - extends +public interface NamespaceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.Namespace) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the given namespace.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the given namespace.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * IAM policy associated with this namespace.
    * 
* * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; - * * @return Whether the iamPolicy field is set. */ boolean hasIamPolicy(); /** - * - * *
    * IAM policy associated with this namespace.
    * 
* * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; - * * @return The iamPolicy. */ com.google.cloud.datafusion.v1beta1.IAMPolicy getIamPolicy(); /** - * - * *
    * IAM policy associated with this namespace.
    * 
diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java similarity index 67% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java index bb070c76..a3bed825 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * A view for Namespace
  * 
* * Protobuf enum {@code google.cloud.datafusion.v1beta1.NamespaceView} */ -public enum NamespaceView implements com.google.protobuf.ProtocolMessageEnum { +public enum NamespaceView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default/unset value, which will use BASIC view.
    * 
@@ -39,8 +21,6 @@ public enum NamespaceView implements com.google.protobuf.ProtocolMessageEnum { */ NAMESPACE_VIEW_UNSPECIFIED(0), /** - * - * *
    * Show the most basic metadata of a namespace
    * 
@@ -49,8 +29,6 @@ public enum NamespaceView implements com.google.protobuf.ProtocolMessageEnum { */ NAMESPACE_VIEW_BASIC(1), /** - * - * *
    * Returns all metadata of a namespace
    * 
@@ -62,8 +40,6 @@ public enum NamespaceView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default/unset value, which will use BASIC view.
    * 
@@ -72,8 +48,6 @@ public enum NamespaceView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NAMESPACE_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Show the most basic metadata of a namespace
    * 
@@ -82,8 +56,6 @@ public enum NamespaceView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NAMESPACE_VIEW_BASIC_VALUE = 1; /** - * - * *
    * Returns all metadata of a namespace
    * 
@@ -92,6 +64,7 @@ public enum NamespaceView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NAMESPACE_VIEW_FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,49 +89,49 @@ public static NamespaceView valueOf(int value) { */ public static NamespaceView forNumber(int value) { switch (value) { - case 0: - return NAMESPACE_VIEW_UNSPECIFIED; - case 1: - return NAMESPACE_VIEW_BASIC; - case 2: - return NAMESPACE_VIEW_FULL; - default: - return null; + case 0: return NAMESPACE_VIEW_UNSPECIFIED; + case 1: return NAMESPACE_VIEW_BASIC; + case 2: return NAMESPACE_VIEW_FULL; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public NamespaceView findValueByNumber(int number) { - return NamespaceView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + NamespaceView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public NamespaceView findValueByNumber(int number) { + return NamespaceView.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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.datafusion.v1beta1.V1Beta1.getDescriptor().getEnumTypes().get(0); } private static final NamespaceView[] VALUES = values(); - public static NamespaceView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static NamespaceView 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; @@ -174,3 +147,4 @@ private NamespaceView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datafusion.v1beta1.NamespaceView) } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.java similarity index 73% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.java index 98313eb0..edb3ab98 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Network configuration for a Data Fusion instance. These configurations
  * are used for peering with the customer network. Configurations are optional
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1beta1.NetworkConfig}
  */
-public final class NetworkConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NetworkConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.NetworkConfig)
     NetworkConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NetworkConfig.newBuilder() to construct.
   private NetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NetworkConfig() {
     network_ = "";
     ipAllocation_ = "";
@@ -49,15 +31,16 @@ private NetworkConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NetworkConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NetworkConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,27 +59,25 @@ private NetworkConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              network_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            network_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              ipAllocation_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            ipAllocation_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,33 +85,29 @@ private NetworkConfig(
     } 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.datafusion.v1beta1.V1Beta1
-        .internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1beta1.V1Beta1
-        .internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable
+    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1beta1.NetworkConfig.class,
-            com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder.class);
+            com.google.cloud.datafusion.v1beta1.NetworkConfig.class, com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder.class);
   }
 
   public static final int NETWORK_FIELD_NUMBER = 1;
   private volatile java.lang.Object network_;
   /**
-   *
-   *
    * 
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -139,7 +116,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string network = 1; - * * @return The network. */ @java.lang.Override @@ -148,15 +124,14 @@ public java.lang.String getNetwork() { 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(); network_ = s; return s; } } /** - * - * *
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -165,15 +140,16 @@ public java.lang.String getNetwork() {
    * 
* * string network = 1; - * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; 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); network_ = b; return b; } else { @@ -184,8 +160,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int IP_ALLOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object ipAllocation_; /** - * - * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the Data
@@ -193,7 +167,6 @@ public com.google.protobuf.ByteString getNetworkBytes() {
    * 
* * string ip_allocation = 2; - * * @return The ipAllocation. */ @java.lang.Override @@ -202,15 +175,14 @@ public java.lang.String getIpAllocation() { 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(); ipAllocation_ = s; return s; } } /** - * - * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the Data
@@ -218,15 +190,16 @@ public java.lang.String getIpAllocation() {
    * 
* * string ip_allocation = 2; - * * @return The bytes for ipAllocation. */ @java.lang.Override - public com.google.protobuf.ByteString getIpAllocationBytes() { + public com.google.protobuf.ByteString + getIpAllocationBytes() { java.lang.Object ref = ipAllocation_; 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); ipAllocation_ = b; return b; } else { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getIpAllocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,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(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -277,16 +250,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.datafusion.v1beta1.NetworkConfig)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.NetworkConfig other = - (com.google.cloud.datafusion.v1beta1.NetworkConfig) obj; + com.google.cloud.datafusion.v1beta1.NetworkConfig other = (com.google.cloud.datafusion.v1beta1.NetworkConfig) obj; - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getIpAllocation().equals(other.getIpAllocation())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getIpAllocation() + .equals(other.getIpAllocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -308,103 +282,96 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.NetworkConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.NetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.NetworkConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.NetworkConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig 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; } /** - * - * *
    * Network configuration for a Data Fusion instance. These configurations
    * are used for peering with the customer network. Configurations are optional
@@ -416,23 +383,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datafusion.v1beta1.NetworkConfig}
    */
-  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.datafusion.v1beta1.NetworkConfig)
       com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1beta1.NetworkConfig.class,
-              com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder.class);
+              com.google.cloud.datafusion.v1beta1.NetworkConfig.class, com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1beta1.NetworkConfig.newBuilder()
@@ -440,15 +405,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();
@@ -460,9 +426,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor;
     }
 
     @java.lang.Override
@@ -481,8 +447,7 @@ public com.google.cloud.datafusion.v1beta1.NetworkConfig build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1beta1.NetworkConfig buildPartial() {
-      com.google.cloud.datafusion.v1beta1.NetworkConfig result =
-          new com.google.cloud.datafusion.v1beta1.NetworkConfig(this);
+      com.google.cloud.datafusion.v1beta1.NetworkConfig result = new com.google.cloud.datafusion.v1beta1.NetworkConfig(this);
       result.network_ = network_;
       result.ipAllocation_ = ipAllocation_;
       onBuilt();
@@ -493,39 +458,38 @@ public com.google.cloud.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig) {
-        return mergeFrom((com.google.cloud.datafusion.v1beta1.NetworkConfig) other);
+        return mergeFrom((com.google.cloud.datafusion.v1beta1.NetworkConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -533,8 +497,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.NetworkConfig other) {
-      if (other == com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance()) return this;
       if (!other.getNetwork().isEmpty()) {
         network_ = other.network_;
         onChanged();
@@ -562,8 +525,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.datafusion.v1beta1.NetworkConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.datafusion.v1beta1.NetworkConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -575,8 +537,6 @@ public Builder mergeFrom(
 
     private java.lang.Object network_ = "";
     /**
-     *
-     *
      * 
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -585,13 +545,13 @@ public Builder mergeFrom(
      * 
* * string network = 1; - * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; 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(); network_ = s; return s; @@ -600,8 +560,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -610,14 +568,15 @@ public java.lang.String getNetwork() {
      * 
* * string network = 1; - * * @return The bytes for network. */ - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; 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); network_ = b; return b; } else { @@ -625,8 +584,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -635,22 +592,20 @@ public com.google.protobuf.ByteString getNetworkBytes() {
      * 
* * string network = 1; - * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork(java.lang.String value) { + public Builder setNetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** - * - * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -659,18 +614,15 @@ public Builder setNetwork(java.lang.String value) {
      * 
* * string network = 1; - * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** - * - * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -679,16 +631,16 @@ public Builder clearNetwork() {
      * 
* * string network = 1; - * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -696,8 +648,6 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object ipAllocation_ = ""; /** - * - * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the Data
@@ -705,13 +655,13 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
      * 
* * string ip_allocation = 2; - * * @return The ipAllocation. */ public java.lang.String getIpAllocation() { java.lang.Object ref = ipAllocation_; 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(); ipAllocation_ = s; return s; @@ -720,8 +670,6 @@ public java.lang.String getIpAllocation() { } } /** - * - * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the Data
@@ -729,14 +677,15 @@ public java.lang.String getIpAllocation() {
      * 
* * string ip_allocation = 2; - * * @return The bytes for ipAllocation. */ - public com.google.protobuf.ByteString getIpAllocationBytes() { + public com.google.protobuf.ByteString + getIpAllocationBytes() { java.lang.Object ref = ipAllocation_; 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); ipAllocation_ = b; return b; } else { @@ -744,8 +693,6 @@ public com.google.protobuf.ByteString getIpAllocationBytes() { } } /** - * - * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the Data
@@ -753,22 +700,20 @@ public com.google.protobuf.ByteString getIpAllocationBytes() {
      * 
* * string ip_allocation = 2; - * * @param value The ipAllocation to set. * @return This builder for chaining. */ - public Builder setIpAllocation(java.lang.String value) { + public Builder setIpAllocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipAllocation_ = value; onChanged(); return this; } /** - * - * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the Data
@@ -776,18 +721,15 @@ public Builder setIpAllocation(java.lang.String value) {
      * 
* * string ip_allocation = 2; - * * @return This builder for chaining. */ public Builder clearIpAllocation() { - + ipAllocation_ = getDefaultInstance().getIpAllocation(); onChanged(); return this; } /** - * - * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the Data
@@ -795,23 +737,23 @@ public Builder clearIpAllocation() {
      * 
* * string ip_allocation = 2; - * * @param value The bytes for ipAllocation to set. * @return This builder for chaining. */ - public Builder setIpAllocationBytes(com.google.protobuf.ByteString value) { + public Builder setIpAllocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipAllocation_ = 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); } @@ -821,12 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.NetworkConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.NetworkConfig) private static final com.google.cloud.datafusion.v1beta1.NetworkConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.NetworkConfig(); } @@ -835,16 +777,16 @@ public static com.google.cloud.datafusion.v1beta1.NetworkConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NetworkConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetworkConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -859,4 +801,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.NetworkConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.java similarity index 69% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.java index 88354288..3158f68f 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface NetworkConfigOrBuilder - extends +public interface NetworkConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.NetworkConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -34,13 +16,10 @@ public interface NetworkConfigOrBuilder
    * 
* * string network = 1; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -49,14 +28,12 @@ public interface NetworkConfigOrBuilder
    * 
* * string network = 1; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the Data
@@ -64,13 +41,10 @@ public interface NetworkConfigOrBuilder
    * 
* * string ip_allocation = 2; - * * @return The ipAllocation. */ java.lang.String getIpAllocation(); /** - * - * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the Data
@@ -78,8 +52,8 @@ public interface NetworkConfigOrBuilder
    * 
* * string ip_allocation = 2; - * * @return The bytes for ipAllocation. */ - com.google.protobuf.ByteString getIpAllocationBytes(); + com.google.protobuf.ByteString + getIpAllocationBytes(); } diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.java similarity index 72% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.java index 5fd502fe..71116c37 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Represents the metadata of a long-running operation.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.OperationMetadata} */ -public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -46,15 +28,16 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,76 +56,68 @@ private OperationMetadata( case 0: done = true; break; - case 10: - { - 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 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - 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; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - target_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - statusDetail_ = s; - break; - } - case 48: - { - requestedCancellation_ = input.readBool(); - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + target_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + verb_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + statusDetail_ = s; + break; + } + case 48: { + + requestedCancellation_ = input.readBool(); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + apiVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -150,39 +125,34 @@ private OperationMetadata( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.OperationMetadata.class, - com.google.cloud.datafusion.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.datafusion.v1beta1.OperationMetadata.class, com.google.cloud.datafusion.v1beta1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -190,14 +160,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ @java.lang.Override @@ -205,8 +172,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the operation was created.
    * 
@@ -221,14 +186,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -236,14 +198,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -251,8 +210,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation finished running.
    * 
@@ -267,14 +224,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The target. */ @java.lang.Override @@ -283,29 +237,29 @@ public java.lang.String getTarget() { 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(); target_ = s; return s; } } /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -316,14 +270,11 @@ public com.google.protobuf.ByteString getTargetBytes() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ @java.lang.Override @@ -332,29 +283,29 @@ public java.lang.String getVerb() { 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(); verb_ = s; return s; } } /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -365,14 +316,11 @@ public com.google.protobuf.ByteString getVerbBytes() { public static final int STATUS_DETAIL_FIELD_NUMBER = 5; private volatile java.lang.Object statusDetail_; /** - * - * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; - * * @return The statusDetail. */ @java.lang.Override @@ -381,29 +329,29 @@ public java.lang.String getStatusDetail() { 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(); statusDetail_ = s; return s; } } /** - * - * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; 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); statusDetail_ = b; return b; } else { @@ -414,8 +362,6 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_; /** - * - * *
    * Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -424,7 +370,6 @@ public com.google.protobuf.ByteString getStatusDetailBytes() {
    * 
* * bool requested_cancellation = 6; - * * @return The requestedCancellation. */ @java.lang.Override @@ -435,14 +380,11 @@ public boolean getRequestedCancellation() { public static final int API_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object apiVersion_; /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 7; - * * @return The apiVersion. */ @java.lang.Override @@ -451,29 +393,29 @@ public java.lang.String getApiVersion() { 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(); apiVersion_ = s; return s; } } /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -482,7 +424,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -494,7 +435,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -526,10 +468,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -541,7 +485,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusDetail_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -554,27 +499,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.datafusion.v1beta1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.OperationMetadata other = - (com.google.cloud.datafusion.v1beta1.OperationMetadata) obj; + com.google.cloud.datafusion.v1beta1.OperationMetadata other = (com.google.cloud.datafusion.v1beta1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (!getTarget().equals(other.getTarget())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (!getStatusDetail().equals(other.getStatusDetail())) return false; - if (getRequestedCancellation() != other.getRequestedCancellation()) return false; - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (!getStatusDetail() + .equals(other.getStatusDetail())) return false; + if (getRequestedCancellation() + != other.getRequestedCancellation()) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -601,7 +552,8 @@ public int hashCode() { hash = (37 * hash) + STATUS_DETAIL_FIELD_NUMBER; hash = (53 * hash) + getStatusDetail().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -610,127 +562,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.OperationMetadata 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 metadata of a long-running operation.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.OperationMetadata} */ - 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.datafusion.v1beta1.OperationMetadata) com.google.cloud.datafusion.v1beta1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.OperationMetadata.class, - com.google.cloud.datafusion.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.datafusion.v1beta1.OperationMetadata.class, com.google.cloud.datafusion.v1beta1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.OperationMetadata.newBuilder() @@ -738,15 +680,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(); @@ -776,9 +719,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; } @java.lang.Override @@ -797,8 +740,7 @@ public com.google.cloud.datafusion.v1beta1.OperationMetadata build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.OperationMetadata buildPartial() { - com.google.cloud.datafusion.v1beta1.OperationMetadata result = - new com.google.cloud.datafusion.v1beta1.OperationMetadata(this); + com.google.cloud.datafusion.v1beta1.OperationMetadata result = new com.google.cloud.datafusion.v1beta1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -822,39 +764,38 @@ public com.google.cloud.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.OperationMetadata) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -862,8 +803,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.OperationMetadata other) { - if (other == com.google.cloud.datafusion.v1beta1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -908,8 +848,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -921,47 +860,34 @@ public Builder mergeFrom( 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_; /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @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(); } } /** - * - * *
      * The time the operation was created.
      * 
@@ -982,15 +908,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - 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(); @@ -1001,8 +926,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1013,7 +936,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; } @@ -1025,8 +948,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1045,8 +966,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1054,13 +973,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation was created.
      * 
@@ -1071,14 +988,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_; } } /** - * - * *
      * The time the operation was created.
      * 
@@ -1086,17 +1000,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ 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_; @@ -1104,33 +1015,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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_; /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1141,8 +1043,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1163,15 +1063,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - 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(); @@ -1182,8 +1081,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1194,7 +1091,7 @@ 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; } @@ -1206,8 +1103,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1226,8 +1121,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1235,13 +1128,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1252,12 +1143,11 @@ 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_; } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1265,17 +1155,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ 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_; @@ -1283,20 +1170,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; 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(); target_ = s; return s; @@ -1305,21 +1190,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -1327,61 +1211,54 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { + public Builder setTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1389,20 +1266,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; 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(); verb_ = s; return s; @@ -1411,21 +1286,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -1433,61 +1307,54 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { + public Builder setVerb( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1495,20 +1362,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusDetail_ = ""; /** - * - * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; - * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; 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(); statusDetail_ = s; return s; @@ -1517,21 +1382,20 @@ public java.lang.String getStatusDetail() { } } /** - * - * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; 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); statusDetail_ = b; return b; } else { @@ -1539,70 +1403,61 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { } } /** - * - * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; - * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail(java.lang.String value) { + public Builder setStatusDetail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusDetail_ = value; onChanged(); return this; } /** - * - * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; - * * @return This builder for chaining. */ public Builder clearStatusDetail() { - + statusDetail_ = getDefaultInstance().getStatusDetail(); onChanged(); return this; } /** - * - * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; - * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { + public Builder setStatusDetailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusDetail_ = value; onChanged(); return this; } - private boolean requestedCancellation_; + private boolean requestedCancellation_ ; /** - * - * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1611,7 +1466,6 @@ public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) {
      * 
* * bool requested_cancellation = 6; - * * @return The requestedCancellation. */ @java.lang.Override @@ -1619,8 +1473,6 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1629,19 +1481,16 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6; - * * @param value The requestedCancellation to set. * @return This builder for chaining. */ public Builder setRequestedCancellation(boolean value) { - + requestedCancellation_ = value; onChanged(); return this; } /** - * - * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1650,11 +1499,10 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1662,20 +1510,18 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1684,21 +1530,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1706,68 +1551,61 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { + public Builder setApiVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = 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); } @@ -1777,12 +1615,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.OperationMetadata) private static final com.google.cloud.datafusion.v1beta1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.OperationMetadata(); } @@ -1791,16 +1629,16 @@ public static com.google.cloud.datafusion.v1beta1.OperationMetadata getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OperationMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1815,4 +1653,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.java similarity index 76% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.java index 6b72d55b..4a5548a6 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
@@ -59,32 +35,24 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
@@ -94,83 +62,66 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; - * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** - * - * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString getStatusDetailBytes(); + com.google.protobuf.ByteString + getStatusDetailBytes(); /** - * - * *
    * Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -179,33 +130,27 @@ public interface OperationMetadataOrBuilder
    * 
* * bool requested_cancellation = 6; - * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 7; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); } diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.java similarity index 66% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.java index a5a8bc65..f4a4c387 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Request message to remove dns peering.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest} */ -public final class RemoveDnsPeeringRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RemoveDnsPeeringRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) RemoveDnsPeeringRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RemoveDnsPeeringRequest.newBuilder() to construct. private RemoveDnsPeeringRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RemoveDnsPeeringRequest() { parent_ = ""; zone_ = ""; @@ -44,15 +26,16 @@ private RemoveDnsPeeringRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RemoveDnsPeeringRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RemoveDnsPeeringRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private RemoveDnsPeeringRequest( 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: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - zone_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + zone_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private RemoveDnsPeeringRequest( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.class, - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.class, com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource on which DNS peering will be removed.
    * 
* - * - * 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,31 +116,29 @@ 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 resource on which DNS peering will be removed.
    * 
* - * - * 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 { @@ -177,14 +149,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. The zone to be removed.
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ @java.lang.Override @@ -193,29 +162,29 @@ public java.lang.String getZone() { 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(); zone_ = s; return s; } } /** - * - * *
    * Required. The zone to be removed.
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -224,7 +193,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,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_); } @@ -266,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.datafusion.v1beta1.RemoveDnsPeeringRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest other = - (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) obj; + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest other = (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getZone().equals(other.getZone())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getZone() + .equals(other.getZone())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,127 +267,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest 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 message to remove dns peering.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest} */ - 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.datafusion.v1beta1.RemoveDnsPeeringRequest) com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.class, - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.class, com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.newBuilder() @@ -425,15 +385,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,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; } @java.lang.Override @@ -466,8 +427,7 @@ public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest result = - new com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest(this); + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest result = new com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest(this); result.parent_ = parent_; result.zone_ = zone_; onBuilt(); @@ -478,39 +438,38 @@ public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest)other); } else { super.mergeFrom(other); return this; @@ -518,8 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -547,8 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,22 +517,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource on which DNS peering will be removed.
      * 
* - * - * 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; @@ -584,23 +537,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource on which DNS peering will be removed.
      * 
* - * - * 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 { @@ -608,67 +558,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource on which DNS peering will be removed.
      * 
* - * - * 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 resource on which DNS peering will be removed.
      * 
* - * - * 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 resource on which DNS peering will be removed.
      * 
* - * - * 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; @@ -676,20 +613,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. The zone to be removed.
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -698,21 +633,20 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. The zone to be removed.
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for zone. */ - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -720,68 +654,61 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. The zone to be removed.
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone(java.lang.String value) { + public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. The zone to be removed.
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. The zone to be removed.
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = 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); } @@ -791,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) private static final com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest(); } @@ -805,16 +732,16 @@ public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveDnsPeeringRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveDnsPeeringRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveDnsPeeringRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveDnsPeeringRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java new file mode 100644 index 00000000..76ac8610 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface RemoveDnsPeeringRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource on which DNS peering will be removed.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The resource on which DNS peering will be removed.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The zone to be removed.
+   * 
+ * + * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The zone. + */ + java.lang.String getZone(); + /** + *
+   * Required. The zone to be removed.
+   * 
+ * + * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for zone. + */ + com.google.protobuf.ByteString + getZoneBytes(); +} diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.java similarity index 64% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.java index 268e6e16..e859757d 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Response message for set dns peering method.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse} */ -public final class RemoveDnsPeeringResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RemoveDnsPeeringResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) RemoveDnsPeeringResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RemoveDnsPeeringResponse.newBuilder() to construct. private RemoveDnsPeeringResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RemoveDnsPeeringResponse() {} + private RemoveDnsPeeringResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RemoveDnsPeeringResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RemoveDnsPeeringResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private RemoveDnsPeeringResponse( 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 RemoveDnsPeeringResponse( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.class, - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.class, com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.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.datafusion.v1beta1.RemoveDnsPeeringResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse other = - (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) obj; + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse other = (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse 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 message for set dns peering method.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse} */ - 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.datafusion.v1beta1.RemoveDnsPeeringResponse) com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.class, - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.class, com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.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,14 +276,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; } @java.lang.Override - public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse - getDefaultInstanceForType() { + public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse getDefaultInstanceForType() { return com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.getDefaultInstance(); } @@ -326,8 +297,7 @@ public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse buildPartial() { - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse result = - new com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse(this); + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse result = new com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse(this); onBuilt(); return result; } @@ -336,39 +306,38 @@ public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse)other); } else { super.mergeFrom(other); return this; @@ -376,9 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse other) { - if (other - == com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -398,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -408,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); } @@ -420,13 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) - private static final com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse(); } @@ -435,16 +400,16 @@ public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveDnsPeeringResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveDnsPeeringResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveDnsPeeringResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveDnsPeeringResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -459,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java new file mode 100644 index 00000000..15c0b110 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface RemoveDnsPeeringResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.java similarity index 68% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.java index d4a68f15..ee6e5ae6 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Request message for RemoveIamPolicy method.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest} */ -public final class RemoveIamPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RemoveIamPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) RemoveIamPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RemoveIamPolicyRequest.newBuilder() to construct. private RemoveIamPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RemoveIamPolicyRequest() { resource_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RemoveIamPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RemoveIamPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private RemoveIamPolicyRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - resource_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + resource_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private RemoveIamPolicyRequest( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.class, - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.class, com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.Builder.class); } public static final int RESOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object resource_; /** - * - * *
    * Required. The resource on which IAM policy to be removed is attached to.
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The resource. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getResource() { 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(); resource_ = s; return s; } } /** - * - * *
    * Required. The resource on which IAM policy to be removed is attached to.
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; 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); resource_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,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(resource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } @@ -199,15 +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.datafusion.v1beta1.RemoveIamPolicyRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest other = - (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) obj; + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest other = (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) obj; - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest 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 message for RemoveIamPolicy method.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest} */ - 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.datafusion.v1beta1.RemoveIamPolicyRequest) com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.class, - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.class, com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.newBuilder() @@ -355,15 +322,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 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest result = - new com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest(this); + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest result = new com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest(this); result.resource_ = resource_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.getDefaultInstance()) return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object resource_ = ""; /** - * - * *
      * Required. The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; 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(); resource_ = s; return s; @@ -505,21 +467,20 @@ public java.lang.String getResource() { } } /** - * - * *
      * Required. The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for resource. */ - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; 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); resource_ = b; return b; } else { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * Required. The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource(java.lang.String value) { + public Builder setResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** - * - * *
      * Required. The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = 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); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) private static final com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest(); } @@ -612,16 +566,16 @@ public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveIamPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveIamPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveIamPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveIamPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java similarity index 52% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java index 04768228..c1d1066b 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface RemoveIamPolicyRequestOrBuilder - extends +public interface RemoveIamPolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource on which IAM policy to be removed is attached to.
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * Required. The resource on which IAM policy to be removed is attached to.
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); } diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.java similarity index 65% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.java index 14265eeb..e7bc2949 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Response message for RemoveIamPolicy method.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse} */ -public final class RemoveIamPolicyResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RemoveIamPolicyResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) RemoveIamPolicyResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RemoveIamPolicyResponse.newBuilder() to construct. private RemoveIamPolicyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RemoveIamPolicyResponse() {} + private RemoveIamPolicyResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RemoveIamPolicyResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RemoveIamPolicyResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private RemoveIamPolicyResponse( 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 RemoveIamPolicyResponse( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.class, - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.class, com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.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.datafusion.v1beta1.RemoveIamPolicyResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse other = - (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) obj; + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse other = (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse 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 message for RemoveIamPolicy method.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse} */ - 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.datafusion.v1beta1.RemoveIamPolicyResponse) com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.class, - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.class, com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse buildPartial() { - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse result = - new com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse(this); + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse result = new com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse)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.datafusion.v1beta1.RemoveIamPolicyResponse other) { - if (other == com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.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.datafusion.v1beta1.RemoveIamPolicyResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) 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.datafusion.v1beta1.RemoveIamPolicyResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) private static final com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse(); } @@ -432,16 +400,16 @@ public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveIamPolicyResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveIamPolicyResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveIamPolicyResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveIamPolicyResponse(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.datafusion.v1beta1.RemoveIamPolicyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java new file mode 100644 index 00000000..06dc003b --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface RemoveIamPolicyResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.java similarity index 65% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.java index eb55994c..88ec073d 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Request message for restarting a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RestartInstanceRequest} */ -public final class RestartInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RestartInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.RestartInstanceRequest) RestartInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RestartInstanceRequest.newBuilder() to construct. private RestartInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RestartInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RestartInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RestartInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private RestartInstanceRequest( 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 RestartInstanceRequest( } 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.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.class, - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.class, com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * - * 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. Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * - * 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.datafusion.v1beta1.RestartInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest other = - (com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) obj; + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest other = (com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) 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,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.RestartInstanceRequest 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 message for restarting a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RestartInstanceRequest} */ - 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.datafusion.v1beta1.RestartInstanceRequest) com.google.cloud.datafusion.v1beta1.RestartInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.class, - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.class, com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.newBuilder() @@ -361,15 +324,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(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.datafusion.v1beta1.RestartInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.RestartInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest result = - new com.google.cloud.datafusion.v1beta1.RestartInstanceRequest(this); + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest result = new com.google.cloud.datafusion.v1beta1.RestartInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.RestartInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.RestartInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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 { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * - * 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); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.RestartInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.RestartInstanceRequest) private static final com.google.cloud.datafusion.v1beta1.RestartInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.RestartInstanceRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestartInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RestartInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestartInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RestartInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.RestartInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java new file mode 100644 index 00000000..eb40556a --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface RestartInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RestartInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the Data Fusion instance which need to be restarted in the form of
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the Data Fusion instance which need to be restarted in the form of
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * 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-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.java similarity index 70% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.java index 350efcfd..ece43940 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * Request message for updating a Data Fusion instance.
  * Data Fusion only allows updating the labels, options, and stack driver
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1beta1.UpdateInstanceRequest}
  */
-public final class UpdateInstanceRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateInstanceRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.UpdateInstanceRequest)
     UpdateInstanceRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateInstanceRequest.newBuilder() to construct.
   private UpdateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateInstanceRequest() {}
+  private UpdateInstanceRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateInstanceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private UpdateInstanceRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,44 +54,39 @@ private UpdateInstanceRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.datafusion.v1beta1.Instance.Builder subBuilder = null;
-              if (instance_ != null) {
-                subBuilder = instance_.toBuilder();
-              }
-              instance_ =
-                  input.readMessage(
-                      com.google.cloud.datafusion.v1beta1.Instance.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(instance_);
-                instance_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.datafusion.v1beta1.Instance.Builder subBuilder = null;
+            if (instance_ != null) {
+              subBuilder = instance_.toBuilder();
+            }
+            instance_ = input.readMessage(com.google.cloud.datafusion.v1beta1.Instance.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(instance_);
+              instance_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.protobuf.FieldMask.Builder subBuilder = null;
-              if (updateMask_ != null) {
-                subBuilder = updateMask_.toBuilder();
-              }
-              updateMask_ =
-                  input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateMask_);
-                updateMask_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.FieldMask.Builder subBuilder = null;
+            if (updateMask_ != null) {
+              subBuilder = updateMask_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateMask_);
+              updateMask_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -115,43 +94,36 @@ private UpdateInstanceRequest(
     } 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.datafusion.v1beta1.V1Beta1
-        .internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1beta1.V1Beta1
-        .internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable
+    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.class,
-            com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.Builder.class);
+            com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.class, com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.Builder.class);
   }
 
   public static final int INSTANCE_FIELD_NUMBER = 1;
   private com.google.cloud.datafusion.v1beta1.Instance instance_;
   /**
-   *
-   *
    * 
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -159,38 +131,27 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.Instance getInstance() { - return instance_ == null - ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilder() { @@ -200,8 +161,6 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -212,7 +171,6 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -220,8 +178,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -232,7 +188,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -240,8 +195,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -259,7 +212,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -271,7 +223,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 (instance_ != null) {
       output.writeMessage(1, getInstance());
     }
@@ -288,10 +241,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (instance_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstance());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getInstance());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -301,21 +256,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.datafusion.v1beta1.UpdateInstanceRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest other =
-        (com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest) obj;
+    com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest other = (com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest) obj;
 
     if (hasInstance() != other.hasInstance()) return false;
     if (hasInstance()) {
-      if (!getInstance().equals(other.getInstance())) return false;
+      if (!getInstance()
+          .equals(other.getInstance())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -342,104 +298,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest 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 message for updating a Data Fusion instance.
    * Data Fusion only allows updating the labels, options, and stack driver
@@ -448,23 +396,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datafusion.v1beta1.UpdateInstanceRequest}
    */
-  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.datafusion.v1beta1.UpdateInstanceRequest)
       com.google.cloud.datafusion.v1beta1.UpdateInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.class,
-              com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.Builder.class);
+              com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.class, com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.newBuilder()
@@ -472,15 +418,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();
@@ -500,9 +447,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -521,8 +468,7 @@ public com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest buildPartial() {
-      com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest result =
-          new com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest(this);
+      com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest result = new com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest(this);
       if (instanceBuilder_ == null) {
         result.instance_ = instance_;
       } else {
@@ -541,39 +487,38 @@ public com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest) {
-        return mergeFrom((com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest) other);
+        return mergeFrom((com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -581,8 +526,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest other) {
-      if (other == com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.getDefaultInstance()) return this;
       if (other.hasInstance()) {
         mergeInstance(other.getInstance());
       }
@@ -608,8 +552,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -621,64 +564,45 @@ public Builder mergeFrom(
 
     private com.google.cloud.datafusion.v1beta1.Instance instance_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datafusion.v1beta1.Instance,
-            com.google.cloud.datafusion.v1beta1.Instance.Builder,
-            com.google.cloud.datafusion.v1beta1.InstanceOrBuilder>
-        instanceBuilder_;
+        com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> instanceBuilder_;
     /**
-     *
-     *
      * 
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return instanceBuilder_ != null || instance_ != null; } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.cloud.datafusion.v1beta1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.cloud.datafusion.v1beta1.Instance value) { if (instanceBuilder_ == null) { @@ -694,17 +618,13 @@ public Builder setInstance(com.google.cloud.datafusion.v1beta1.Instance value) { return this; } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance( com.google.cloud.datafusion.v1beta1.Instance.Builder builderForValue) { @@ -718,25 +638,19 @@ public Builder setInstance( return this; } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.cloud.datafusion.v1beta1.Instance value) { if (instanceBuilder_ == null) { if (instance_ != null) { instance_ = - com.google.cloud.datafusion.v1beta1.Instance.newBuilder(instance_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datafusion.v1beta1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); } else { instance_ = value; } @@ -748,17 +662,13 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1beta1.Instance value) return this; } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { if (instanceBuilder_ == null) { @@ -772,70 +682,54 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datafusion.v1beta1.Instance.Builder getInstanceBuilder() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, - com.google.cloud.datafusion.v1beta1.Instance.Builder, - com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> + com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, - com.google.cloud.datafusion.v1beta1.Instance.Builder, - com.google.cloud.datafusion.v1beta1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -843,13 +737,8 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -860,15 +749,12 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -879,21 +765,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -919,8 +800,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -932,7 +811,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -943,8 +823,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -960,7 +838,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -972,8 +850,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -997,8 +873,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -1011,13 +885,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -1033,14 +905,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -1053,24 +922,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_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> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @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);
     }
 
@@ -1080,12 +946,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.UpdateInstanceRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.UpdateInstanceRequest)
   private static final com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest();
   }
@@ -1094,16 +960,16 @@ public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateInstanceRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateInstanceRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateInstanceRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateInstanceRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1118,4 +984,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java
similarity index 72%
rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java
rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java
index b921dcfc..c0b91b0f 100644
--- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java
+++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java
@@ -1,78 +1,46 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datafusion/v1beta1/v1beta1.proto
 
 package com.google.cloud.datafusion.v1beta1;
 
-public interface UpdateInstanceRequestOrBuilder
-    extends
+public interface UpdateInstanceRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.UpdateInstanceRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.cloud.datafusion.v1beta1.Instance getInstance(); /** - * - * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -83,13 +51,10 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -100,13 +65,10 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.java
similarity index 66%
rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.java
rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.java
index 3b6b0405..b57c216a 100644
--- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.java
+++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.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/datafusion/v1beta1/v1beta1.proto
 
 package com.google.cloud.datafusion.v1beta1;
 
 /**
- *
- *
  * 
  * Request message for upgrading a Data Fusion instance.
  * To change the instance properties, instance update should be used.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1beta1.UpgradeInstanceRequest}
  */
-public final class UpgradeInstanceRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpgradeInstanceRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.UpgradeInstanceRequest)
     UpgradeInstanceRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpgradeInstanceRequest.newBuilder() to construct.
   private UpgradeInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpgradeInstanceRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpgradeInstanceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private UpgradeInstanceRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private UpgradeInstanceRequest(
           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,33 +74,29 @@ private UpgradeInstanceRequest(
     } 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.datafusion.v1beta1.V1Beta1
-        .internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1beta1.V1Beta1
-        .internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable
+    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.class,
-            com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.Builder.class);
+            com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.class, com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. Name of the Data Fusion instance which need to be upgraded in the form of
    * projects/{project}/locations/{location}/instances/{instance}
@@ -126,10 +104,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Fusion.
    * 
* - * - * 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 @@ -138,15 +113,14 @@ 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. Name of the Data Fusion instance which need to be upgraded in the form of
    * projects/{project}/locations/{location}/instances/{instance}
@@ -154,18 +128,17 @@ public java.lang.String getName() {
    * Fusion.
    * 
* - * - * 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 { @@ -174,7 +147,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +158,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_); } @@ -210,15 +183,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.datafusion.v1beta1.UpgradeInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest other = - (com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) obj; + com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest other = (com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -238,104 +211,96 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest 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 message for upgrading a Data Fusion instance.
    * To change the instance properties, instance update should be used.
@@ -343,23 +308,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datafusion.v1beta1.UpgradeInstanceRequest}
    */
-  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.datafusion.v1beta1.UpgradeInstanceRequest)
       com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.class,
-              com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.Builder.class);
+              com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.class, com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.newBuilder()
@@ -367,15 +330,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();
@@ -385,9 +349,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1
-          .internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -406,8 +370,7 @@ public com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest buildPartial() {
-      com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest result =
-          new com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest(this);
+      com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest result = new com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -417,39 +380,38 @@ public com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest) {
-        return mergeFrom((com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) other);
+        return mergeFrom((com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -457,8 +419,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest other) {
-      if (other == com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -482,8 +443,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -495,8 +455,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -504,16 +462,14 @@ public Builder mergeFrom(
      * Fusion.
      * 
* - * - * 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,8 +478,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -531,17 +485,16 @@ public java.lang.String getName() {
      * Fusion.
      * 
* - * - * 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 { @@ -549,8 +502,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -558,25 +509,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * Fusion.
      * 
* - * - * 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. Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -584,21 +531,16 @@ public Builder setName(java.lang.String value) {
      * Fusion.
      * 
* - * - * 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. Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -606,26 +548,24 @@ public Builder clearName() {
      * Fusion.
      * 
* - * - * 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); } @@ -635,12 +575,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) private static final com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest(); } @@ -649,16 +589,16 @@ public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpgradeInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpgradeInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -673,4 +613,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java new file mode 100644 index 00000000..5b0e7ef8 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface UpgradeInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the Data Fusion instance which need to be upgraded in the form of
+   * projects/{project}/locations/{location}/instances/{instance}
+   * Instance will be upgraded with the latest stable version of the Data
+   * Fusion.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the Data Fusion instance which need to be upgraded in the form of
+   * projects/{project}/locations/{location}/instances/{instance}
+   * Instance will be upgraded with the latest stable version of the Data
+   * Fusion.
+   * 
+ * + * 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/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java new file mode 100644 index 00000000..6af0a5c6 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java @@ -0,0 +1,628 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public final class V1Beta1 { + private V1Beta1() {} + 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_datafusion_v1beta1_NetworkConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_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/datafusion/v1beta1/v1beta" + + "1.proto\022\037google.cloud.datafusion.v1beta1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\032\032goo" + + "gle/iam/v1/policy.proto\032#google/longrunn" + + "ing/operations.proto\032 google/protobuf/fi" + + "eld_mask.proto\032\037google/protobuf/timestam" + + "p.proto\032\027google/rpc/status.proto\"7\n\rNetw" + + "orkConfig\022\017\n\007network\030\001 \001(\t\022\025\n\rip_allocat" + + "ion\030\002 \001(\t\"\342\001\n\007Version\022\026\n\016version_number\030" + + "\001 \001(\t\022\027\n\017default_version\030\002 \001(\010\022\032\n\022availa" + + "ble_features\030\003 \003(\t\022;\n\004type\030\004 \001(\0162-.googl" + + "e.cloud.datafusion.v1beta1.Version.Type\"" + + "M\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\020\n\014TYPE_PR" + + "EVIEW\020\001\022\035\n\031TYPE_GENERAL_AVAILABILITY\020\002\"\263" + + "\001\n\013Accelerator\022V\n\020accelerator_type\030\001 \001(\016" + + "2<.google.cloud.datafusion.v1beta1.Accel" + + "erator.AcceleratorType\"L\n\017AcceleratorTyp" + + "e\022 \n\034ACCELERATOR_TYPE_UNSPECIFIED\020\000\022\007\n\003C" + + "DC\020\001\022\016\n\nHEALTHCARE\020\002\"P\n\017CryptoKeyConfig\022" + + "=\n\rkey_reference\030\001 \001(\tB&\372A#\n!cloudkms.go" + + "ogleapis.com/CryptoKey\"\200\016\n\010Instance\0228\n\004n" + + "ame\030\001 \001(\tB*\340A\003\372A$\n\"datafusion.googleapis" + + ".com/Instance\022\023\n\013description\030\002 \001(\t\022A\n\004ty" + + "pe\030\003 \001(\0162..google.cloud.datafusion.v1bet" + + "a1.Instance.TypeB\003\340A\002\022\"\n\032enable_stackdri" + + "ver_logging\030\004 \001(\010\022%\n\035enable_stackdriver_" + + "monitoring\030\005 \001(\010\022\030\n\020private_instance\030\006 \001" + + "(\010\022F\n\016network_config\030\007 \001(\0132..google.clou" + + "d.datafusion.v1beta1.NetworkConfig\022E\n\006la" + + "bels\030\010 \003(\01325.google.cloud.datafusion.v1b" + + "eta1.Instance.LabelsEntry\022G\n\007options\030\t \003" + + "(\01326.google.cloud.datafusion.v1beta1.Ins" + + "tance.OptionsEntry\0224\n\013create_time\030\n \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + + "te_time\030\013 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\022C\n\005state\030\014 \001(\0162/.google.cloud.dat" + + "afusion.v1beta1.Instance.StateB\003\340A\003\022\032\n\rs" + + "tate_message\030\r \001(\tB\003\340A\003\022\035\n\020service_endpo" + + "int\030\016 \001(\tB\003\340A\003\022\014\n\004zone\030\017 \001(\t\022\017\n\007version\030" + + "\020 \001(\t\022\036\n\017service_account\030\021 \001(\tB\005\030\001\340A\003\022\024\n" + + "\014display_name\030\022 \001(\t\022C\n\021available_version" + + "\030\023 \003(\0132(.google.cloud.datafusion.v1beta1" + + ".Version\022\031\n\014api_endpoint\030\024 \001(\tB\003\340A\003\022\027\n\ng" + + "cs_bucket\030\025 \001(\tB\003\340A\003\022B\n\014accelerators\030\026 \003" + + "(\0132,.google.cloud.datafusion.v1beta1.Acc" + + "elerator\022\037\n\022p4_service_account\030\027 \001(\tB\003\340A" + + "\003\022\036\n\021tenant_project_id\030\030 \001(\tB\003\340A\003\022 \n\030dat" + + "aproc_service_account\030\031 \001(\t\022\023\n\013enable_rb" + + "ac\030\032 \001(\010\022K\n\021crypto_key_config\030\033 \001(\01320.go" + + "ogle.cloud.datafusion.v1beta1.CryptoKeyC" + + "onfig\022V\n\017disabled_reason\030\034 \003(\01628.google." + + "cloud.datafusion.v1beta1.Instance.Disabl" + + "edReasonB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(" + + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\032.\n\014OptionsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"F\n\004Type\022\024\n\020" + + "TYPE_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\016\n\nENTERPR" + + "ISE\020\002\022\r\n\tDEVELOPER\020\003\"\265\001\n\005State\022\025\n\021STATE_" + + "UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\013\n\007RUNNING\020\002" + + "\022\n\n\006FAILED\020\003\022\014\n\010DELETING\020\004\022\r\n\tUPGRADING\020" + + "\005\022\016\n\nRESTARTING\020\006\022\014\n\010UPDATING\020\007\022\021\n\rAUTO_" + + "UPDATING\020\010\022\022\n\016AUTO_UPGRADING\020\t\022\014\n\010DISABL" + + "ED\020\n\"D\n\016DisabledReason\022\037\n\033DISABLED_REASO" + + "N_UNSPECIFIED\020\000\022\021\n\rKMS_KEY_ISSUE\020\001:e\352Ab\n" + + "\"datafusion.googleapis.com/Instance\022\n\niam_policy\030\002 \001(\0132*.google.cloud.data" + + "fusion.v1beta1.IAMPolicy:}\352Az\n#datafusio" + + "n.googleapis.com/Namespace\022Sprojects/{pr" + + "oject}/locations/{location}/instances/{i" + + "nstance}/namespaces/{namespace}\"q\n\026ListN" + + "amespacesResponse\022>\n\nnamespaces\030\001 \003(\0132*." + + "google.cloud.datafusion.v1beta1.Namespac" + + "e\022\027\n\017next_page_token\030\002 \001(\t\"\210\001\n\nDnsPeerin" + + "g\022\021\n\004zone\030\001 \001(\tB\003\340A\002\022\023\n\006domain\030\002 \001(\tB\003\340A" + + "\002\022\030\n\013description\030\003 \001(\tB\003\340A\001\022\033\n\016target_pr" + + "oject\030\004 \001(\tB\003\340A\001\022\033\n\016target_network\030\005 \001(\t" + + "B\003\340A\001\"\224\001\n\024AddDnsPeeringRequest\022:\n\006parent" + + "\030\001 \001(\tB*\340A\002\372A$\n\"datafusion.googleapis.co" + + "m/Instance\022@\n\013dns_peering\030\002 \001(\0132+.google" + + ".cloud.datafusion.v1beta1.DnsPeering\"\027\n\025" + + "AddDnsPeeringResponse\"h\n\027RemoveDnsPeerin" + + "gRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"datafu" + + "sion.googleapis.com/Instance\022\021\n\004zone\030\002 \001" + + "(\tB\003\340A\002\"\032\n\030RemoveDnsPeeringResponse\"{\n\026L" + + "istDnsPeeringsRequest\022:\n\006parent\030\001 \001(\tB*\340" + + "A\002\372A$\n\"datafusion.googleapis.com/Instanc" + + "e\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t" + + "\"u\n\027ListDnsPeeringsResponse\022A\n\014dns_peeri" + + "ngs\030\001 \003(\0132+.google.cloud.datafusion.v1be" + + "ta1.DnsPeering\022\027\n\017next_page_token\030\002 \001(\t*" + + "b\n\rNamespaceView\022\036\n\032NAMESPACE_VIEW_UNSPE" + + "CIFIED\020\000\022\030\n\024NAMESPACE_VIEW_BASIC\020\001\022\027\n\023NA" + + "MESPACE_VIEW_FULL\020\0022\311\026\n\nDataFusion\022\332\001\n\025L" + + "istAvailableVersions\022=.google.cloud.data" + + "fusion.v1beta1.ListAvailableVersionsRequ" + + "est\032>.google.cloud.datafusion.v1beta1.Li" + + "stAvailableVersionsResponse\"B\202\323\344\223\0023\0221/v1" + + "beta1/{parent=projects/*/locations/*}/ve" + + "rsions\332A\006parent\022\272\001\n\rListInstances\0225.goog" + + "le.cloud.datafusion.v1beta1.ListInstance" + + "sRequest\0326.google.cloud.datafusion.v1bet" + + "a1.ListInstancesResponse\":\202\323\344\223\0024\0222/v1bet" + + "a1/{parent=projects/*/locations/*}/insta" + + "nces\022\251\001\n\013GetInstance\0223.google.cloud.data" + + "fusion.v1beta1.GetInstanceRequest\032).goog" + + "le.cloud.datafusion.v1beta1.Instance\":\202\323" + + "\344\223\0024\0222/v1beta1/{name=projects/*/location" + + "s/*/instances/*}\022\354\001\n\016CreateInstance\0226.go" + + "ogle.cloud.datafusion.v1beta1.CreateInst" + + "anceRequest\032\035.google.longrunning.Operati" + + "on\"\202\001\202\323\344\223\002>\"2/v1beta1/{parent=projects/*" + + "/locations/*}/instances:\010instance\332A\033pare" + + "nt,instance,instance_id\312A\035\n\010Instance\022\021Op" + + "erationMetadata\022\327\001\n\016DeleteInstance\0226.goo" + + "gle.cloud.datafusion.v1beta1.DeleteInsta" + + "nceRequest\032\035.google.longrunning.Operatio" + + "n\"n\202\323\344\223\0024*2/v1beta1/{name=projects/*/loc" + + "ations/*/instances/*}\332A\004name\312A*\n\025google." + + "protobuf.Empty\022\021OperationMetadata\022\356\001\n\016Up" + + "dateInstance\0226.google.cloud.datafusion.v" + + "1beta1.UpdateInstanceRequest\032\035.google.lo" + + "ngrunning.Operation\"\204\001\202\323\344\223\002G2;/v1beta1/{" + + "instance.name=projects/*/locations/*/ins" + + "tances/*}:\010instance\332A\024instance,update_ma" + + "sk\312A\035\n\010Instance\022\021OperationMetadata\022\320\001\n\017R" + + "estartInstance\0227.google.cloud.datafusion" + + ".v1beta1.RestartInstanceRequest\032\035.google" + + ".longrunning.Operation\"e\202\323\344\223\002?\":/v1beta1" + + "/{name=projects/*/locations/*/instances/" + + "*}:restart:\001*\312A\035\n\010Instance\022\021OperationMet" + + "adata\022\320\001\n\017UpgradeInstance\0227.google.cloud" + + ".datafusion.v1beta1.UpgradeInstanceReque" + + "st\032\035.google.longrunning.Operation\"e\202\323\344\223\002" + + "?\":/v1beta1/{name=projects/*/locations/*" + + "/instances/*}:upgrade:\001*\312A\035\n\010Instance\022\021O" + + "perationMetadata\022\316\001\n\017RemoveIamPolicy\0227.g" + + "oogle.cloud.datafusion.v1beta1.RemoveIam" + + "PolicyRequest\0328.google.cloud.datafusion." + + "v1beta1.RemoveIamPolicyResponse\"H\202\323\344\223\002B\"" + + "=/v1beta1/{resource=projects/*/locations" + + "/*/**}:removeIamPolicy:\001*\022\323\001\n\016ListNamesp" + + "aces\0226.google.cloud.datafusion.v1beta1.L" + + "istNamespacesRequest\0327.google.cloud.data" + + "fusion.v1beta1.ListNamespacesResponse\"P\202" + + "\323\344\223\002A\022?/v1beta1/{parent=projects/*/locat" + + "ions/*/instances/*}/namespaces\332A\006parent\022" + + "\330\001\n\rAddDnsPeering\0225.google.cloud.datafus" + + "ion.v1beta1.AddDnsPeeringRequest\0326.googl" + + "e.cloud.datafusion.v1beta1.AddDnsPeering" + + "Response\"X\202\323\344\223\002I\"D/v1beta1/{parent=proje" + + "cts/*/locations/*/instances/*}/dnsPeerin" + + "gs:add:\001*\332A\006parent\022\344\001\n\020RemoveDnsPeering\022" + + "8.google.cloud.datafusion.v1beta1.Remove" + + "DnsPeeringRequest\0329.google.cloud.datafus" + + "ion.v1beta1.RemoveDnsPeeringResponse\"[\202\323" + + "\344\223\002L\"G/v1beta1/{parent=projects/*/locati" + + "ons/*/instances/*}/dnsPeerings:remove:\001*" + + "\332A\006parent\022\334\001\n\017ListDnsPeerings\0227.google.c" + + "loud.datafusion.v1beta1.ListDnsPeeringsR" + + "equest\0328.google.cloud.datafusion.v1beta1" + + ".ListDnsPeeringsResponse\"V\202\323\344\223\002G\022E/v1bet" + + "a1/{parent=projects/*/locations/*/instan" + + "ces/*}/dnsPeerings:list\332A\006parent\032M\312A\031dat" + + "afusion.googleapis.com\322A.https://www.goo" + + "gleapis.com/auth/cloud-platformB\326\002\n#com." + + "google.cloud.datafusion.v1beta1P\001ZIgoogl" + + "e.golang.org/genproto/googleapis/cloud/d" + + "atafusion/v1beta1;datafusion\252\002\037Google.Cl" + + "oud.DataFusion.V1Beta1\312\002\037Google\\Cloud\\Da" + + "taFusion\\V1beta1\352\002\"Google::Cloud::DataFu" + + "sion::V1beta1\352Ax\n!cloudkms.googleapis.co" + + "m/CryptoKey\022Sprojects/{project}/location" + + "s/{location}/keyRings/{key_ring}/cryptoK" + + "eys/{crypto_key}b\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.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor, + new java.lang.String[] { "Network", "IpAllocation", }); + internal_static_google_cloud_datafusion_v1beta1_Version_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_Version_descriptor, + new java.lang.String[] { "VersionNumber", "DefaultVersion", "AvailableFeatures", "Type", }); + internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor, + new java.lang.String[] { "AcceleratorType", }); + internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor, + new java.lang.String[] { "KeyReference", }); + internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor, + new java.lang.String[] { "Name", "Description", "Type", "EnableStackdriverLogging", "EnableStackdriverMonitoring", "PrivateInstance", "NetworkConfig", "Labels", "Options", "CreateTime", "UpdateTime", "State", "StateMessage", "ServiceEndpoint", "Zone", "Version", "ServiceAccount", "DisplayName", "AvailableVersion", "ApiEndpoint", "GcsBucket", "Accelerators", "P4ServiceAccount", "TenantProjectId", "DataprocServiceAccount", "EnableRbac", "CryptoKeyConfig", "DisabledReason", }); + internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_descriptor = + internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_descriptor = + internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor, + new java.lang.String[] { "Instances", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "LatestPatchOnly", }); + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor, + new java.lang.String[] { "AvailableVersions", "NextPageToken", }); + internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor, + new java.lang.String[] { "Parent", "InstanceId", "Instance", }); + internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor, + new java.lang.String[] { "Instance", "UpdateMask", }); + internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor, + new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "RequestedCancellation", "ApiVersion", }); + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor, + new java.lang.String[] { "Resource", }); + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", }); + internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor, + new java.lang.String[] { "Policy", "Status", }); + internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor, + new java.lang.String[] { "Name", "IamPolicy", }); + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor, + new java.lang.String[] { "Namespaces", "NextPageToken", }); + internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor, + new java.lang.String[] { "Zone", "Domain", "Description", "TargetProject", "TargetNetwork", }); + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor, + new java.lang.String[] { "Parent", "DnsPeering", }); + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor, + new java.lang.String[] { "Parent", "Zone", }); + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor, + new java.lang.String[] { "DnsPeerings", "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.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + 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.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Version.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Version.java similarity index 73% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Version.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Version.java index 2dd64b82..4761d02f 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Version.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Version.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** - * - * *
  * The Data Fusion version.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Version} */ -public final class Version extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Version extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.Version) VersionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Version.newBuilder() to construct. private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Version() { versionNumber_ = ""; availableFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -45,15 +27,16 @@ private Version() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Version(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Version( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,42 +56,39 @@ private Version( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - versionNumber_ = s; - break; - } - case 16: - { - defaultVersion_ = input.readBool(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - availableFeatures_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - availableFeatures_.add(s); - break; - } - case 32: - { - int rawValue = input.readEnum(); + versionNumber_ = s; + break; + } + case 16: { - type_ = rawValue; - break; + defaultVersion_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + availableFeatures_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + availableFeatures_.add(s); + break; + } + case 32: { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,7 +96,8 @@ private Version( } 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)) { availableFeatures_ = availableFeatures_.getUnmodifiableView(); @@ -125,35 +106,29 @@ private Version( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Version.class, - com.google.cloud.datafusion.v1beta1.Version.Builder.class); + com.google.cloud.datafusion.v1beta1.Version.class, com.google.cloud.datafusion.v1beta1.Version.Builder.class); } /** - * - * *
    * Each type represents the release availability of a CDF version
    * 
* * Protobuf enum {@code google.cloud.datafusion.v1beta1.Version.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Version does not have availability yet
      * 
@@ -162,8 +137,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Version is under development and not considered stable
      * 
@@ -172,8 +145,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_PREVIEW(1), /** - * - * *
      * Version is available for public use
      * 
@@ -185,8 +156,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Version does not have availability yet
      * 
@@ -195,8 +164,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Version is under development and not considered stable
      * 
@@ -205,8 +172,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_PREVIEW_VALUE = 1; /** - * - * *
      * Version is available for public use
      * 
@@ -215,6 +180,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_GENERAL_AVAILABILITY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -239,49 +205,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return TYPE_PREVIEW; - case 2: - return TYPE_GENERAL_AVAILABILITY; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return TYPE_PREVIEW; + case 2: return TYPE_GENERAL_AVAILABILITY; + 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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.datafusion.v1beta1.Version.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; @@ -301,14 +267,11 @@ private Type(int value) { public static final int VERSION_NUMBER_FIELD_NUMBER = 1; private volatile java.lang.Object versionNumber_; /** - * - * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; - * * @return The versionNumber. */ @java.lang.Override @@ -317,29 +280,29 @@ public java.lang.String getVersionNumber() { 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(); versionNumber_ = s; return s; } } /** - * - * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; - * * @return The bytes for versionNumber. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionNumberBytes() { + public com.google.protobuf.ByteString + getVersionNumberBytes() { java.lang.Object ref = versionNumber_; 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); versionNumber_ = b; return b; } else { @@ -350,14 +313,11 @@ public com.google.protobuf.ByteString getVersionNumberBytes() { public static final int DEFAULT_VERSION_FIELD_NUMBER = 2; private boolean defaultVersion_; /** - * - * *
    * Whether this is currently the default version for Cloud Data Fusion
    * 
* * bool default_version = 2; - * * @return The defaultVersion. */ @java.lang.Override @@ -368,42 +328,34 @@ public boolean getDefaultVersion() { public static final int AVAILABLE_FEATURES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList availableFeatures_; /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @return A list containing the availableFeatures. */ - public com.google.protobuf.ProtocolStringList getAvailableFeaturesList() { + public com.google.protobuf.ProtocolStringList + getAvailableFeaturesList() { return availableFeatures_; } /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @return The count of availableFeatures. */ public int getAvailableFeaturesCount() { return availableFeatures_.size(); } /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @param index The index of the element to return. * @return The availableFeatures at the given index. */ @@ -411,59 +363,47 @@ public java.lang.String getAvailableFeatures(int index) { return availableFeatures_.get(index); } /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @param index The index of the value to return. * @return The bytes of the availableFeatures at the given index. */ - public com.google.protobuf.ByteString getAvailableFeaturesBytes(int index) { + public com.google.protobuf.ByteString + getAvailableFeaturesBytes(int index) { return availableFeatures_.getByteString(index); } public static final int TYPE_FIELD_NUMBER = 4; private int type_; /** - * - * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.datafusion.v1beta1.Version.Type getType() { + @java.lang.Override public com.google.cloud.datafusion.v1beta1.Version.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Version.Type result = - com.google.cloud.datafusion.v1beta1.Version.Type.valueOf(type_); + com.google.cloud.datafusion.v1beta1.Version.Type result = com.google.cloud.datafusion.v1beta1.Version.Type.valueOf(type_); return result == null ? com.google.cloud.datafusion.v1beta1.Version.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -475,7 +415,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(versionNumber_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, versionNumber_); } @@ -501,7 +442,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, versionNumber_); } if (defaultVersion_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, defaultVersion_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, defaultVersion_); } { int dataSize = 0; @@ -512,7 +454,8 @@ public int getSerializedSize() { size += 1 * getAvailableFeaturesList().size(); } if (type_ != com.google.cloud.datafusion.v1beta1.Version.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -522,17 +465,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.datafusion.v1beta1.Version)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.Version other = - (com.google.cloud.datafusion.v1beta1.Version) obj; + com.google.cloud.datafusion.v1beta1.Version other = (com.google.cloud.datafusion.v1beta1.Version) obj; - if (!getVersionNumber().equals(other.getVersionNumber())) return false; - if (getDefaultVersion() != other.getDefaultVersion()) return false; - if (!getAvailableFeaturesList().equals(other.getAvailableFeaturesList())) return false; + if (!getVersionNumber() + .equals(other.getVersionNumber())) return false; + if (getDefaultVersion() + != other.getDefaultVersion()) return false; + if (!getAvailableFeaturesList() + .equals(other.getAvailableFeaturesList())) return false; if (type_ != other.type_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -548,7 +493,8 @@ public int hashCode() { hash = (37 * hash) + VERSION_NUMBER_FIELD_NUMBER; hash = (53 * hash) + getVersionNumber().hashCode(); hash = (37 * hash) + DEFAULT_VERSION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDefaultVersion()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDefaultVersion()); if (getAvailableFeaturesCount() > 0) { hash = (37 * hash) + AVAILABLE_FEATURES_FIELD_NUMBER; hash = (53 * hash) + getAvailableFeaturesList().hashCode(); @@ -560,127 +506,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1beta1.Version parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1beta1.Version parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.Version parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.Version parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datafusion.v1beta1.Version parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version 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 Data Fusion version.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Version} */ - 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.datafusion.v1beta1.Version) com.google.cloud.datafusion.v1beta1.VersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Version.class, - com.google.cloud.datafusion.v1beta1.Version.Builder.class); + com.google.cloud.datafusion.v1beta1.Version.class, com.google.cloud.datafusion.v1beta1.Version.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.Version.newBuilder() @@ -688,15 +625,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(); @@ -712,9 +650,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1 - .internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; } @java.lang.Override @@ -733,8 +671,7 @@ public com.google.cloud.datafusion.v1beta1.Version build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.Version buildPartial() { - com.google.cloud.datafusion.v1beta1.Version result = - new com.google.cloud.datafusion.v1beta1.Version(this); + com.google.cloud.datafusion.v1beta1.Version result = new com.google.cloud.datafusion.v1beta1.Version(this); int from_bitField0_ = bitField0_; result.versionNumber_ = versionNumber_; result.defaultVersion_ = defaultVersion_; @@ -752,39 +689,38 @@ public com.google.cloud.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.Version) other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.Version)other); } else { super.mergeFrom(other); return this; @@ -841,25 +777,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object versionNumber_ = ""; /** - * - * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; - * * @return The versionNumber. */ public java.lang.String getVersionNumber() { java.lang.Object ref = versionNumber_; 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(); versionNumber_ = s; return s; @@ -868,21 +801,20 @@ public java.lang.String getVersionNumber() { } } /** - * - * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; - * * @return The bytes for versionNumber. */ - public com.google.protobuf.ByteString getVersionNumberBytes() { + public com.google.protobuf.ByteString + getVersionNumberBytes() { java.lang.Object ref = versionNumber_; 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); versionNumber_ = b; return b; } else { @@ -890,76 +822,66 @@ public com.google.protobuf.ByteString getVersionNumberBytes() { } } /** - * - * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; - * * @param value The versionNumber to set. * @return This builder for chaining. */ - public Builder setVersionNumber(java.lang.String value) { + public Builder setVersionNumber( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + versionNumber_ = value; onChanged(); return this; } /** - * - * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; - * * @return This builder for chaining. */ public Builder clearVersionNumber() { - + versionNumber_ = getDefaultInstance().getVersionNumber(); onChanged(); return this; } /** - * - * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; - * * @param value The bytes for versionNumber to set. * @return This builder for chaining. */ - public Builder setVersionNumberBytes(com.google.protobuf.ByteString value) { + public Builder setVersionNumberBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + versionNumber_ = value; onChanged(); return this; } - private boolean defaultVersion_; + private boolean defaultVersion_ ; /** - * - * *
      * Whether this is currently the default version for Cloud Data Fusion
      * 
* * bool default_version = 2; - * * @return The defaultVersion. */ @java.lang.Override @@ -967,87 +889,71 @@ public boolean getDefaultVersion() { return defaultVersion_; } /** - * - * *
      * Whether this is currently the default version for Cloud Data Fusion
      * 
* * bool default_version = 2; - * * @param value The defaultVersion to set. * @return This builder for chaining. */ public Builder setDefaultVersion(boolean value) { - + defaultVersion_ = value; onChanged(); return this; } /** - * - * *
      * Whether this is currently the default version for Cloud Data Fusion
      * 
* * bool default_version = 2; - * * @return This builder for chaining. */ public Builder clearDefaultVersion() { - + defaultVersion_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList availableFeatures_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList availableFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAvailableFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { availableFeatures_ = new com.google.protobuf.LazyStringArrayList(availableFeatures_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @return A list containing the availableFeatures. */ - public com.google.protobuf.ProtocolStringList getAvailableFeaturesList() { + public com.google.protobuf.ProtocolStringList + getAvailableFeaturesList() { return availableFeatures_.getUnmodifiableView(); } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @return The count of availableFeatures. */ public int getAvailableFeaturesCount() { return availableFeatures_.size(); } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @param index The index of the element to return. * @return The availableFeatures at the given index. */ @@ -1055,90 +961,80 @@ public java.lang.String getAvailableFeatures(int index) { return availableFeatures_.get(index); } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @param index The index of the value to return. * @return The bytes of the availableFeatures at the given index. */ - public com.google.protobuf.ByteString getAvailableFeaturesBytes(int index) { + public com.google.protobuf.ByteString + getAvailableFeaturesBytes(int index) { return availableFeatures_.getByteString(index); } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @param index The index to set the value at. * @param value The availableFeatures to set. * @return This builder for chaining. */ - public Builder setAvailableFeatures(int index, java.lang.String value) { + public Builder setAvailableFeatures( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableFeaturesIsMutable(); + throw new NullPointerException(); + } + ensureAvailableFeaturesIsMutable(); availableFeatures_.set(index, value); onChanged(); return this; } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @param value The availableFeatures to add. * @return This builder for chaining. */ - public Builder addAvailableFeatures(java.lang.String value) { + public Builder addAvailableFeatures( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableFeaturesIsMutable(); + throw new NullPointerException(); + } + ensureAvailableFeaturesIsMutable(); availableFeatures_.add(value); onChanged(); return this; } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @param values The availableFeatures to add. * @return This builder for chaining. */ - public Builder addAllAvailableFeatures(java.lang.Iterable values) { + public Builder addAllAvailableFeatures( + java.lang.Iterable values) { ensureAvailableFeaturesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableFeatures_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, availableFeatures_); onChanged(); return this; } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @return This builder for chaining. */ public Builder clearAvailableFeatures() { @@ -1148,22 +1044,20 @@ public Builder clearAvailableFeatures() { return this; } /** - * - * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; - * * @param value The bytes of the availableFeatures to add. * @return This builder for chaining. */ - public Builder addAvailableFeaturesBytes(com.google.protobuf.ByteString value) { + public Builder addAvailableFeaturesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAvailableFeaturesIsMutable(); availableFeatures_.add(value); onChanged(); @@ -1172,67 +1066,51 @@ public Builder addAvailableFeaturesBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; - * * @return The type. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.Version.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Version.Type result = - com.google.cloud.datafusion.v1beta1.Version.Type.valueOf(type_); - return result == null - ? com.google.cloud.datafusion.v1beta1.Version.Type.UNRECOGNIZED - : result; + com.google.cloud.datafusion.v1beta1.Version.Type result = com.google.cloud.datafusion.v1beta1.Version.Type.valueOf(type_); + return result == null ? com.google.cloud.datafusion.v1beta1.Version.Type.UNRECOGNIZED : result; } /** - * - * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1240,31 +1118,28 @@ public Builder setType(com.google.cloud.datafusion.v1beta1.Version.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 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); } @@ -1274,12 +1149,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.Version) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.Version) private static final com.google.cloud.datafusion.v1beta1.Version DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.Version(); } @@ -1288,16 +1163,16 @@ public static com.google.cloud.datafusion.v1beta1.Version getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1312,4 +1187,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java similarity index 72% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java index 72d3a052..8e94cdda 100644 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java @@ -1,138 +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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface VersionOrBuilder - extends +public interface VersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.Version) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; - * * @return The versionNumber. */ java.lang.String getVersionNumber(); /** - * - * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; - * * @return The bytes for versionNumber. */ - com.google.protobuf.ByteString getVersionNumberBytes(); + com.google.protobuf.ByteString + getVersionNumberBytes(); /** - * - * *
    * Whether this is currently the default version for Cloud Data Fusion
    * 
* * bool default_version = 2; - * * @return The defaultVersion. */ boolean getDefaultVersion(); /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @return A list containing the availableFeatures. */ - java.util.List getAvailableFeaturesList(); + java.util.List + getAvailableFeaturesList(); /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @return The count of availableFeatures. */ int getAvailableFeaturesCount(); /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @param index The index of the element to return. * @return The availableFeatures at the given index. */ java.lang.String getAvailableFeatures(int index); /** - * - * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; - * * @param index The index of the value to return. * @return The bytes of the availableFeatures at the given index. */ - com.google.protobuf.ByteString getAvailableFeaturesBytes(int index); + com.google.protobuf.ByteString + getAvailableFeaturesBytes(int index); /** - * - * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; - * * @return The type. */ com.google.cloud.datafusion.v1beta1.Version.Type getType(); diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto similarity index 100% rename from proto-google-cloud-data-fusion-v1beta1/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/AsyncAddDnsPeering.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/AsyncAddDnsPeering.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/AsyncAddDnsPeering.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/AsyncAddDnsPeering.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeering.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeering.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeering.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeering.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringInstancename.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringInstancename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringInstancename.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringInstancename.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringString.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstance.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstance.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstance.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstance.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java index 383a2abf..4a9130cc 100644 --- a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java @@ -16,8 +16,7 @@ package com.google.cloud.datafusion.v1beta1.samples; -// [START -// datafusion_v1beta1_generated_datafusionclient_createinstance_locationnameinstancestring_sync] +// [START datafusion_v1beta1_generated_datafusionclient_createinstance_locationnameinstancestring_sync] import com.google.cloud.datafusion.v1beta1.DataFusionClient; import com.google.cloud.datafusion.v1beta1.Instance; import com.google.cloud.datafusion.v1beta1.LocationName; @@ -39,5 +38,4 @@ public static void syncCreateInstanceLocationnameInstanceString() throws Excepti } } } -// [END -// datafusion_v1beta1_generated_datafusionclient_createinstance_locationnameinstancestring_sync] +// [END datafusion_v1beta1_generated_datafusionclient_createinstance_locationnameinstancestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstance.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstance.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java index 8b737f4e..8325f083 100644 --- a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java @@ -20,6 +20,7 @@ import com.google.cloud.datafusion.v1beta1.DataFusionClient; import com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest; import com.google.cloud.datafusion.v1beta1.InstanceName; +import com.google.protobuf.Empty; public class SyncDeleteInstance { diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java index c3c52946..c400c0a3 100644 --- a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java @@ -19,6 +19,7 @@ // [START datafusion_v1beta1_generated_datafusionclient_deleteinstance_instancename_sync] import com.google.cloud.datafusion.v1beta1.DataFusionClient; import com.google.cloud.datafusion.v1beta1.InstanceName; +import com.google.protobuf.Empty; public class SyncDeleteInstanceInstancename { diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java index 56c6e1e5..809b7063 100644 --- a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java @@ -19,6 +19,7 @@ // [START datafusion_v1beta1_generated_datafusionclient_deleteinstance_string_sync] import com.google.cloud.datafusion.v1beta1.DataFusionClient; import com.google.cloud.datafusion.v1beta1.InstanceName; +import com.google.protobuf.Empty; public class SyncDeleteInstanceString { diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/AsyncGetInstance.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/AsyncGetInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/AsyncGetInstance.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/AsyncGetInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/SyncGetInstance.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/SyncGetInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/SyncGetInstance.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/SyncGetInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersions.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersions.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersions.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeerings.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeerings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeerings.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeerings.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeeringsPaged.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeeringsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeeringsPaged.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeeringsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeerings.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeerings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeerings.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeerings.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsInstancename.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsInstancename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsInstancename.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsInstancename.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsString.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstances.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstances.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstances.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstances.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstancesPaged.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstancesPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstancesPaged.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstancesPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/SyncListInstances.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/SyncListInstances.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/SyncListInstances.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/SyncListInstances.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespaces.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespaces.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespaces.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespaces.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespacesPaged.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespacesPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespacesPaged.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespacesPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespaces.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespaces.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespaces.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespaces.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesInstancename.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesInstancename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesInstancename.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesInstancename.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesString.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/AsyncRemoveDnsPeering.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/AsyncRemoveDnsPeering.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/AsyncRemoveDnsPeering.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/AsyncRemoveDnsPeering.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeering.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeering.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeering.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeering.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringInstancename.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringInstancename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringInstancename.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringInstancename.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringString.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/AsyncRemoveIamPolicy.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/AsyncRemoveIamPolicy.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/AsyncRemoveIamPolicy.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/AsyncRemoveIamPolicy.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/SyncRemoveIamPolicy.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/SyncRemoveIamPolicy.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/SyncRemoveIamPolicy.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/SyncRemoveIamPolicy.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstance.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstance.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/SyncRestartInstance.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/SyncRestartInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/SyncRestartInstance.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/SyncRestartInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstance.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstance.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstance.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstance.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstance.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstance.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstanceLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstanceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstanceLRO.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstanceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/SyncUpgradeInstance.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/SyncUpgradeInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/SyncUpgradeInstance.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/SyncUpgradeInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionsettings/getinstance/SyncGetInstance.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionsettings/getinstance/SyncGetInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionsettings/getinstance/SyncGetInstance.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionsettings/getinstance/SyncGetInstance.java diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datafusion/v1beta1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java deleted file mode 100644 index 20b2d94f..00000000 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java +++ /dev/null @@ -1,479 +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/datafusion/v1/datafusion.proto - -package com.google.cloud.datafusion.v1; - -public final class Datafusion { - private Datafusion() {} - - 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_datafusion_v1_NetworkConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_Version_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_Accelerator_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_Instance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_Instance_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_Instance_OptionsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_Instance_OptionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_OperationMetadata_AdditionalStatusEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_OperationMetadata_AdditionalStatusEntry_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/datafusion/v1/datafusion." - + "proto\022\032google.cloud.datafusion.v1\032\034googl" - + "e/api/annotations.proto\032\027google/api/clie" - + "nt.proto\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032#google/lon" - + "grunning/operations.proto\032 google/protob" - + "uf/field_mask.proto\032\037google/protobuf/tim" - + "estamp.proto\"7\n\rNetworkConfig\022\017\n\007network" - + "\030\001 \001(\t\022\025\n\rip_allocation\030\002 \001(\t\"\335\001\n\007Versio" - + "n\022\026\n\016version_number\030\001 \001(\t\022\027\n\017default_ver" - + "sion\030\002 \001(\010\022\032\n\022available_features\030\003 \003(\t\0226" - + "\n\004type\030\004 \001(\0162(.google.cloud.datafusion.v" - + "1.Version.Type\"M\n\004Type\022\024\n\020TYPE_UNSPECIFI" - + "ED\020\000\022\020\n\014TYPE_PREVIEW\020\001\022\035\n\031TYPE_GENERAL_A" - + "VAILABILITY\020\002\"\307\002\n\013Accelerator\022Q\n\020acceler" - + "ator_type\030\001 \001(\01627.google.cloud.datafusio" - + "n.v1.Accelerator.AcceleratorType\022<\n\005stat" - + "e\030\002 \001(\0162-.google.cloud.datafusion.v1.Acc" - + "elerator.State\"_\n\017AcceleratorType\022 \n\034ACC" - + "ELERATOR_TYPE_UNSPECIFIED\020\000\022\007\n\003CDC\020\001\022\016\n\n" - + "HEALTHCARE\020\002\022\021\n\rCCAI_INSIGHTS\020\003\"F\n\005State" - + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010" - + "DISABLED\020\002\022\013\n\007UNKNOWN\020\003\"P\n\017CryptoKeyConf" - + "ig\022=\n\rkey_reference\030\001 \001(\tB&\372A#\n!cloudkms" - + ".googleapis.com/CryptoKey\"\322\r\n\010Instance\0228" - + "\n\004name\030\001 \001(\tB*\340A\003\372A$\n\"datafusion.googlea" - + "pis.com/Instance\022\023\n\013description\030\002 \001(\t\022<\n" - + "\004type\030\003 \001(\0162).google.cloud.datafusion.v1" - + ".Instance.TypeB\003\340A\002\022\"\n\032enable_stackdrive" - + "r_logging\030\004 \001(\010\022%\n\035enable_stackdriver_mo" - + "nitoring\030\005 \001(\010\022\030\n\020private_instance\030\006 \001(\010" - + "\022A\n\016network_config\030\007 \001(\0132).google.cloud." - + "datafusion.v1.NetworkConfig\022@\n\006labels\030\010 " - + "\003(\01320.google.cloud.datafusion.v1.Instanc" - + "e.LabelsEntry\022B\n\007options\030\t \003(\01321.google." - + "cloud.datafusion.v1.Instance.OptionsEntr" - + "y\0224\n\013create_time\030\n \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\003\022>\n\005state\030\014" - + " \001(\0162*.google.cloud.datafusion.v1.Instan" - + "ce.StateB\003\340A\003\022\032\n\rstate_message\030\r \001(\tB\003\340A" - + "\003\022\035\n\020service_endpoint\030\016 \001(\tB\003\340A\003\022\014\n\004zone" - + "\030\017 \001(\t\022\017\n\007version\030\020 \001(\t\022\036\n\017service_accou" - + "nt\030\021 \001(\tB\005\030\001\340A\003\022\024\n\014display_name\030\022 \001(\t\022>\n" - + "\021available_version\030\023 \003(\0132#.google.cloud." - + "datafusion.v1.Version\022\031\n\014api_endpoint\030\024 " - + "\001(\tB\003\340A\003\022\027\n\ngcs_bucket\030\025 \001(\tB\003\340A\003\022=\n\014acc" - + "elerators\030\026 \003(\0132\'.google.cloud.datafusio" - + "n.v1.Accelerator\022\037\n\022p4_service_account\030\027" - + " \001(\tB\003\340A\003\022\036\n\021tenant_project_id\030\030 \001(\tB\003\340A" - + "\003\022 \n\030dataproc_service_account\030\031 \001(\t\022\023\n\013e" - + "nable_rbac\030\033 \001(\010\022F\n\021crypto_key_config\030\034 " - + "\001(\0132+.google.cloud.datafusion.v1.CryptoK" - + "eyConfig\022Q\n\017disabled_reason\030\035 \003(\01623.goog" - + "le.cloud.datafusion.v1.Instance.Disabled" - + "ReasonB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" - + "\r\n\005value\030\002 \001(\t:\0028\001\032.\n\014OptionsEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"F\n\004Type\022\024\n\020TY" - + "PE_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\016\n\nENTERPRIS" - + "E\020\002\022\r\n\tDEVELOPER\020\003\"\264\001\n\005State\022\025\n\021STATE_UN" - + "SPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006ACTIVE\020\002\022\n\n" - + "\006FAILED\020\003\022\014\n\010DELETING\020\004\022\r\n\tUPGRADING\020\005\022\016" - + "\n\nRESTARTING\020\006\022\014\n\010UPDATING\020\007\022\021\n\rAUTO_UPD" - + "ATING\020\010\022\022\n\016AUTO_UPGRADING\020\t\022\014\n\010DISABLED\020" - + "\n\"D\n\016DisabledReason\022\037\n\033DISABLED_REASON_U" - + "NSPECIFIED\020\000\022\021\n\rKMS_KEY_ISSUE\020\001:e\352Ab\n\"da" - + "tafusion.googleapis.com/Instance\022 - * Required. The instance resource name in the format - * projects/{project}/locations/{location}/instances/{instance} - *
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The instance resource name in the format
-   * projects/{project}/locations/{location}/instances/{instance}
-   * 
- * - * - * 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-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java deleted file mode 100644 index 07465904..00000000 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.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/datafusion/v1/datafusion.proto - -package com.google.cloud.datafusion.v1; - -public interface GetInstanceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.GetInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The instance resource name in the format
-   * projects/{project}/locations/{location}/instances/{instance}.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The instance resource name in the format
-   * projects/{project}/locations/{location}/instances/{instance}.
-   * 
- * - * - * 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-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java deleted file mode 100644 index a4a99a94..00000000 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.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/datafusion/v1/datafusion.proto - -package com.google.cloud.datafusion.v1; - -public interface RestartInstanceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.RestartInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the Data Fusion instance which need to be restarted in the form of
-   * projects/{project}/locations/{location}/instances/{instance}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the Data Fusion instance which need to be restarted in the form of
-   * projects/{project}/locations/{location}/instances/{instance}
-   * 
- * - * - * 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-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java deleted file mode 100644 index 0fe85cf2..00000000 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.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/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface AddDnsPeeringResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java deleted file mode 100644 index 5f9ee3e7..00000000 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.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/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface DeleteInstanceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.DeleteInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The instance resource name in the format
-   * projects/{project}/locations/{location}/instances/{instance}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The instance resource name in the format
-   * projects/{project}/locations/{location}/instances/{instance}
-   * 
- * - * - * 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-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java deleted file mode 100644 index f0cfbb44..00000000 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.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/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface GetInstanceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.GetInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The instance resource name in the format
-   * projects/{project}/locations/{location}/instances/{instance}.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The instance resource name in the format
-   * projects/{project}/locations/{location}/instances/{instance}.
-   * 
- * - * - * 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-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java deleted file mode 100644 index be967aa9..00000000 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java +++ /dev/null @@ -1,79 +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/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface RemoveDnsPeeringRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource on which DNS peering will be removed.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The resource on which DNS peering will be removed.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The zone to be removed.
-   * 
- * - * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The zone. - */ - java.lang.String getZone(); - /** - * - * - *
-   * Required. The zone to be removed.
-   * 
- * - * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for zone. - */ - com.google.protobuf.ByteString getZoneBytes(); -} diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java deleted file mode 100644 index ec8f21fc..00000000 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.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/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface RemoveDnsPeeringResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java deleted file mode 100644 index 69aa5d4a..00000000 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.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/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface RemoveIamPolicyResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java deleted file mode 100644 index c88fa295..00000000 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.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/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface RestartInstanceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RestartInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the Data Fusion instance which need to be restarted in the form of
-   * projects/{project}/locations/{location}/instances/{instance}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the Data Fusion instance which need to be restarted in the form of
-   * projects/{project}/locations/{location}/instances/{instance}
-   * 
- * - * - * 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-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java deleted file mode 100644 index 9d74678b..00000000 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java +++ /dev/null @@ -1,60 +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/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface UpgradeInstanceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the Data Fusion instance which need to be upgraded in the form of
-   * projects/{project}/locations/{location}/instances/{instance}
-   * Instance will be upgraded with the latest stable version of the Data
-   * Fusion.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the Data Fusion instance which need to be upgraded in the form of
-   * projects/{project}/locations/{location}/instances/{instance}
-   * Instance will be upgraded with the latest stable version of the Data
-   * Fusion.
-   * 
- * - * - * 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-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java deleted file mode 100644 index c42b172a..00000000 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java +++ /dev/null @@ -1,700 +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/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public final class V1Beta1 { - private V1Beta1() {} - - 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_datafusion_v1beta1_NetworkConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_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/datafusion/v1beta1/v1beta" - + "1.proto\022\037google.cloud.datafusion.v1beta1" - + "\032\034google/api/annotations.proto\032\027google/a" - + "pi/client.proto\032\037google/api/field_behavi" - + "or.proto\032\031google/api/resource.proto\032\032goo" - + "gle/iam/v1/policy.proto\032#google/longrunn" - + "ing/operations.proto\032 google/protobuf/fi" - + "eld_mask.proto\032\037google/protobuf/timestam" - + "p.proto\032\027google/rpc/status.proto\"7\n\rNetw" - + "orkConfig\022\017\n\007network\030\001 \001(\t\022\025\n\rip_allocat" - + "ion\030\002 \001(\t\"\342\001\n\007Version\022\026\n\016version_number\030" - + "\001 \001(\t\022\027\n\017default_version\030\002 \001(\010\022\032\n\022availa" - + "ble_features\030\003 \003(\t\022;\n\004type\030\004 \001(\0162-.googl" - + "e.cloud.datafusion.v1beta1.Version.Type\"" - + "M\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\020\n\014TYPE_PR" - + "EVIEW\020\001\022\035\n\031TYPE_GENERAL_AVAILABILITY\020\002\"\263" - + "\001\n\013Accelerator\022V\n\020accelerator_type\030\001 \001(\016" - + "2<.google.cloud.datafusion.v1beta1.Accel" - + "erator.AcceleratorType\"L\n\017AcceleratorTyp" - + "e\022 \n\034ACCELERATOR_TYPE_UNSPECIFIED\020\000\022\007\n\003C" - + "DC\020\001\022\016\n\nHEALTHCARE\020\002\"P\n\017CryptoKeyConfig\022" - + "=\n\rkey_reference\030\001 \001(\tB&\372A#\n!cloudkms.go" - + "ogleapis.com/CryptoKey\"\200\016\n\010Instance\0228\n\004n" - + "ame\030\001 \001(\tB*\340A\003\372A$\n\"datafusion.googleapis" - + ".com/Instance\022\023\n\013description\030\002 \001(\t\022A\n\004ty" - + "pe\030\003 \001(\0162..google.cloud.datafusion.v1bet" - + "a1.Instance.TypeB\003\340A\002\022\"\n\032enable_stackdri" - + "ver_logging\030\004 \001(\010\022%\n\035enable_stackdriver_" - + "monitoring\030\005 \001(\010\022\030\n\020private_instance\030\006 \001" - + "(\010\022F\n\016network_config\030\007 \001(\0132..google.clou" - + "d.datafusion.v1beta1.NetworkConfig\022E\n\006la" - + "bels\030\010 \003(\01325.google.cloud.datafusion.v1b" - + "eta1.Instance.LabelsEntry\022G\n\007options\030\t \003" - + "(\01326.google.cloud.datafusion.v1beta1.Ins" - + "tance.OptionsEntry\0224\n\013create_time\030\n \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" - + "te_time\030\013 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\022C\n\005state\030\014 \001(\0162/.google.cloud.dat" - + "afusion.v1beta1.Instance.StateB\003\340A\003\022\032\n\rs" - + "tate_message\030\r \001(\tB\003\340A\003\022\035\n\020service_endpo" - + "int\030\016 \001(\tB\003\340A\003\022\014\n\004zone\030\017 \001(\t\022\017\n\007version\030" - + "\020 \001(\t\022\036\n\017service_account\030\021 \001(\tB\005\030\001\340A\003\022\024\n" - + "\014display_name\030\022 \001(\t\022C\n\021available_version" - + "\030\023 \003(\0132(.google.cloud.datafusion.v1beta1" - + ".Version\022\031\n\014api_endpoint\030\024 \001(\tB\003\340A\003\022\027\n\ng" - + "cs_bucket\030\025 \001(\tB\003\340A\003\022B\n\014accelerators\030\026 \003" - + "(\0132,.google.cloud.datafusion.v1beta1.Acc" - + "elerator\022\037\n\022p4_service_account\030\027 \001(\tB\003\340A" - + "\003\022\036\n\021tenant_project_id\030\030 \001(\tB\003\340A\003\022 \n\030dat" - + "aproc_service_account\030\031 \001(\t\022\023\n\013enable_rb" - + "ac\030\032 \001(\010\022K\n\021crypto_key_config\030\033 \001(\01320.go" - + "ogle.cloud.datafusion.v1beta1.CryptoKeyC" - + "onfig\022V\n\017disabled_reason\030\034 \003(\01628.google." - + "cloud.datafusion.v1beta1.Instance.Disabl" - + "edReasonB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(" - + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\032.\n\014OptionsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"F\n\004Type\022\024\n\020" - + "TYPE_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\016\n\nENTERPR" - + "ISE\020\002\022\r\n\tDEVELOPER\020\003\"\265\001\n\005State\022\025\n\021STATE_" - + "UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\013\n\007RUNNING\020\002" - + "\022\n\n\006FAILED\020\003\022\014\n\010DELETING\020\004\022\r\n\tUPGRADING\020" - + "\005\022\016\n\nRESTARTING\020\006\022\014\n\010UPDATING\020\007\022\021\n\rAUTO_" - + "UPDATING\020\010\022\022\n\016AUTO_UPGRADING\020\t\022\014\n\010DISABL" - + "ED\020\n\"D\n\016DisabledReason\022\037\n\033DISABLED_REASO" - + "N_UNSPECIFIED\020\000\022\021\n\rKMS_KEY_ISSUE\020\001:e\352Ab\n" - + "\"datafusion.googleapis.com/Instance\022\n\niam_policy\030\002 \001(\0132*.google.cloud.data" - + "fusion.v1beta1.IAMPolicy:}\352Az\n#datafusio" - + "n.googleapis.com/Namespace\022Sprojects/{pr" - + "oject}/locations/{location}/instances/{i" - + "nstance}/namespaces/{namespace}\"q\n\026ListN" - + "amespacesResponse\022>\n\nnamespaces\030\001 \003(\0132*." - + "google.cloud.datafusion.v1beta1.Namespac" - + "e\022\027\n\017next_page_token\030\002 \001(\t\"\210\001\n\nDnsPeerin" - + "g\022\021\n\004zone\030\001 \001(\tB\003\340A\002\022\023\n\006domain\030\002 \001(\tB\003\340A" - + "\002\022\030\n\013description\030\003 \001(\tB\003\340A\001\022\033\n\016target_pr" - + "oject\030\004 \001(\tB\003\340A\001\022\033\n\016target_network\030\005 \001(\t" - + "B\003\340A\001\"\224\001\n\024AddDnsPeeringRequest\022:\n\006parent" - + "\030\001 \001(\tB*\340A\002\372A$\n\"datafusion.googleapis.co" - + "m/Instance\022@\n\013dns_peering\030\002 \001(\0132+.google" - + ".cloud.datafusion.v1beta1.DnsPeering\"\027\n\025" - + "AddDnsPeeringResponse\"h\n\027RemoveDnsPeerin" - + "gRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"datafu" - + "sion.googleapis.com/Instance\022\021\n\004zone\030\002 \001" - + "(\tB\003\340A\002\"\032\n\030RemoveDnsPeeringResponse\"{\n\026L" - + "istDnsPeeringsRequest\022:\n\006parent\030\001 \001(\tB*\340" - + "A\002\372A$\n\"datafusion.googleapis.com/Instanc" - + "e\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t" - + "\"u\n\027ListDnsPeeringsResponse\022A\n\014dns_peeri" - + "ngs\030\001 \003(\0132+.google.cloud.datafusion.v1be" - + "ta1.DnsPeering\022\027\n\017next_page_token\030\002 \001(\t*" - + "b\n\rNamespaceView\022\036\n\032NAMESPACE_VIEW_UNSPE" - + "CIFIED\020\000\022\030\n\024NAMESPACE_VIEW_BASIC\020\001\022\027\n\023NA" - + "MESPACE_VIEW_FULL\020\0022\311\026\n\nDataFusion\022\332\001\n\025L" - + "istAvailableVersions\022=.google.cloud.data" - + "fusion.v1beta1.ListAvailableVersionsRequ" - + "est\032>.google.cloud.datafusion.v1beta1.Li" - + "stAvailableVersionsResponse\"B\202\323\344\223\0023\0221/v1" - + "beta1/{parent=projects/*/locations/*}/ve" - + "rsions\332A\006parent\022\272\001\n\rListInstances\0225.goog" - + "le.cloud.datafusion.v1beta1.ListInstance" - + "sRequest\0326.google.cloud.datafusion.v1bet" - + "a1.ListInstancesResponse\":\202\323\344\223\0024\0222/v1bet" - + "a1/{parent=projects/*/locations/*}/insta" - + "nces\022\251\001\n\013GetInstance\0223.google.cloud.data" - + "fusion.v1beta1.GetInstanceRequest\032).goog" - + "le.cloud.datafusion.v1beta1.Instance\":\202\323" - + "\344\223\0024\0222/v1beta1/{name=projects/*/location" - + "s/*/instances/*}\022\354\001\n\016CreateInstance\0226.go" - + "ogle.cloud.datafusion.v1beta1.CreateInst" - + "anceRequest\032\035.google.longrunning.Operati" - + "on\"\202\001\202\323\344\223\002>\"2/v1beta1/{parent=projects/*" - + "/locations/*}/instances:\010instance\332A\033pare" - + "nt,instance,instance_id\312A\035\n\010Instance\022\021Op" - + "erationMetadata\022\327\001\n\016DeleteInstance\0226.goo" - + "gle.cloud.datafusion.v1beta1.DeleteInsta" - + "nceRequest\032\035.google.longrunning.Operatio" - + "n\"n\202\323\344\223\0024*2/v1beta1/{name=projects/*/loc" - + "ations/*/instances/*}\332A\004name\312A*\n\025google." - + "protobuf.Empty\022\021OperationMetadata\022\356\001\n\016Up" - + "dateInstance\0226.google.cloud.datafusion.v" - + "1beta1.UpdateInstanceRequest\032\035.google.lo" - + "ngrunning.Operation\"\204\001\202\323\344\223\002G2;/v1beta1/{" - + "instance.name=projects/*/locations/*/ins" - + "tances/*}:\010instance\332A\024instance,update_ma" - + "sk\312A\035\n\010Instance\022\021OperationMetadata\022\320\001\n\017R" - + "estartInstance\0227.google.cloud.datafusion" - + ".v1beta1.RestartInstanceRequest\032\035.google" - + ".longrunning.Operation\"e\202\323\344\223\002?\":/v1beta1" - + "/{name=projects/*/locations/*/instances/" - + "*}:restart:\001*\312A\035\n\010Instance\022\021OperationMet" - + "adata\022\320\001\n\017UpgradeInstance\0227.google.cloud" - + ".datafusion.v1beta1.UpgradeInstanceReque" - + "st\032\035.google.longrunning.Operation\"e\202\323\344\223\002" - + "?\":/v1beta1/{name=projects/*/locations/*" - + "/instances/*}:upgrade:\001*\312A\035\n\010Instance\022\021O" - + "perationMetadata\022\316\001\n\017RemoveIamPolicy\0227.g" - + "oogle.cloud.datafusion.v1beta1.RemoveIam" - + "PolicyRequest\0328.google.cloud.datafusion." - + "v1beta1.RemoveIamPolicyResponse\"H\202\323\344\223\002B\"" - + "=/v1beta1/{resource=projects/*/locations" - + "/*/**}:removeIamPolicy:\001*\022\323\001\n\016ListNamesp" - + "aces\0226.google.cloud.datafusion.v1beta1.L" - + "istNamespacesRequest\0327.google.cloud.data" - + "fusion.v1beta1.ListNamespacesResponse\"P\202" - + "\323\344\223\002A\022?/v1beta1/{parent=projects/*/locat" - + "ions/*/instances/*}/namespaces\332A\006parent\022" - + "\330\001\n\rAddDnsPeering\0225.google.cloud.datafus" - + "ion.v1beta1.AddDnsPeeringRequest\0326.googl" - + "e.cloud.datafusion.v1beta1.AddDnsPeering" - + "Response\"X\202\323\344\223\002I\"D/v1beta1/{parent=proje" - + "cts/*/locations/*/instances/*}/dnsPeerin" - + "gs:add:\001*\332A\006parent\022\344\001\n\020RemoveDnsPeering\022" - + "8.google.cloud.datafusion.v1beta1.Remove" - + "DnsPeeringRequest\0329.google.cloud.datafus" - + "ion.v1beta1.RemoveDnsPeeringResponse\"[\202\323" - + "\344\223\002L\"G/v1beta1/{parent=projects/*/locati" - + "ons/*/instances/*}/dnsPeerings:remove:\001*" - + "\332A\006parent\022\334\001\n\017ListDnsPeerings\0227.google.c" - + "loud.datafusion.v1beta1.ListDnsPeeringsR" - + "equest\0328.google.cloud.datafusion.v1beta1" - + ".ListDnsPeeringsResponse\"V\202\323\344\223\002G\022E/v1bet" - + "a1/{parent=projects/*/locations/*/instan" - + "ces/*}/dnsPeerings:list\332A\006parent\032M\312A\031dat" - + "afusion.googleapis.com\322A.https://www.goo" - + "gleapis.com/auth/cloud-platformB\326\002\n#com." - + "google.cloud.datafusion.v1beta1P\001ZIgoogl" - + "e.golang.org/genproto/googleapis/cloud/d" - + "atafusion/v1beta1;datafusion\252\002\037Google.Cl" - + "oud.DataFusion.V1Beta1\312\002\037Google\\Cloud\\Da" - + "taFusion\\V1beta1\352\002\"Google::Cloud::DataFu" - + "sion::V1beta1\352Ax\n!cloudkms.googleapis.co" - + "m/CryptoKey\022Sprojects/{project}/location" - + "s/{location}/keyRings/{key_ring}/cryptoK" - + "eys/{crypto_key}b\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.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor, - new java.lang.String[] { - "Network", "IpAllocation", - }); - internal_static_google_cloud_datafusion_v1beta1_Version_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_Version_descriptor, - new java.lang.String[] { - "VersionNumber", "DefaultVersion", "AvailableFeatures", "Type", - }); - internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor, - new java.lang.String[] { - "AcceleratorType", - }); - internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor, - new java.lang.String[] { - "KeyReference", - }); - internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor, - new java.lang.String[] { - "Name", - "Description", - "Type", - "EnableStackdriverLogging", - "EnableStackdriverMonitoring", - "PrivateInstance", - "NetworkConfig", - "Labels", - "Options", - "CreateTime", - "UpdateTime", - "State", - "StateMessage", - "ServiceEndpoint", - "Zone", - "Version", - "ServiceAccount", - "DisplayName", - "AvailableVersion", - "ApiEndpoint", - "GcsBucket", - "Accelerators", - "P4ServiceAccount", - "TenantProjectId", - "DataprocServiceAccount", - "EnableRbac", - "CryptoKeyConfig", - "DisabledReason", - }); - internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_descriptor = - internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_descriptor = - internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor, - new java.lang.String[] { - "Instances", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "LatestPatchOnly", - }); - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor, - new java.lang.String[] { - "AvailableVersions", "NextPageToken", - }); - internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor, - new java.lang.String[] { - "Parent", "InstanceId", "Instance", - }); - internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor, - new java.lang.String[] { - "Instance", "UpdateMask", - }); - internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor, - new java.lang.String[] { - "CreateTime", - "EndTime", - "Target", - "Verb", - "StatusDetail", - "RequestedCancellation", - "ApiVersion", - }); - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor, - new java.lang.String[] { - "Resource", - }); - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "View", - }); - internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor, - new java.lang.String[] { - "Policy", "Status", - }); - internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor, - new java.lang.String[] { - "Name", "IamPolicy", - }); - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor, - new java.lang.String[] { - "Namespaces", "NextPageToken", - }); - internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor, - new java.lang.String[] { - "Zone", "Domain", "Description", "TargetProject", "TargetNetwork", - }); - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor, - new java.lang.String[] { - "Parent", "DnsPeering", - }); - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor, - new java.lang.String[] { - "Parent", "Zone", - }); - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor, - new java.lang.String[] { - "DnsPeerings", "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.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - 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.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From a1fdd51d897301b71552714ba93ca34209ca787e Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:30:25 +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 --- .../cloud/datafusion/v1/DataFusionClient.java | 34 +- .../datafusion/v1/DataFusionSettings.java | 13 +- .../cloud/datafusion/v1/gapic_metadata.json | 0 .../cloud/datafusion/v1/package-info.java | 0 .../datafusion/v1/stub/DataFusionStub.java | 0 .../v1/stub/DataFusionStubSettings.java | 24 +- .../stub/GrpcDataFusionCallableFactory.java | 0 .../v1/stub/GrpcDataFusionStub.java | 1 - .../HttpJsonDataFusionCallableFactory.java | 0 .../v1/stub/HttpJsonDataFusionStub.java | 1 - .../datafusion/v1beta1/DataFusionClient.java | 54 +- .../v1beta1/DataFusionSettings.java | 13 +- .../datafusion/v1beta1/gapic_metadata.json | 0 .../datafusion/v1beta1/package-info.java | 0 .../v1beta1/stub/DataFusionStub.java | 0 .../v1beta1/stub/DataFusionStubSettings.java | 24 +- .../stub/GrpcDataFusionCallableFactory.java | 0 .../v1beta1/stub/GrpcDataFusionStub.java | 1 - .../HttpJsonDataFusionCallableFactory.java | 0 .../v1beta1/stub/HttpJsonDataFusionStub.java | 1 - .../v1/DataFusionClientHttpJsonTest.java | 0 .../datafusion/v1/DataFusionClientTest.java | 0 .../cloud/datafusion/v1/MockDataFusion.java | 0 .../datafusion/v1/MockDataFusionImpl.java | 0 .../v1beta1/DataFusionClientHttpJsonTest.java | 0 .../v1beta1/DataFusionClientTest.java | 0 .../datafusion/v1beta1/MockDataFusion.java | 0 .../v1beta1/MockDataFusionImpl.java | 0 .../cloud/datafusion/v1/DataFusionGrpc.java | 1062 ++++++ .../datafusion/v1beta1/DataFusionGrpc.java | 1807 +++++++++ .../cloud/datafusion/v1/DataFusionGrpc.java | 837 ---- .../cloud/datafusion/v1/Datafusion.java | 411 -- .../v1/DeleteInstanceRequestOrBuilder.java | 31 - .../v1/GetInstanceRequestOrBuilder.java | 31 - .../v1/RestartInstanceRequestOrBuilder.java | 31 - .../datafusion/v1beta1/DataFusionGrpc.java | 1357 ------- .../AddDnsPeeringResponseOrBuilder.java | 9 - .../DeleteInstanceRequestOrBuilder.java | 31 - .../v1beta1/GetInstanceRequestOrBuilder.java | 31 - .../RemoveDnsPeeringRequestOrBuilder.java | 49 - .../RemoveDnsPeeringResponseOrBuilder.java | 9 - .../RemoveIamPolicyResponseOrBuilder.java | 9 - .../RestartInstanceRequestOrBuilder.java | 31 - .../UpgradeInstanceRequestOrBuilder.java | 35 - .../cloud/datafusion/v1beta1/V1Beta1.java | 628 --- .../cloud/datafusion/v1/Accelerator.java | 497 ++- .../datafusion/v1/AcceleratorOrBuilder.java | 30 +- .../datafusion/v1/CreateInstanceRequest.java | 519 ++- .../v1/CreateInstanceRequestOrBuilder.java | 52 +- .../cloud/datafusion/v1/CryptoKeyConfig.java | 301 +- .../v1/CryptoKeyConfigOrBuilder.java | 27 +- .../cloud/datafusion/v1/Datafusion.java | 479 +++ .../datafusion/v1/DeleteInstanceRequest.java | 339 +- .../v1/DeleteInstanceRequestOrBuilder.java | 56 + .../datafusion/v1/GetInstanceRequest.java | 339 +- .../v1/GetInstanceRequestOrBuilder.java | 56 + .../google/cloud/datafusion/v1/Instance.java | 3393 ++++++++++------- .../cloud/datafusion/v1/InstanceName.java | 0 .../datafusion/v1/InstanceOrBuilder.java | 389 +- .../v1/ListAvailableVersionsRequest.java | 492 ++- ...ListAvailableVersionsRequestOrBuilder.java | 50 +- .../v1/ListAvailableVersionsResponse.java | 464 ++- ...istAvailableVersionsResponseOrBuilder.java | 45 +- .../datafusion/v1/ListInstancesRequest.java | 612 +-- .../v1/ListInstancesRequestOrBuilder.java | 65 +- .../datafusion/v1/ListInstancesResponse.java | 570 +-- .../v1/ListInstancesResponseOrBuilder.java | 63 +- .../cloud/datafusion/v1/LocationName.java | 0 .../cloud/datafusion/v1/NetworkConfig.java | 380 +- .../datafusion/v1/NetworkConfigOrBuilder.java | 36 +- .../datafusion/v1/OperationMetadata.java | 1018 ++--- .../v1/OperationMetadataOrBuilder.java | 104 +- .../datafusion/v1/RestartInstanceRequest.java | 342 +- .../v1/RestartInstanceRequestOrBuilder.java | 56 + .../datafusion/v1/UpdateInstanceRequest.java | 480 ++- .../v1/UpdateInstanceRequestOrBuilder.java | 46 +- .../google/cloud/datafusion/v1/Version.java | 562 +-- .../cloud/datafusion/v1/VersionOrBuilder.java | 54 +- .../cloud/datafusion/v1/datafusion.proto | 0 .../cloud/datafusion/v1beta1/Accelerator.java | 379 +- .../v1beta1/AcceleratorOrBuilder.java | 24 +- .../v1beta1/AddDnsPeeringRequest.java | 440 ++- .../AddDnsPeeringRequestOrBuilder.java | 43 +- .../v1beta1/AddDnsPeeringResponse.java | 238 +- .../AddDnsPeeringResponseOrBuilder.java | 24 + .../v1beta1/CreateInstanceRequest.java | 519 ++- .../CreateInstanceRequestOrBuilder.java | 52 +- .../datafusion/v1beta1/CryptoKeyConfig.java | 311 +- .../v1beta1/CryptoKeyConfigOrBuilder.java | 27 +- .../v1beta1/DeleteInstanceRequest.java | 342 +- .../DeleteInstanceRequestOrBuilder.java | 56 + .../cloud/datafusion/v1beta1/DnsPeering.java | 619 +-- .../v1beta1/DnsPeeringOrBuilder.java | 63 +- .../v1beta1/GetInstanceRequest.java | 342 +- .../v1beta1/GetInstanceRequestOrBuilder.java | 56 + .../cloud/datafusion/v1beta1/IAMPolicy.java | 399 +- .../v1beta1/IAMPolicyOrBuilder.java | 34 +- .../cloud/datafusion/v1beta1/Instance.java | 3392 +++++++++------- .../datafusion/v1beta1/InstanceName.java | 0 .../datafusion/v1beta1/InstanceOrBuilder.java | 392 +- .../v1beta1/ListAvailableVersionsRequest.java | 513 ++- ...ListAvailableVersionsRequestOrBuilder.java | 50 +- .../ListAvailableVersionsResponse.java | 472 ++- ...istAvailableVersionsResponseOrBuilder.java | 45 +- .../v1beta1/ListDnsPeeringsRequest.java | 455 ++- .../ListDnsPeeringsRequestOrBuilder.java | 47 +- .../v1beta1/ListDnsPeeringsResponse.java | 458 ++- .../ListDnsPeeringsResponseOrBuilder.java | 45 +- .../v1beta1/ListInstancesRequest.java | 615 +-- .../ListInstancesRequestOrBuilder.java | 65 +- .../v1beta1/ListInstancesResponse.java | 574 +-- .../ListInstancesResponseOrBuilder.java | 63 +- .../v1beta1/ListNamespacesRequest.java | 523 ++- .../ListNamespacesRequestOrBuilder.java | 53 +- .../v1beta1/ListNamespacesResponse.java | 461 ++- .../ListNamespacesResponseOrBuilder.java | 45 +- .../datafusion/v1beta1/LocationName.java | 0 .../cloud/datafusion/v1beta1/Namespace.java | 399 +- .../v1beta1/NamespaceOrBuilder.java | 35 +- .../datafusion/v1beta1/NamespaceView.java | 82 +- .../datafusion/v1beta1/NetworkConfig.java | 390 +- .../v1beta1/NetworkConfigOrBuilder.java | 36 +- .../datafusion/v1beta1/OperationMetadata.java | 774 ++-- .../v1beta1/OperationMetadataOrBuilder.java | 73 +- .../v1beta1/RemoveDnsPeeringRequest.java | 421 +- .../RemoveDnsPeeringRequestOrBuilder.java | 79 + .../v1beta1/RemoveDnsPeeringResponse.java | 245 +- .../RemoveDnsPeeringResponseOrBuilder.java | 24 + .../v1beta1/RemoveIamPolicyRequest.java | 314 +- .../RemoveIamPolicyRequestOrBuilder.java | 27 +- .../v1beta1/RemoveIamPolicyResponse.java | 238 +- .../RemoveIamPolicyResponseOrBuilder.java | 24 + .../v1beta1/RestartInstanceRequest.java | 342 +- .../RestartInstanceRequestOrBuilder.java | 56 + .../v1beta1/UpdateInstanceRequest.java | 480 ++- .../UpdateInstanceRequestOrBuilder.java | 46 +- .../v1beta1/UpgradeInstanceRequest.java | 342 +- .../UpgradeInstanceRequestOrBuilder.java | 60 + .../cloud/datafusion/v1beta1/V1Beta1.java | 700 ++++ .../cloud/datafusion/v1beta1/Version.java | 573 +-- .../datafusion/v1beta1/VersionOrBuilder.java | 54 +- .../cloud/datafusion/v1beta1/v1beta1.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createinstance/AsyncCreateInstance.java | 0 .../AsyncCreateInstanceLRO.java | 0 .../createinstance/SyncCreateInstance.java | 0 ...ateInstanceLocationnameInstanceString.java | 0 ...yncCreateInstanceStringInstanceString.java | 0 .../deleteinstance/AsyncDeleteInstance.java | 0 .../AsyncDeleteInstanceLRO.java | 0 .../deleteinstance/SyncDeleteInstance.java | 0 .../SyncDeleteInstanceInstancename.java | 0 .../SyncDeleteInstanceString.java | 0 .../getinstance/AsyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../AsyncListAvailableVersions.java | 0 .../AsyncListAvailableVersionsPaged.java | 0 .../SyncListAvailableVersions.java | 0 ...SyncListAvailableVersionsLocationname.java | 0 .../SyncListAvailableVersionsString.java | 0 .../listinstances/AsyncListInstances.java | 0 .../AsyncListInstancesPaged.java | 0 .../listinstances/SyncListInstances.java | 0 .../restartinstance/AsyncRestartInstance.java | 0 .../AsyncRestartInstanceLRO.java | 0 .../restartinstance/SyncRestartInstance.java | 0 .../updateinstance/AsyncUpdateInstance.java | 0 .../AsyncUpdateInstanceLRO.java | 0 .../updateinstance/SyncUpdateInstance.java | 0 .../SyncUpdateInstanceInstanceFieldmask.java | 0 .../getinstance/SyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../adddnspeering/AsyncAddDnsPeering.java | 0 .../adddnspeering/SyncAddDnsPeering.java | 0 .../SyncAddDnsPeeringInstancename.java | 0 .../SyncAddDnsPeeringString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createinstance/AsyncCreateInstance.java | 0 .../AsyncCreateInstanceLRO.java | 0 .../createinstance/SyncCreateInstance.java | 0 ...ateInstanceLocationnameInstanceString.java | 0 ...yncCreateInstanceStringInstanceString.java | 0 .../deleteinstance/AsyncDeleteInstance.java | 0 .../AsyncDeleteInstanceLRO.java | 0 .../deleteinstance/SyncDeleteInstance.java | 0 .../SyncDeleteInstanceInstancename.java | 0 .../SyncDeleteInstanceString.java | 0 .../getinstance/AsyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../AsyncListAvailableVersions.java | 0 .../AsyncListAvailableVersionsPaged.java | 0 .../SyncListAvailableVersions.java | 0 ...SyncListAvailableVersionsLocationname.java | 0 .../SyncListAvailableVersionsString.java | 0 .../listdnspeerings/AsyncListDnsPeerings.java | 0 .../AsyncListDnsPeeringsPaged.java | 0 .../listdnspeerings/SyncListDnsPeerings.java | 0 .../SyncListDnsPeeringsInstancename.java | 0 .../SyncListDnsPeeringsString.java | 0 .../listinstances/AsyncListInstances.java | 0 .../AsyncListInstancesPaged.java | 0 .../listinstances/SyncListInstances.java | 0 .../listnamespaces/AsyncListNamespaces.java | 0 .../AsyncListNamespacesPaged.java | 0 .../listnamespaces/SyncListNamespaces.java | 0 .../SyncListNamespacesInstancename.java | 0 .../SyncListNamespacesString.java | 0 .../AsyncRemoveDnsPeering.java | 0 .../SyncRemoveDnsPeering.java | 0 .../SyncRemoveDnsPeeringInstancename.java | 0 .../SyncRemoveDnsPeeringString.java | 0 .../removeiampolicy/AsyncRemoveIamPolicy.java | 0 .../removeiampolicy/SyncRemoveIamPolicy.java | 0 .../restartinstance/AsyncRestartInstance.java | 0 .../AsyncRestartInstanceLRO.java | 0 .../restartinstance/SyncRestartInstance.java | 0 .../updateinstance/AsyncUpdateInstance.java | 0 .../AsyncUpdateInstanceLRO.java | 0 .../updateinstance/SyncUpdateInstance.java | 0 .../SyncUpdateInstanceInstanceFieldmask.java | 0 .../upgradeinstance/AsyncUpgradeInstance.java | 0 .../AsyncUpgradeInstanceLRO.java | 0 .../upgradeinstance/SyncUpgradeInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 229 files changed, 22245 insertions(+), 14286 deletions(-) rename {owl-bot-staging/v1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java (97%) rename {owl-bot-staging/v1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java (96%) rename {owl-bot-staging/v1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStub.java (100%) rename {owl-bot-staging/v1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java (97%) rename {owl-bot-staging/v1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java (99%) rename {owl-bot-staging/v1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionStub.java (99%) rename {owl-bot-staging/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java (98%) rename {owl-bot-staging/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java (97%) rename {owl-bot-staging/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/package-info.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStub.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java (98%) rename {owl-bot-staging/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionCallableFactory.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java (99%) rename {owl-bot-staging/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionCallableFactory.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionStub.java (99%) rename {owl-bot-staging/v1/google-cloud-data-fusion => google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-data-fusion => google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-data-fusion => google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1/MockDataFusion.java (100%) rename {owl-bot-staging/v1/google-cloud-data-fusion => google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1/MockDataFusionImpl.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientTest.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusion.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusionImpl.java (100%) create mode 100644 grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java create mode 100644 grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/Accelerator.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.java (59%) create mode 100644 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequest.java (65%) create mode 100644 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.java (65%) create mode 100644 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/Instance.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/InstanceName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.java (65%) create mode 100644 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/Version.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-data-fusion-v1 => proto-google-cloud-data-fusion-v1}/src/main/proto/google/cloud/datafusion/v1/datafusion.proto (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.java (57%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java (55%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.java (65%) create mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java (61%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.java (70%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.java (60%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.java (65%) create mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java (70%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.java (65%) create mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.java (71%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceName.java (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java (76%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java (61%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.java (73%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java (53%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.java (73%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.java (70%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.java (65%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.java (74%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.java (69%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java (65%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.java (73%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/LocationName.java (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.java (69%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java (63%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.java (73%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.java (69%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.java (76%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.java (66%) create mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.java (64%) create mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java (52%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.java (65%) create mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.java (65%) create mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.java (70%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.java (66%) create mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java create mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/Version.java (73%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1 => proto-google-cloud-data-fusion-v1beta1}/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/AsyncGetInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/SyncGetInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstances.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstancesPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/SyncListInstances.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/SyncRestartInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/datafusionsettings/getinstance/SyncGetInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/AsyncAddDnsPeering.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeering.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringInstancename.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstance.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstance.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstance.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/AsyncGetInstance.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/SyncGetInstance.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersions.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeerings.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeeringsPaged.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeerings.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsInstancename.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstances.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstancesPaged.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/SyncListInstances.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespaces.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespacesPaged.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespaces.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesInstancename.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/AsyncRemoveDnsPeering.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeering.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringInstancename.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/AsyncRemoveIamPolicy.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/SyncRemoveIamPolicy.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstance.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/SyncRestartInstance.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstance.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstance.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstance.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstanceLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/SyncUpgradeInstance.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionsettings/getinstance/SyncGetInstance.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/datafusion/v1beta1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java similarity index 97% rename from owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java index 202c1b3f..bee49ee2 100644 --- a/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java +++ b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java @@ -66,13 +66,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. *
* @@ -996,8 +996,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListAvailableVersionsPagedResponse extends AbstractPagedListResponse< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, - ListAvailableVersionsPage, ListAvailableVersionsFixedSizeCollection> { + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, + Version, + ListAvailableVersionsPage, + ListAvailableVersionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -1017,7 +1020,9 @@ private ListAvailableVersionsPagedResponse(ListAvailableVersionsPage page) { public static class ListAvailableVersionsPage extends AbstractPage< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, + Version, ListAvailableVersionsPage> { private ListAvailableVersionsPage( @@ -1047,8 +1052,11 @@ public ApiFuture createPageAsync( public static class ListAvailableVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, - ListAvailableVersionsPage, ListAvailableVersionsFixedSizeCollection> { + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, + Version, + ListAvailableVersionsPage, + ListAvailableVersionsFixedSizeCollection> { private ListAvailableVersionsFixedSizeCollection( List pages, int collectionSize) { @@ -1068,7 +1076,10 @@ protected ListAvailableVersionsFixedSizeCollection createCollection( public static class ListInstancesPagedResponse extends AbstractPagedListResponse< - ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage, + ListInstancesRequest, + ListInstancesResponse, + Instance, + ListInstancesPage, ListInstancesFixedSizeCollection> { public static ApiFuture createAsync( @@ -1118,7 +1129,10 @@ public ApiFuture createPageAsync( public static class ListInstancesFixedSizeCollection extends AbstractFixedSizeCollection< - ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage, + ListInstancesRequest, + ListInstancesResponse, + Instance, + ListInstancesPage, ListInstancesFixedSizeCollection> { private ListInstancesFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java similarity index 96% rename from owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java index dd603514..c7431eab 100644 --- a/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java +++ b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java @@ -30,7 +30,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.datafusion.v1.stub.DataFusionStubSettings; @@ -47,9 +46,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -78,7 +77,8 @@ public class DataFusionSettings extends ClientSettings { /** Returns the object with the settings used for calls to listAvailableVersions. */ public PagedCallSettings< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return ((DataFusionStubSettings) getStubSettings()).listAvailableVersionsSettings(); @@ -255,7 +255,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listAvailableVersions. */ public PagedCallSettings.Builder< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return getStubSettingsBuilder().listAvailableVersionsSettings(); diff --git a/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/gapic_metadata.json b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/gapic_metadata.json rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/package-info.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/package-info.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStub.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStub.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStub.java diff --git a/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java similarity index 97% rename from owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java index 62cb1385..5f437809 100644 --- a/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java +++ b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java @@ -78,9 +78,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -111,7 +111,8 @@ public class DataFusionStubSettings extends StubSettings ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); private final PagedCallSettings< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings; private final PagedCallSettings< @@ -208,11 +209,13 @@ public Iterable extractResources(ListInstancesResponse payload) { }; private static final PagedListResponseFactory< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> LIST_AVAILABLE_VERSIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -247,7 +250,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listAvailableVersions. */ public PagedCallSettings< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return listAvailableVersionsSettings; @@ -431,7 +435,8 @@ protected DataFusionStubSettings(Builder settingsBuilder) throws IOException { public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; private final PagedCallSettings.Builder< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings; private final PagedCallSettings.Builder< @@ -717,7 +722,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listAvailableVersions. */ public PagedCallSettings.Builder< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return listAvailableVersionsSettings; diff --git a/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionCallableFactory.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionCallableFactory.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java index da3639e2..cd585725 100644 --- a/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java +++ b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java @@ -44,7 +44,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/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionCallableFactory.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionCallableFactory.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionStub.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionStub.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionStub.java index 8a81d547..5d409d58 100644 --- a/owl-bot-staging/v1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionStub.java +++ b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/HttpJsonDataFusionStub.java @@ -31,7 +31,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java similarity index 98% rename from owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java index 99db2555..2ccdfb7f 100644 --- a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java +++ b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java @@ -66,13 +66,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. *
* @@ -1623,8 +1623,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListAvailableVersionsPagedResponse extends AbstractPagedListResponse< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, - ListAvailableVersionsPage, ListAvailableVersionsFixedSizeCollection> { + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, + Version, + ListAvailableVersionsPage, + ListAvailableVersionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -1644,7 +1647,9 @@ private ListAvailableVersionsPagedResponse(ListAvailableVersionsPage page) { public static class ListAvailableVersionsPage extends AbstractPage< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, + Version, ListAvailableVersionsPage> { private ListAvailableVersionsPage( @@ -1674,8 +1679,11 @@ public ApiFuture createPageAsync( public static class ListAvailableVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, - ListAvailableVersionsPage, ListAvailableVersionsFixedSizeCollection> { + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, + Version, + ListAvailableVersionsPage, + ListAvailableVersionsFixedSizeCollection> { private ListAvailableVersionsFixedSizeCollection( List pages, int collectionSize) { @@ -1695,7 +1703,10 @@ protected ListAvailableVersionsFixedSizeCollection createCollection( public static class ListInstancesPagedResponse extends AbstractPagedListResponse< - ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage, + ListInstancesRequest, + ListInstancesResponse, + Instance, + ListInstancesPage, ListInstancesFixedSizeCollection> { public static ApiFuture createAsync( @@ -1745,7 +1756,10 @@ public ApiFuture createPageAsync( public static class ListInstancesFixedSizeCollection extends AbstractFixedSizeCollection< - ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage, + ListInstancesRequest, + ListInstancesResponse, + Instance, + ListInstancesPage, ListInstancesFixedSizeCollection> { private ListInstancesFixedSizeCollection(List pages, int collectionSize) { @@ -1765,7 +1779,10 @@ protected ListInstancesFixedSizeCollection createCollection( public static class ListNamespacesPagedResponse extends AbstractPagedListResponse< - ListNamespacesRequest, ListNamespacesResponse, Namespace, ListNamespacesPage, + ListNamespacesRequest, + ListNamespacesResponse, + Namespace, + ListNamespacesPage, ListNamespacesFixedSizeCollection> { public static ApiFuture createAsync( @@ -1815,7 +1832,10 @@ public ApiFuture createPageAsync( public static class ListNamespacesFixedSizeCollection extends AbstractFixedSizeCollection< - ListNamespacesRequest, ListNamespacesResponse, Namespace, ListNamespacesPage, + ListNamespacesRequest, + ListNamespacesResponse, + Namespace, + ListNamespacesPage, ListNamespacesFixedSizeCollection> { private ListNamespacesFixedSizeCollection(List pages, int collectionSize) { @@ -1835,7 +1855,10 @@ protected ListNamespacesFixedSizeCollection createCollection( public static class ListDnsPeeringsPagedResponse extends AbstractPagedListResponse< - ListDnsPeeringsRequest, ListDnsPeeringsResponse, DnsPeering, ListDnsPeeringsPage, + ListDnsPeeringsRequest, + ListDnsPeeringsResponse, + DnsPeering, + ListDnsPeeringsPage, ListDnsPeeringsFixedSizeCollection> { public static ApiFuture createAsync( @@ -1885,7 +1908,10 @@ public ApiFuture createPageAsync( public static class ListDnsPeeringsFixedSizeCollection extends AbstractFixedSizeCollection< - ListDnsPeeringsRequest, ListDnsPeeringsResponse, DnsPeering, ListDnsPeeringsPage, + ListDnsPeeringsRequest, + ListDnsPeeringsResponse, + DnsPeering, + ListDnsPeeringsPage, ListDnsPeeringsFixedSizeCollection> { private ListDnsPeeringsFixedSizeCollection( diff --git a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java similarity index 97% rename from owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java index c215aed0..b918f4c9 100644 --- a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java +++ b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java @@ -32,7 +32,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.datafusion.v1beta1.stub.DataFusionStubSettings; @@ -49,9 +48,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -81,7 +80,8 @@ public class DataFusionSettings extends ClientSettings { /** Returns the object with the settings used for calls to listAvailableVersions. */ public PagedCallSettings< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return ((DataFusionStubSettings) getStubSettings()).listAvailableVersionsSettings(); @@ -300,7 +300,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listAvailableVersions. */ public PagedCallSettings.Builder< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return getStubSettingsBuilder().listAvailableVersionsSettings(); diff --git a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/gapic_metadata.json b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/gapic_metadata.json rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/gapic_metadata.json diff --git a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/package-info.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/package-info.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/package-info.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/package-info.java diff --git a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStub.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStub.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStub.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStub.java diff --git a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java similarity index 98% rename from owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java index 0484e37c..c8797b46 100644 --- a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java +++ b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java @@ -93,9 +93,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -127,7 +127,8 @@ public class DataFusionStubSettings extends StubSettings ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); private final PagedCallSettings< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings; private final PagedCallSettings< @@ -315,11 +316,13 @@ public Iterable extractResources(ListDnsPeeringsResponse payload) { }; private static final PagedListResponseFactory< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> LIST_AVAILABLE_VERSIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -388,7 +391,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listAvailableVersions. */ public PagedCallSettings< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return listAvailableVersionsSettings; @@ -621,7 +625,8 @@ protected DataFusionStubSettings(Builder settingsBuilder) throws IOException { public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; private final PagedCallSettings.Builder< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings; private final PagedCallSettings.Builder< @@ -1003,7 +1008,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listAvailableVersions. */ public PagedCallSettings.Builder< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, ListAvailableVersionsPagedResponse> listAvailableVersionsSettings() { return listAvailableVersionsSettings; diff --git a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionCallableFactory.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionCallableFactory.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionCallableFactory.java diff --git a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java similarity index 99% rename from owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java index 551c26b1..6c37e3e6 100644 --- a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java +++ b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java @@ -58,7 +58,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/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionCallableFactory.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionCallableFactory.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionCallableFactory.java diff --git a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionStub.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionStub.java similarity index 99% rename from owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionStub.java rename to google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionStub.java index 56a254f1..d992c86c 100644 --- a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionStub.java +++ b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/HttpJsonDataFusionStub.java @@ -33,7 +33,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientHttpJsonTest.java b/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientHttpJsonTest.java rename to google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientTest.java b/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientTest.java rename to google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusion.java b/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusion.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusion.java rename to google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusion.java diff --git a/owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusionImpl.java b/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusionImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusionImpl.java rename to google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusionImpl.java diff --git a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientHttpJsonTest.java b/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientHttpJsonTest.java rename to google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientHttpJsonTest.java diff --git a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientTest.java b/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientTest.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientTest.java rename to google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientTest.java diff --git a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusion.java b/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusion.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusion.java rename to google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusion.java diff --git a/owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusionImpl.java b/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusionImpl.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusionImpl.java rename to google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusionImpl.java diff --git a/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java b/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java new file mode 100644 index 00000000..1176d3f4 --- /dev/null +++ b/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java @@ -0,0 +1,1062 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.datafusion.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * Service for creating and managing Data Fusion instances.
+ * Data Fusion enables ETL developers to build code-free, data integration
+ * pipelines via a point-and-click UI.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/datafusion/v1/datafusion.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataFusionGrpc { + + private DataFusionGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.datafusion.v1.DataFusion"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest, + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse> + getListAvailableVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAvailableVersions", + requestType = com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.class, + responseType = com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest, + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse> + getListAvailableVersionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest, + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse> + getListAvailableVersionsMethod; + if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) + == null) { + DataFusionGrpc.getListAvailableVersionsMethod = + getListAvailableVersionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListAvailableVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataFusionMethodDescriptorSupplier("ListAvailableVersions")) + .build(); + } + } + } + return getListAvailableVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.ListInstancesRequest, + com.google.cloud.datafusion.v1.ListInstancesResponse> + getListInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstances", + requestType = com.google.cloud.datafusion.v1.ListInstancesRequest.class, + responseType = com.google.cloud.datafusion.v1.ListInstancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.ListInstancesRequest, + com.google.cloud.datafusion.v1.ListInstancesResponse> + getListInstancesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.ListInstancesRequest, + com.google.cloud.datafusion.v1.ListInstancesResponse> + getListInstancesMethod; + if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { + DataFusionGrpc.getListInstancesMethod = + getListInstancesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.ListInstancesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.ListInstancesResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListInstances")) + .build(); + } + } + } + return getListInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.GetInstanceRequest, + com.google.cloud.datafusion.v1.Instance> + getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.cloud.datafusion.v1.GetInstanceRequest.class, + responseType = com.google.cloud.datafusion.v1.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.GetInstanceRequest, + com.google.cloud.datafusion.v1.Instance> + getGetInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.GetInstanceRequest, + com.google.cloud.datafusion.v1.Instance> + getGetInstanceMethod; + if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { + DataFusionGrpc.getGetInstanceMethod = + getGetInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.GetInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.Instance.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.CreateInstanceRequest, com.google.longrunning.Operation> + getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.cloud.datafusion.v1.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.CreateInstanceRequest, com.google.longrunning.Operation> + getCreateInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.CreateInstanceRequest, com.google.longrunning.Operation> + getCreateInstanceMethod; + if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { + DataFusionGrpc.getCreateInstanceMethod = + getCreateInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.CreateInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.DeleteInstanceRequest, com.google.longrunning.Operation> + getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.cloud.datafusion.v1.DeleteInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.DeleteInstanceRequest, com.google.longrunning.Operation> + getDeleteInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.DeleteInstanceRequest, com.google.longrunning.Operation> + getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { + DataFusionGrpc.getDeleteInstanceMethod = + getDeleteInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.DeleteInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.UpdateInstanceRequest, com.google.longrunning.Operation> + getUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", + requestType = com.google.cloud.datafusion.v1.UpdateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.UpdateInstanceRequest, com.google.longrunning.Operation> + getUpdateInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.UpdateInstanceRequest, com.google.longrunning.Operation> + getUpdateInstanceMethod; + if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { + DataFusionGrpc.getUpdateInstanceMethod = + getUpdateInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.UpdateInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("UpdateInstance")) + .build(); + } + } + } + return getUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.RestartInstanceRequest, com.google.longrunning.Operation> + getRestartInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestartInstance", + requestType = com.google.cloud.datafusion.v1.RestartInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.RestartInstanceRequest, com.google.longrunning.Operation> + getRestartInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1.RestartInstanceRequest, com.google.longrunning.Operation> + getRestartInstanceMethod; + if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { + DataFusionGrpc.getRestartInstanceMethod = + getRestartInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1.RestartInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataFusionMethodDescriptorSupplier("RestartInstance")) + .build(); + } + } + } + return getRestartInstanceMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static DataFusionStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataFusionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionStub(channel, callOptions); + } + }; + return DataFusionStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataFusionBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataFusionBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionBlockingStub(channel, callOptions); + } + }; + return DataFusionBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static DataFusionFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataFusionFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionFutureStub(channel, callOptions); + } + }; + return DataFusionFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public abstract static class DataFusionImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public void listAvailableVersions( + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAvailableVersionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public void listInstances( + com.google.cloud.datafusion.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInstancesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public void getInstance( + com.google.cloud.datafusion.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public void createInstance( + com.google.cloud.datafusion.v1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Date Fusion instance.
+     * 
+ */ + public void deleteInstance( + com.google.cloud.datafusion.v1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public void updateInstance( + com.google.cloud.datafusion.v1.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public void restartInstance( + com.google.cloud.datafusion.v1.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRestartInstanceMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListAvailableVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest, + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse>( + this, METHODID_LIST_AVAILABLE_VERSIONS))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1.ListInstancesRequest, + com.google.cloud.datafusion.v1.ListInstancesResponse>( + this, METHODID_LIST_INSTANCES))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1.GetInstanceRequest, + com.google.cloud.datafusion.v1.Instance>(this, METHODID_GET_INSTANCE))) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1.CreateInstanceRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1.DeleteInstanceRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_INSTANCE))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1.UpdateInstanceRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_INSTANCE))) + .addMethod( + getRestartInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1.RestartInstanceRequest, + com.google.longrunning.Operation>(this, METHODID_RESTART_INSTANCE))) + .build(); + } + } + + /** + * + * + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public static final class DataFusionStub extends io.grpc.stub.AbstractAsyncStub { + private DataFusionStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataFusionStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public void listAvailableVersions( + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public void listInstances( + com.google.cloud.datafusion.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public void getInstance( + com.google.cloud.datafusion.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public void createInstance( + com.google.cloud.datafusion.v1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Date Fusion instance.
+     * 
+ */ + public void deleteInstance( + com.google.cloud.datafusion.v1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public void updateInstance( + com.google.cloud.datafusion.v1.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public void restartInstance( + com.google.cloud.datafusion.v1.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public static final class DataFusionBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataFusionBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataFusionBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse listAvailableVersions( + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAvailableVersionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public com.google.cloud.datafusion.v1.ListInstancesResponse listInstances( + com.google.cloud.datafusion.v1.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public com.google.cloud.datafusion.v1.Instance getInstance( + com.google.cloud.datafusion.v1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public com.google.longrunning.Operation createInstance( + com.google.cloud.datafusion.v1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Date Fusion instance.
+     * 
+ */ + public com.google.longrunning.Operation deleteInstance( + com.google.cloud.datafusion.v1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public com.google.longrunning.Operation updateInstance( + com.google.cloud.datafusion.v1.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public com.google.longrunning.Operation restartInstance( + com.google.cloud.datafusion.v1.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestartInstanceMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public static final class DataFusionFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataFusionFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataFusionFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse> + listAvailableVersions(com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datafusion.v1.ListInstancesResponse> + listInstances(com.google.cloud.datafusion.v1.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datafusion.v1.Instance> + getInstance(com.google.cloud.datafusion.v1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createInstance(com.google.cloud.datafusion.v1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Date Fusion instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteInstance(com.google.cloud.datafusion.v1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateInstance(com.google.cloud.datafusion.v1.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + restartInstance(com.google.cloud.datafusion.v1.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_AVAILABLE_VERSIONS = 0; + private static final int METHODID_LIST_INSTANCES = 1; + private static final int METHODID_GET_INSTANCE = 2; + private static final int METHODID_CREATE_INSTANCE = 3; + private static final int METHODID_DELETE_INSTANCE = 4; + private static final int METHODID_UPDATE_INSTANCE = 5; + private static final int METHODID_RESTART_INSTANCE = 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 DataFusionImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DataFusionImplBase 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_LIST_AVAILABLE_VERSIONS: + serviceImpl.listAvailableVersions( + (com.google.cloud.datafusion.v1.ListAvailableVersionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse>) + responseObserver); + break; + case METHODID_LIST_INSTANCES: + serviceImpl.listInstances( + (com.google.cloud.datafusion.v1.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance( + (com.google.cloud.datafusion.v1.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_INSTANCE: + serviceImpl.createInstance( + (com.google.cloud.datafusion.v1.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance( + (com.google.cloud.datafusion.v1.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INSTANCE: + serviceImpl.updateInstance( + (com.google.cloud.datafusion.v1.UpdateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTART_INSTANCE: + serviceImpl.restartInstance( + (com.google.cloud.datafusion.v1.RestartInstanceRequest) 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 abstract static class DataFusionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataFusionBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataFusion"); + } + } + + private static final class DataFusionFileDescriptorSupplier + extends DataFusionBaseDescriptorSupplier { + DataFusionFileDescriptorSupplier() {} + } + + private static final class DataFusionMethodDescriptorSupplier + extends DataFusionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DataFusionMethodDescriptorSupplier(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 (DataFusionGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataFusionFileDescriptorSupplier()) + .addMethod(getListAvailableVersionsMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getRestartInstanceMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java b/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java new file mode 100644 index 00000000..d25baf58 --- /dev/null +++ b/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java @@ -0,0 +1,1807 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.datafusion.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Service for creating and managing Data Fusion instances.
+ * Data Fusion enables ETL developers to build code-free, data integration
+ * pipelines via a point-and-click UI.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/datafusion/v1beta1/v1beta1.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataFusionGrpc { + + private DataFusionGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.datafusion.v1beta1.DataFusion"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest, + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse> + getListAvailableVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAvailableVersions", + requestType = com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest, + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse> + getListAvailableVersionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest, + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse> + getListAvailableVersionsMethod; + if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) + == null) { + DataFusionGrpc.getListAvailableVersionsMethod = + getListAvailableVersionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListAvailableVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataFusionMethodDescriptorSupplier("ListAvailableVersions")) + .build(); + } + } + } + return getListAvailableVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.ListInstancesRequest, + com.google.cloud.datafusion.v1beta1.ListInstancesResponse> + getListInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstances", + requestType = com.google.cloud.datafusion.v1beta1.ListInstancesRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.ListInstancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.ListInstancesRequest, + com.google.cloud.datafusion.v1beta1.ListInstancesResponse> + getListInstancesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.ListInstancesRequest, + com.google.cloud.datafusion.v1beta1.ListInstancesResponse> + getListInstancesMethod; + if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { + DataFusionGrpc.getListInstancesMethod = + getListInstancesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListInstancesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListInstancesResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListInstances")) + .build(); + } + } + } + return getListInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.GetInstanceRequest, + com.google.cloud.datafusion.v1beta1.Instance> + getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.cloud.datafusion.v1beta1.GetInstanceRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.GetInstanceRequest, + com.google.cloud.datafusion.v1beta1.Instance> + getGetInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.GetInstanceRequest, + com.google.cloud.datafusion.v1beta1.Instance> + getGetInstanceMethod; + if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { + DataFusionGrpc.getGetInstanceMethod = + getGetInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.GetInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest, + com.google.longrunning.Operation> + getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest, + com.google.longrunning.Operation> + getCreateInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest, + com.google.longrunning.Operation> + getCreateInstanceMethod; + if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { + DataFusionGrpc.getCreateInstanceMethod = + getCreateInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest, + com.google.longrunning.Operation> + getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest, + com.google.longrunning.Operation> + getDeleteInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest, + com.google.longrunning.Operation> + getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { + DataFusionGrpc.getDeleteInstanceMethod = + getDeleteInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest, + com.google.longrunning.Operation> + getUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", + requestType = com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest, + com.google.longrunning.Operation> + getUpdateInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest, + com.google.longrunning.Operation> + getUpdateInstanceMethod; + if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { + DataFusionGrpc.getUpdateInstanceMethod = + getUpdateInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("UpdateInstance")) + .build(); + } + } + } + return getUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest, + com.google.longrunning.Operation> + getRestartInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestartInstance", + requestType = com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest, + com.google.longrunning.Operation> + getRestartInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest, + com.google.longrunning.Operation> + getRestartInstanceMethod; + if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { + DataFusionGrpc.getRestartInstanceMethod = + getRestartInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataFusionMethodDescriptorSupplier("RestartInstance")) + .build(); + } + } + } + return getRestartInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest, + com.google.longrunning.Operation> + getUpgradeInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpgradeInstance", + requestType = com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest, + com.google.longrunning.Operation> + getUpgradeInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest, + com.google.longrunning.Operation> + getUpgradeInstanceMethod; + if ((getUpgradeInstanceMethod = DataFusionGrpc.getUpgradeInstanceMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getUpgradeInstanceMethod = DataFusionGrpc.getUpgradeInstanceMethod) == null) { + DataFusionGrpc.getUpgradeInstanceMethod = + getUpgradeInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpgradeInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataFusionMethodDescriptorSupplier("UpgradeInstance")) + .build(); + } + } + } + return getUpgradeInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest, + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse> + getRemoveIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveIamPolicy", + requestType = com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest, + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse> + getRemoveIamPolicyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest, + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse> + getRemoveIamPolicyMethod; + if ((getRemoveIamPolicyMethod = DataFusionGrpc.getRemoveIamPolicyMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getRemoveIamPolicyMethod = DataFusionGrpc.getRemoveIamPolicyMethod) == null) { + DataFusionGrpc.getRemoveIamPolicyMethod = + getRemoveIamPolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataFusionMethodDescriptorSupplier("RemoveIamPolicy")) + .build(); + } + } + } + return getRemoveIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest, + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse> + getListNamespacesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNamespaces", + requestType = com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest, + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse> + getListNamespacesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest, + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse> + getListNamespacesMethod; + if ((getListNamespacesMethod = DataFusionGrpc.getListNamespacesMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getListNamespacesMethod = DataFusionGrpc.getListNamespacesMethod) == null) { + DataFusionGrpc.getListNamespacesMethod = + getListNamespacesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNamespaces")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListNamespaces")) + .build(); + } + } + } + return getListNamespacesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest, + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse> + getAddDnsPeeringMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AddDnsPeering", + requestType = com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest, + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse> + getAddDnsPeeringMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest, + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse> + getAddDnsPeeringMethod; + if ((getAddDnsPeeringMethod = DataFusionGrpc.getAddDnsPeeringMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getAddDnsPeeringMethod = DataFusionGrpc.getAddDnsPeeringMethod) == null) { + DataFusionGrpc.getAddDnsPeeringMethod = + getAddDnsPeeringMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AddDnsPeering")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("AddDnsPeering")) + .build(); + } + } + } + return getAddDnsPeeringMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest, + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse> + getRemoveDnsPeeringMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveDnsPeering", + requestType = com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest, + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse> + getRemoveDnsPeeringMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest, + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse> + getRemoveDnsPeeringMethod; + if ((getRemoveDnsPeeringMethod = DataFusionGrpc.getRemoveDnsPeeringMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getRemoveDnsPeeringMethod = DataFusionGrpc.getRemoveDnsPeeringMethod) == null) { + DataFusionGrpc.getRemoveDnsPeeringMethod = + getRemoveDnsPeeringMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveDnsPeering")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataFusionMethodDescriptorSupplier("RemoveDnsPeering")) + .build(); + } + } + } + return getRemoveDnsPeeringMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest, + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse> + getListDnsPeeringsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDnsPeerings", + requestType = com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.class, + responseType = com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest, + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse> + getListDnsPeeringsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest, + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse> + getListDnsPeeringsMethod; + if ((getListDnsPeeringsMethod = DataFusionGrpc.getListDnsPeeringsMethod) == null) { + synchronized (DataFusionGrpc.class) { + if ((getListDnsPeeringsMethod = DataFusionGrpc.getListDnsPeeringsMethod) == null) { + DataFusionGrpc.getListDnsPeeringsMethod = + getListDnsPeeringsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDnsPeerings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataFusionMethodDescriptorSupplier("ListDnsPeerings")) + .build(); + } + } + } + return getListDnsPeeringsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static DataFusionStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataFusionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionStub(channel, callOptions); + } + }; + return DataFusionStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataFusionBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataFusionBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionBlockingStub(channel, callOptions); + } + }; + return DataFusionBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static DataFusionFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataFusionFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionFutureStub(channel, callOptions); + } + }; + return DataFusionFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public abstract static class DataFusionImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public void listAvailableVersions( + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAvailableVersionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public void listInstances( + com.google.cloud.datafusion.v1beta1.ListInstancesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInstancesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public void getInstance( + com.google.cloud.datafusion.v1beta1.GetInstanceRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public void createInstance( + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Data Fusion instance.
+     * 
+ */ + public void deleteInstance( + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public void updateInstance( + com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public void restartInstance( + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRestartInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Upgrade a single Data Fusion instance.
+     * At the end of an operation instance is fully upgraded.
+     * 
+ */ + public void upgradeInstance( + com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpgradeInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Remove IAM policy that is currently set on the given resource.
+     * 
+ */ + public void removeIamPolicy( + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRemoveIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * List namespaces in a given instance
+     * 
+ */ + public void listNamespaces( + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListNamespacesMethod(), responseObserver); + } + + /** + * + * + *
+     * Add DNS peering on the given resource.
+     * 
+ */ + public void addDnsPeering( + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAddDnsPeeringMethod(), responseObserver); + } + + /** + * + * + *
+     * Remove DNS peering on the given resource.
+     * 
+ */ + public void removeDnsPeering( + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRemoveDnsPeeringMethod(), responseObserver); + } + + /** + * + * + *
+     * List DNS peering for a given resource.
+     * 
+ */ + public void listDnsPeerings( + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDnsPeeringsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListAvailableVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest, + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse>( + this, METHODID_LIST_AVAILABLE_VERSIONS))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.ListInstancesRequest, + com.google.cloud.datafusion.v1beta1.ListInstancesResponse>( + this, METHODID_LIST_INSTANCES))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.GetInstanceRequest, + com.google.cloud.datafusion.v1beta1.Instance>(this, METHODID_GET_INSTANCE))) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_INSTANCE))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_INSTANCE))) + .addMethod( + getRestartInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest, + com.google.longrunning.Operation>(this, METHODID_RESTART_INSTANCE))) + .addMethod( + getUpgradeInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest, + com.google.longrunning.Operation>(this, METHODID_UPGRADE_INSTANCE))) + .addMethod( + getRemoveIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest, + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse>( + this, METHODID_REMOVE_IAM_POLICY))) + .addMethod( + getListNamespacesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest, + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse>( + this, METHODID_LIST_NAMESPACES))) + .addMethod( + getAddDnsPeeringMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest, + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse>( + this, METHODID_ADD_DNS_PEERING))) + .addMethod( + getRemoveDnsPeeringMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest, + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse>( + this, METHODID_REMOVE_DNS_PEERING))) + .addMethod( + getListDnsPeeringsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest, + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse>( + this, METHODID_LIST_DNS_PEERINGS))) + .build(); + } + } + + /** + * + * + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public static final class DataFusionStub extends io.grpc.stub.AbstractAsyncStub { + private DataFusionStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataFusionStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public void listAvailableVersions( + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public void listInstances( + com.google.cloud.datafusion.v1beta1.ListInstancesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public void getInstance( + com.google.cloud.datafusion.v1beta1.GetInstanceRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public void createInstance( + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Data Fusion instance.
+     * 
+ */ + public void deleteInstance( + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public void updateInstance( + com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public void restartInstance( + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Upgrade a single Data Fusion instance.
+     * At the end of an operation instance is fully upgraded.
+     * 
+ */ + public void upgradeInstance( + com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpgradeInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Remove IAM policy that is currently set on the given resource.
+     * 
+ */ + public void removeIamPolicy( + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List namespaces in a given instance
+     * 
+ */ + public void listNamespaces( + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNamespacesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Add DNS peering on the given resource.
+     * 
+ */ + public void addDnsPeering( + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAddDnsPeeringMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Remove DNS peering on the given resource.
+     * 
+ */ + public void removeDnsPeering( + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveDnsPeeringMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List DNS peering for a given resource.
+     * 
+ */ + public void listDnsPeerings( + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDnsPeeringsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public static final class DataFusionBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataFusionBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataFusionBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse listAvailableVersions( + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAvailableVersionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.ListInstancesResponse listInstances( + com.google.cloud.datafusion.v1beta1.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.Instance getInstance( + com.google.cloud.datafusion.v1beta1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public com.google.longrunning.Operation createInstance( + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Data Fusion instance.
+     * 
+ */ + public com.google.longrunning.Operation deleteInstance( + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public com.google.longrunning.Operation updateInstance( + com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public com.google.longrunning.Operation restartInstance( + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestartInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Upgrade a single Data Fusion instance.
+     * At the end of an operation instance is fully upgraded.
+     * 
+ */ + public com.google.longrunning.Operation upgradeInstance( + com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpgradeInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Remove IAM policy that is currently set on the given resource.
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse removeIamPolicy( + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List namespaces in a given instance
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.ListNamespacesResponse listNamespaces( + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNamespacesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Add DNS peering on the given resource.
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse addDnsPeering( + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAddDnsPeeringMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Remove DNS peering on the given resource.
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse removeDnsPeering( + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveDnsPeeringMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List DNS peering for a given resource.
+     * 
+ */ + public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse listDnsPeerings( + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDnsPeeringsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Service for creating and managing Data Fusion instances.
+   * Data Fusion enables ETL developers to build code-free, data integration
+   * pipelines via a point-and-click UI.
+   * 
+ */ + public static final class DataFusionFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataFusionFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataFusionFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataFusionFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists possible versions for Data Fusion instances in the specified project
+     * and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse> + listAvailableVersions( + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Data Fusion instances in the specified project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datafusion.v1beta1.ListInstancesResponse> + listInstances(com.google.cloud.datafusion.v1beta1.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Data Fusion instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datafusion.v1beta1.Instance> + getInstance(com.google.cloud.datafusion.v1beta1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Data Fusion instance in the specified project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createInstance(com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Data Fusion instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteInstance(com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a single Data Fusion instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateInstance(com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Restart a single Data Fusion instance.
+     * At the end of an operation instance is fully restarted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + restartInstance(com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Upgrade a single Data Fusion instance.
+     * At the end of an operation instance is fully upgraded.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + upgradeInstance(com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpgradeInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Remove IAM policy that is currently set on the given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse> + removeIamPolicy(com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List namespaces in a given instance
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse> + listNamespaces(com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNamespacesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Add DNS peering on the given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse> + addDnsPeering(com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAddDnsPeeringMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Remove DNS peering on the given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse> + removeDnsPeering(com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveDnsPeeringMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List DNS peering for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse> + listDnsPeerings(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDnsPeeringsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_AVAILABLE_VERSIONS = 0; + private static final int METHODID_LIST_INSTANCES = 1; + private static final int METHODID_GET_INSTANCE = 2; + private static final int METHODID_CREATE_INSTANCE = 3; + private static final int METHODID_DELETE_INSTANCE = 4; + private static final int METHODID_UPDATE_INSTANCE = 5; + private static final int METHODID_RESTART_INSTANCE = 6; + private static final int METHODID_UPGRADE_INSTANCE = 7; + private static final int METHODID_REMOVE_IAM_POLICY = 8; + private static final int METHODID_LIST_NAMESPACES = 9; + private static final int METHODID_ADD_DNS_PEERING = 10; + private static final int METHODID_REMOVE_DNS_PEERING = 11; + private static final int METHODID_LIST_DNS_PEERINGS = 12; + + 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 DataFusionImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DataFusionImplBase 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_LIST_AVAILABLE_VERSIONS: + serviceImpl.listAvailableVersions( + (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse>) + responseObserver); + break; + case METHODID_LIST_INSTANCES: + serviceImpl.listInstances( + (com.google.cloud.datafusion.v1beta1.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datafusion.v1beta1.ListInstancesResponse>) + responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance( + (com.google.cloud.datafusion.v1beta1.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_INSTANCE: + serviceImpl.createInstance( + (com.google.cloud.datafusion.v1beta1.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance( + (com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INSTANCE: + serviceImpl.updateInstance( + (com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTART_INSTANCE: + serviceImpl.restartInstance( + (com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPGRADE_INSTANCE: + serviceImpl.upgradeInstance( + (com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REMOVE_IAM_POLICY: + serviceImpl.removeIamPolicy( + (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse>) + responseObserver); + break; + case METHODID_LIST_NAMESPACES: + serviceImpl.listNamespaces( + (com.google.cloud.datafusion.v1beta1.ListNamespacesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse>) + responseObserver); + break; + case METHODID_ADD_DNS_PEERING: + serviceImpl.addDnsPeering( + (com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse>) + responseObserver); + break; + case METHODID_REMOVE_DNS_PEERING: + serviceImpl.removeDnsPeering( + (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse>) + responseObserver); + break; + case METHODID_LIST_DNS_PEERINGS: + serviceImpl.listDnsPeerings( + (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse>) + 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 DataFusionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataFusionBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataFusion"); + } + } + + private static final class DataFusionFileDescriptorSupplier + extends DataFusionBaseDescriptorSupplier { + DataFusionFileDescriptorSupplier() {} + } + + private static final class DataFusionMethodDescriptorSupplier + extends DataFusionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DataFusionMethodDescriptorSupplier(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 (DataFusionGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataFusionFileDescriptorSupplier()) + .addMethod(getListAvailableVersionsMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getRestartInstanceMethod()) + .addMethod(getUpgradeInstanceMethod()) + .addMethod(getRemoveIamPolicyMethod()) + .addMethod(getListNamespacesMethod()) + .addMethod(getAddDnsPeeringMethod()) + .addMethod(getRemoveDnsPeeringMethod()) + .addMethod(getListDnsPeeringsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java deleted file mode 100644 index d4283a37..00000000 --- a/owl-bot-staging/v1/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java +++ /dev/null @@ -1,837 +0,0 @@ -package com.google.cloud.datafusion.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Service for creating and managing Data Fusion instances.
- * Data Fusion enables ETL developers to build code-free, data integration
- * pipelines via a point-and-click UI.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/datafusion/v1/datafusion.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataFusionGrpc { - - private DataFusionGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.datafusion.v1.DataFusion"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListAvailableVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAvailableVersions", - requestType = com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.class, - responseType = com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAvailableVersionsMethod() { - io.grpc.MethodDescriptor getListAvailableVersionsMethod; - if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) == null) { - DataFusionGrpc.getListAvailableVersionsMethod = getListAvailableVersionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAvailableVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListAvailableVersions")) - .build(); - } - } - } - return getListAvailableVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstances", - requestType = com.google.cloud.datafusion.v1.ListInstancesRequest.class, - responseType = com.google.cloud.datafusion.v1.ListInstancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListInstancesMethod() { - io.grpc.MethodDescriptor getListInstancesMethod; - if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { - DataFusionGrpc.getListInstancesMethod = getListInstancesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.ListInstancesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.ListInstancesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListInstances")) - .build(); - } - } - } - return getListInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstance", - requestType = com.google.cloud.datafusion.v1.GetInstanceRequest.class, - responseType = com.google.cloud.datafusion.v1.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetInstanceMethod() { - io.grpc.MethodDescriptor getGetInstanceMethod; - if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { - DataFusionGrpc.getGetInstanceMethod = getGetInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.GetInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.Instance.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("GetInstance")) - .build(); - } - } - } - return getGetInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInstance", - requestType = com.google.cloud.datafusion.v1.CreateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateInstanceMethod() { - io.grpc.MethodDescriptor getCreateInstanceMethod; - if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { - DataFusionGrpc.getCreateInstanceMethod = getCreateInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.CreateInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("CreateInstance")) - .build(); - } - } - } - return getCreateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", - requestType = com.google.cloud.datafusion.v1.DeleteInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { - io.grpc.MethodDescriptor getDeleteInstanceMethod; - if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { - DataFusionGrpc.getDeleteInstanceMethod = getDeleteInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.DeleteInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("DeleteInstance")) - .build(); - } - } - } - return getDeleteInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", - requestType = com.google.cloud.datafusion.v1.UpdateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateInstanceMethod() { - io.grpc.MethodDescriptor getUpdateInstanceMethod; - if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { - DataFusionGrpc.getUpdateInstanceMethod = getUpdateInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.UpdateInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("UpdateInstance")) - .build(); - } - } - } - return getUpdateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getRestartInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestartInstance", - requestType = com.google.cloud.datafusion.v1.RestartInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRestartInstanceMethod() { - io.grpc.MethodDescriptor getRestartInstanceMethod; - if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { - DataFusionGrpc.getRestartInstanceMethod = getRestartInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1.RestartInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("RestartInstance")) - .build(); - } - } - } - return getRestartInstanceMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static DataFusionStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataFusionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionStub(channel, callOptions); - } - }; - return DataFusionStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataFusionBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataFusionBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionBlockingStub(channel, callOptions); - } - }; - return DataFusionBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DataFusionFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataFusionFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionFutureStub(channel, callOptions); - } - }; - return DataFusionFutureStub.newStub(factory, channel); - } - - /** - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public static abstract class DataFusionImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public void listAvailableVersions(com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAvailableVersionsMethod(), responseObserver); - } - - /** - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public void listInstances(com.google.cloud.datafusion.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public void getInstance(com.google.cloud.datafusion.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); - } - - /** - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public void createInstance(com.google.cloud.datafusion.v1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Date Fusion instance.
-     * 
- */ - public void deleteInstance(com.google.cloud.datafusion.v1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); - } - - /** - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public void updateInstance(com.google.cloud.datafusion.v1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); - } - - /** - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public void restartInstance(com.google.cloud.datafusion.v1.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestartInstanceMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListAvailableVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest, - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse>( - this, METHODID_LIST_AVAILABLE_VERSIONS))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1.ListInstancesRequest, - com.google.cloud.datafusion.v1.ListInstancesResponse>( - this, METHODID_LIST_INSTANCES))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1.GetInstanceRequest, - com.google.cloud.datafusion.v1.Instance>( - this, METHODID_GET_INSTANCE))) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1.CreateInstanceRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1.DeleteInstanceRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_INSTANCE))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1.UpdateInstanceRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_INSTANCE))) - .addMethod( - getRestartInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1.RestartInstanceRequest, - com.google.longrunning.Operation>( - this, METHODID_RESTART_INSTANCE))) - .build(); - } - } - - /** - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public static final class DataFusionStub extends io.grpc.stub.AbstractAsyncStub { - private DataFusionStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataFusionStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionStub(channel, callOptions); - } - - /** - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public void listAvailableVersions(com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public void listInstances(com.google.cloud.datafusion.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public void getInstance(com.google.cloud.datafusion.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public void createInstance(com.google.cloud.datafusion.v1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Date Fusion instance.
-     * 
- */ - public void deleteInstance(com.google.cloud.datafusion.v1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public void updateInstance(com.google.cloud.datafusion.v1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public void restartInstance(com.google.cloud.datafusion.v1.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public static final class DataFusionBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private DataFusionBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataFusionBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse listAvailableVersions(com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAvailableVersionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public com.google.cloud.datafusion.v1.ListInstancesResponse listInstances(com.google.cloud.datafusion.v1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public com.google.cloud.datafusion.v1.Instance getInstance(com.google.cloud.datafusion.v1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public com.google.longrunning.Operation createInstance(com.google.cloud.datafusion.v1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Date Fusion instance.
-     * 
- */ - public com.google.longrunning.Operation deleteInstance(com.google.cloud.datafusion.v1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public com.google.longrunning.Operation updateInstance(com.google.cloud.datafusion.v1.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public com.google.longrunning.Operation restartInstance(com.google.cloud.datafusion.v1.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestartInstanceMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public static final class DataFusionFutureStub extends io.grpc.stub.AbstractFutureStub { - private DataFusionFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataFusionFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionFutureStub(channel, callOptions); - } - - /** - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAvailableVersions( - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listInstances( - com.google.cloud.datafusion.v1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getInstance( - com.google.cloud.datafusion.v1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createInstance( - com.google.cloud.datafusion.v1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Date Fusion instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteInstance( - com.google.cloud.datafusion.v1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateInstance( - com.google.cloud.datafusion.v1.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture restartInstance( - com.google.cloud.datafusion.v1.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_AVAILABLE_VERSIONS = 0; - private static final int METHODID_LIST_INSTANCES = 1; - private static final int METHODID_GET_INSTANCE = 2; - private static final int METHODID_CREATE_INSTANCE = 3; - private static final int METHODID_DELETE_INSTANCE = 4; - private static final int METHODID_UPDATE_INSTANCE = 5; - private static final int METHODID_RESTART_INSTANCE = 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 DataFusionImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DataFusionImplBase 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_LIST_AVAILABLE_VERSIONS: - serviceImpl.listAvailableVersions((com.google.cloud.datafusion.v1.ListAvailableVersionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INSTANCES: - serviceImpl.listInstances((com.google.cloud.datafusion.v1.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance((com.google.cloud.datafusion.v1.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance((com.google.cloud.datafusion.v1.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance((com.google.cloud.datafusion.v1.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance((com.google.cloud.datafusion.v1.UpdateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTART_INSTANCE: - serviceImpl.restartInstance((com.google.cloud.datafusion.v1.RestartInstanceRequest) 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 DataFusionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataFusionBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataFusion"); - } - } - - private static final class DataFusionFileDescriptorSupplier - extends DataFusionBaseDescriptorSupplier { - DataFusionFileDescriptorSupplier() {} - } - - private static final class DataFusionMethodDescriptorSupplier - extends DataFusionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DataFusionMethodDescriptorSupplier(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 (DataFusionGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataFusionFileDescriptorSupplier()) - .addMethod(getListAvailableVersionsMethod()) - .addMethod(getListInstancesMethod()) - .addMethod(getGetInstanceMethod()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getUpdateInstanceMethod()) - .addMethod(getRestartInstanceMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java deleted file mode 100644 index b4286254..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java +++ /dev/null @@ -1,411 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datafusion/v1/datafusion.proto - -package com.google.cloud.datafusion.v1; - -public final class Datafusion { - private Datafusion() {} - 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_datafusion_v1_NetworkConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_Version_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_Accelerator_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_Instance_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_Instance_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_Instance_OptionsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_Instance_OptionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1_OperationMetadata_AdditionalStatusEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1_OperationMetadata_AdditionalStatusEntry_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/datafusion/v1/datafusion." + - "proto\022\032google.cloud.datafusion.v1\032\034googl" + - "e/api/annotations.proto\032\027google/api/clie" + - "nt.proto\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032#google/lon" + - "grunning/operations.proto\032 google/protob" + - "uf/field_mask.proto\032\037google/protobuf/tim" + - "estamp.proto\"7\n\rNetworkConfig\022\017\n\007network" + - "\030\001 \001(\t\022\025\n\rip_allocation\030\002 \001(\t\"\335\001\n\007Versio" + - "n\022\026\n\016version_number\030\001 \001(\t\022\027\n\017default_ver" + - "sion\030\002 \001(\010\022\032\n\022available_features\030\003 \003(\t\0226" + - "\n\004type\030\004 \001(\0162(.google.cloud.datafusion.v" + - "1.Version.Type\"M\n\004Type\022\024\n\020TYPE_UNSPECIFI" + - "ED\020\000\022\020\n\014TYPE_PREVIEW\020\001\022\035\n\031TYPE_GENERAL_A" + - "VAILABILITY\020\002\"\307\002\n\013Accelerator\022Q\n\020acceler" + - "ator_type\030\001 \001(\01627.google.cloud.datafusio" + - "n.v1.Accelerator.AcceleratorType\022<\n\005stat" + - "e\030\002 \001(\0162-.google.cloud.datafusion.v1.Acc" + - "elerator.State\"_\n\017AcceleratorType\022 \n\034ACC" + - "ELERATOR_TYPE_UNSPECIFIED\020\000\022\007\n\003CDC\020\001\022\016\n\n" + - "HEALTHCARE\020\002\022\021\n\rCCAI_INSIGHTS\020\003\"F\n\005State" + - "\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010" + - "DISABLED\020\002\022\013\n\007UNKNOWN\020\003\"P\n\017CryptoKeyConf" + - "ig\022=\n\rkey_reference\030\001 \001(\tB&\372A#\n!cloudkms" + - ".googleapis.com/CryptoKey\"\322\r\n\010Instance\0228" + - "\n\004name\030\001 \001(\tB*\340A\003\372A$\n\"datafusion.googlea" + - "pis.com/Instance\022\023\n\013description\030\002 \001(\t\022<\n" + - "\004type\030\003 \001(\0162).google.cloud.datafusion.v1" + - ".Instance.TypeB\003\340A\002\022\"\n\032enable_stackdrive" + - "r_logging\030\004 \001(\010\022%\n\035enable_stackdriver_mo" + - "nitoring\030\005 \001(\010\022\030\n\020private_instance\030\006 \001(\010" + - "\022A\n\016network_config\030\007 \001(\0132).google.cloud." + - "datafusion.v1.NetworkConfig\022@\n\006labels\030\010 " + - "\003(\01320.google.cloud.datafusion.v1.Instanc" + - "e.LabelsEntry\022B\n\007options\030\t \003(\01321.google." + - "cloud.datafusion.v1.Instance.OptionsEntr" + - "y\0224\n\013create_time\030\n \001(\0132\032.google.protobuf" + - ".TimestampB\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.g" + - "oogle.protobuf.TimestampB\003\340A\003\022>\n\005state\030\014" + - " \001(\0162*.google.cloud.datafusion.v1.Instan" + - "ce.StateB\003\340A\003\022\032\n\rstate_message\030\r \001(\tB\003\340A" + - "\003\022\035\n\020service_endpoint\030\016 \001(\tB\003\340A\003\022\014\n\004zone" + - "\030\017 \001(\t\022\017\n\007version\030\020 \001(\t\022\036\n\017service_accou" + - "nt\030\021 \001(\tB\005\030\001\340A\003\022\024\n\014display_name\030\022 \001(\t\022>\n" + - "\021available_version\030\023 \003(\0132#.google.cloud." + - "datafusion.v1.Version\022\031\n\014api_endpoint\030\024 " + - "\001(\tB\003\340A\003\022\027\n\ngcs_bucket\030\025 \001(\tB\003\340A\003\022=\n\014acc" + - "elerators\030\026 \003(\0132\'.google.cloud.datafusio" + - "n.v1.Accelerator\022\037\n\022p4_service_account\030\027" + - " \001(\tB\003\340A\003\022\036\n\021tenant_project_id\030\030 \001(\tB\003\340A" + - "\003\022 \n\030dataproc_service_account\030\031 \001(\t\022\023\n\013e" + - "nable_rbac\030\033 \001(\010\022F\n\021crypto_key_config\030\034 " + - "\001(\0132+.google.cloud.datafusion.v1.CryptoK" + - "eyConfig\022Q\n\017disabled_reason\030\035 \003(\01623.goog" + - "le.cloud.datafusion.v1.Instance.Disabled" + - "ReasonB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + - "\r\n\005value\030\002 \001(\t:\0028\001\032.\n\014OptionsEntry\022\013\n\003ke" + - "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"F\n\004Type\022\024\n\020TY" + - "PE_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\016\n\nENTERPRIS" + - "E\020\002\022\r\n\tDEVELOPER\020\003\"\264\001\n\005State\022\025\n\021STATE_UN" + - "SPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006ACTIVE\020\002\022\n\n" + - "\006FAILED\020\003\022\014\n\010DELETING\020\004\022\r\n\tUPGRADING\020\005\022\016" + - "\n\nRESTARTING\020\006\022\014\n\010UPDATING\020\007\022\021\n\rAUTO_UPD" + - "ATING\020\010\022\022\n\016AUTO_UPGRADING\020\t\022\014\n\010DISABLED\020" + - "\n\"D\n\016DisabledReason\022\037\n\033DISABLED_REASON_U" + - "NSPECIFIED\020\000\022\021\n\rKMS_KEY_ISSUE\020\001:e\352Ab\n\"da" + - "tafusion.googleapis.com/Instance\022 - * Required. The instance resource name in the format - * projects/{project}/locations/{location}/instances/{instance} - *
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The instance resource name in the format
-   * projects/{project}/locations/{location}/instances/{instance}
-   * 
- * - * 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/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java deleted file mode 100644 index d885e0e4..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datafusion/v1/datafusion.proto - -package com.google.cloud.datafusion.v1; - -public interface GetInstanceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.GetInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The instance resource name in the format
-   * projects/{project}/locations/{location}/instances/{instance}.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The instance resource name in the format
-   * projects/{project}/locations/{location}/instances/{instance}.
-   * 
- * - * 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/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java deleted file mode 100644 index 1584a175..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datafusion/v1/datafusion.proto - -package com.google.cloud.datafusion.v1; - -public interface RestartInstanceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.RestartInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the Data Fusion instance which need to be restarted in the form of
-   * projects/{project}/locations/{location}/instances/{instance}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the Data Fusion instance which need to be restarted in the form of
-   * projects/{project}/locations/{location}/instances/{instance}
-   * 
- * - * 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/v1beta1/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java b/owl-bot-staging/v1beta1/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java deleted file mode 100644 index 6f985646..00000000 --- a/owl-bot-staging/v1beta1/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java +++ /dev/null @@ -1,1357 +0,0 @@ -package com.google.cloud.datafusion.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Service for creating and managing Data Fusion instances.
- * Data Fusion enables ETL developers to build code-free, data integration
- * pipelines via a point-and-click UI.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/datafusion/v1beta1/v1beta1.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataFusionGrpc { - - private DataFusionGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.datafusion.v1beta1.DataFusion"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListAvailableVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAvailableVersions", - requestType = com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAvailableVersionsMethod() { - io.grpc.MethodDescriptor getListAvailableVersionsMethod; - if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getListAvailableVersionsMethod = DataFusionGrpc.getListAvailableVersionsMethod) == null) { - DataFusionGrpc.getListAvailableVersionsMethod = getListAvailableVersionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAvailableVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListAvailableVersions")) - .build(); - } - } - } - return getListAvailableVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstances", - requestType = com.google.cloud.datafusion.v1beta1.ListInstancesRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.ListInstancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListInstancesMethod() { - io.grpc.MethodDescriptor getListInstancesMethod; - if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getListInstancesMethod = DataFusionGrpc.getListInstancesMethod) == null) { - DataFusionGrpc.getListInstancesMethod = getListInstancesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListInstancesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListInstancesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListInstances")) - .build(); - } - } - } - return getListInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstance", - requestType = com.google.cloud.datafusion.v1beta1.GetInstanceRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetInstanceMethod() { - io.grpc.MethodDescriptor getGetInstanceMethod; - if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getGetInstanceMethod = DataFusionGrpc.getGetInstanceMethod) == null) { - DataFusionGrpc.getGetInstanceMethod = getGetInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.GetInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("GetInstance")) - .build(); - } - } - } - return getGetInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInstance", - requestType = com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateInstanceMethod() { - io.grpc.MethodDescriptor getCreateInstanceMethod; - if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getCreateInstanceMethod = DataFusionGrpc.getCreateInstanceMethod) == null) { - DataFusionGrpc.getCreateInstanceMethod = getCreateInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("CreateInstance")) - .build(); - } - } - } - return getCreateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", - requestType = com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { - io.grpc.MethodDescriptor getDeleteInstanceMethod; - if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getDeleteInstanceMethod = DataFusionGrpc.getDeleteInstanceMethod) == null) { - DataFusionGrpc.getDeleteInstanceMethod = getDeleteInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("DeleteInstance")) - .build(); - } - } - } - return getDeleteInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", - requestType = com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateInstanceMethod() { - io.grpc.MethodDescriptor getUpdateInstanceMethod; - if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getUpdateInstanceMethod = DataFusionGrpc.getUpdateInstanceMethod) == null) { - DataFusionGrpc.getUpdateInstanceMethod = getUpdateInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("UpdateInstance")) - .build(); - } - } - } - return getUpdateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getRestartInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestartInstance", - requestType = com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRestartInstanceMethod() { - io.grpc.MethodDescriptor getRestartInstanceMethod; - if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getRestartInstanceMethod = DataFusionGrpc.getRestartInstanceMethod) == null) { - DataFusionGrpc.getRestartInstanceMethod = getRestartInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("RestartInstance")) - .build(); - } - } - } - return getRestartInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpgradeInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpgradeInstance", - requestType = com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpgradeInstanceMethod() { - io.grpc.MethodDescriptor getUpgradeInstanceMethod; - if ((getUpgradeInstanceMethod = DataFusionGrpc.getUpgradeInstanceMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getUpgradeInstanceMethod = DataFusionGrpc.getUpgradeInstanceMethod) == null) { - DataFusionGrpc.getUpgradeInstanceMethod = getUpgradeInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpgradeInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("UpgradeInstance")) - .build(); - } - } - } - return getUpgradeInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getRemoveIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RemoveIamPolicy", - requestType = com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRemoveIamPolicyMethod() { - io.grpc.MethodDescriptor getRemoveIamPolicyMethod; - if ((getRemoveIamPolicyMethod = DataFusionGrpc.getRemoveIamPolicyMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getRemoveIamPolicyMethod = DataFusionGrpc.getRemoveIamPolicyMethod) == null) { - DataFusionGrpc.getRemoveIamPolicyMethod = getRemoveIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("RemoveIamPolicy")) - .build(); - } - } - } - return getRemoveIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getListNamespacesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNamespaces", - requestType = com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListNamespacesMethod() { - io.grpc.MethodDescriptor getListNamespacesMethod; - if ((getListNamespacesMethod = DataFusionGrpc.getListNamespacesMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getListNamespacesMethod = DataFusionGrpc.getListNamespacesMethod) == null) { - DataFusionGrpc.getListNamespacesMethod = getListNamespacesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNamespaces")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListNamespaces")) - .build(); - } - } - } - return getListNamespacesMethod; - } - - private static volatile io.grpc.MethodDescriptor getAddDnsPeeringMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AddDnsPeering", - requestType = com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAddDnsPeeringMethod() { - io.grpc.MethodDescriptor getAddDnsPeeringMethod; - if ((getAddDnsPeeringMethod = DataFusionGrpc.getAddDnsPeeringMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getAddDnsPeeringMethod = DataFusionGrpc.getAddDnsPeeringMethod) == null) { - DataFusionGrpc.getAddDnsPeeringMethod = getAddDnsPeeringMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AddDnsPeering")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("AddDnsPeering")) - .build(); - } - } - } - return getAddDnsPeeringMethod; - } - - private static volatile io.grpc.MethodDescriptor getRemoveDnsPeeringMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RemoveDnsPeering", - requestType = com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRemoveDnsPeeringMethod() { - io.grpc.MethodDescriptor getRemoveDnsPeeringMethod; - if ((getRemoveDnsPeeringMethod = DataFusionGrpc.getRemoveDnsPeeringMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getRemoveDnsPeeringMethod = DataFusionGrpc.getRemoveDnsPeeringMethod) == null) { - DataFusionGrpc.getRemoveDnsPeeringMethod = getRemoveDnsPeeringMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveDnsPeering")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("RemoveDnsPeering")) - .build(); - } - } - } - return getRemoveDnsPeeringMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDnsPeeringsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDnsPeerings", - requestType = com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.class, - responseType = com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDnsPeeringsMethod() { - io.grpc.MethodDescriptor getListDnsPeeringsMethod; - if ((getListDnsPeeringsMethod = DataFusionGrpc.getListDnsPeeringsMethod) == null) { - synchronized (DataFusionGrpc.class) { - if ((getListDnsPeeringsMethod = DataFusionGrpc.getListDnsPeeringsMethod) == null) { - DataFusionGrpc.getListDnsPeeringsMethod = getListDnsPeeringsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDnsPeerings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataFusionMethodDescriptorSupplier("ListDnsPeerings")) - .build(); - } - } - } - return getListDnsPeeringsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static DataFusionStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataFusionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionStub(channel, callOptions); - } - }; - return DataFusionStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataFusionBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataFusionBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionBlockingStub(channel, callOptions); - } - }; - return DataFusionBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DataFusionFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataFusionFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionFutureStub(channel, callOptions); - } - }; - return DataFusionFutureStub.newStub(factory, channel); - } - - /** - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public static abstract class DataFusionImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public void listAvailableVersions(com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAvailableVersionsMethod(), responseObserver); - } - - /** - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public void listInstances(com.google.cloud.datafusion.v1beta1.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public void getInstance(com.google.cloud.datafusion.v1beta1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); - } - - /** - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public void createInstance(com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Data Fusion instance.
-     * 
- */ - public void deleteInstance(com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); - } - - /** - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public void updateInstance(com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); - } - - /** - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public void restartInstance(com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestartInstanceMethod(), responseObserver); - } - - /** - *
-     * Upgrade a single Data Fusion instance.
-     * At the end of an operation instance is fully upgraded.
-     * 
- */ - public void upgradeInstance(com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpgradeInstanceMethod(), responseObserver); - } - - /** - *
-     * Remove IAM policy that is currently set on the given resource.
-     * 
- */ - public void removeIamPolicy(com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveIamPolicyMethod(), responseObserver); - } - - /** - *
-     * List namespaces in a given instance
-     * 
- */ - public void listNamespaces(com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListNamespacesMethod(), responseObserver); - } - - /** - *
-     * Add DNS peering on the given resource.
-     * 
- */ - public void addDnsPeering(com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAddDnsPeeringMethod(), responseObserver); - } - - /** - *
-     * Remove DNS peering on the given resource.
-     * 
- */ - public void removeDnsPeering(com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveDnsPeeringMethod(), responseObserver); - } - - /** - *
-     * List DNS peering for a given resource.
-     * 
- */ - public void listDnsPeerings(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDnsPeeringsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListAvailableVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest, - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse>( - this, METHODID_LIST_AVAILABLE_VERSIONS))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.ListInstancesRequest, - com.google.cloud.datafusion.v1beta1.ListInstancesResponse>( - this, METHODID_LIST_INSTANCES))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.GetInstanceRequest, - com.google.cloud.datafusion.v1beta1.Instance>( - this, METHODID_GET_INSTANCE))) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_INSTANCE))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_INSTANCE))) - .addMethod( - getRestartInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest, - com.google.longrunning.Operation>( - this, METHODID_RESTART_INSTANCE))) - .addMethod( - getUpgradeInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest, - com.google.longrunning.Operation>( - this, METHODID_UPGRADE_INSTANCE))) - .addMethod( - getRemoveIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest, - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse>( - this, METHODID_REMOVE_IAM_POLICY))) - .addMethod( - getListNamespacesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest, - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse>( - this, METHODID_LIST_NAMESPACES))) - .addMethod( - getAddDnsPeeringMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest, - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse>( - this, METHODID_ADD_DNS_PEERING))) - .addMethod( - getRemoveDnsPeeringMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest, - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse>( - this, METHODID_REMOVE_DNS_PEERING))) - .addMethod( - getListDnsPeeringsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest, - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse>( - this, METHODID_LIST_DNS_PEERINGS))) - .build(); - } - } - - /** - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public static final class DataFusionStub extends io.grpc.stub.AbstractAsyncStub { - private DataFusionStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataFusionStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionStub(channel, callOptions); - } - - /** - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public void listAvailableVersions(com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public void listInstances(com.google.cloud.datafusion.v1beta1.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public void getInstance(com.google.cloud.datafusion.v1beta1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public void createInstance(com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Data Fusion instance.
-     * 
- */ - public void deleteInstance(com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public void updateInstance(com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public void restartInstance(com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Upgrade a single Data Fusion instance.
-     * At the end of an operation instance is fully upgraded.
-     * 
- */ - public void upgradeInstance(com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpgradeInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Remove IAM policy that is currently set on the given resource.
-     * 
- */ - public void removeIamPolicy(com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRemoveIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List namespaces in a given instance
-     * 
- */ - public void listNamespaces(com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListNamespacesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Add DNS peering on the given resource.
-     * 
- */ - public void addDnsPeering(com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAddDnsPeeringMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Remove DNS peering on the given resource.
-     * 
- */ - public void removeDnsPeering(com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRemoveDnsPeeringMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List DNS peering for a given resource.
-     * 
- */ - public void listDnsPeerings(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDnsPeeringsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public static final class DataFusionBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private DataFusionBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataFusionBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse listAvailableVersions(com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAvailableVersionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.ListInstancesResponse listInstances(com.google.cloud.datafusion.v1beta1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.Instance getInstance(com.google.cloud.datafusion.v1beta1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public com.google.longrunning.Operation createInstance(com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Data Fusion instance.
-     * 
- */ - public com.google.longrunning.Operation deleteInstance(com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public com.google.longrunning.Operation updateInstance(com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public com.google.longrunning.Operation restartInstance(com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestartInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Upgrade a single Data Fusion instance.
-     * At the end of an operation instance is fully upgraded.
-     * 
- */ - public com.google.longrunning.Operation upgradeInstance(com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpgradeInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Remove IAM policy that is currently set on the given resource.
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse removeIamPolicy(com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRemoveIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * List namespaces in a given instance
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.ListNamespacesResponse listNamespaces(com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNamespacesMethod(), getCallOptions(), request); - } - - /** - *
-     * Add DNS peering on the given resource.
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse addDnsPeering(com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAddDnsPeeringMethod(), getCallOptions(), request); - } - - /** - *
-     * Remove DNS peering on the given resource.
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse removeDnsPeering(com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRemoveDnsPeeringMethod(), getCallOptions(), request); - } - - /** - *
-     * List DNS peering for a given resource.
-     * 
- */ - public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse listDnsPeerings(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDnsPeeringsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Service for creating and managing Data Fusion instances.
-   * Data Fusion enables ETL developers to build code-free, data integration
-   * pipelines via a point-and-click UI.
-   * 
- */ - public static final class DataFusionFutureStub extends io.grpc.stub.AbstractFutureStub { - private DataFusionFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataFusionFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataFusionFutureStub(channel, callOptions); - } - - /** - *
-     * Lists possible versions for Data Fusion instances in the specified project
-     * and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAvailableVersions( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAvailableVersionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Data Fusion instances in the specified project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listInstances( - com.google.cloud.datafusion.v1beta1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Data Fusion instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getInstance( - com.google.cloud.datafusion.v1beta1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Data Fusion instance in the specified project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createInstance( - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Data Fusion instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteInstance( - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a single Data Fusion instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateInstance( - com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Restart a single Data Fusion instance.
-     * At the end of an operation instance is fully restarted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture restartInstance( - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Upgrade a single Data Fusion instance.
-     * At the end of an operation instance is fully upgraded.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture upgradeInstance( - com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpgradeInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Remove IAM policy that is currently set on the given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture removeIamPolicy( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRemoveIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * List namespaces in a given instance
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listNamespaces( - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNamespacesMethod(), getCallOptions()), request); - } - - /** - *
-     * Add DNS peering on the given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture addDnsPeering( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAddDnsPeeringMethod(), getCallOptions()), request); - } - - /** - *
-     * Remove DNS peering on the given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture removeDnsPeering( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRemoveDnsPeeringMethod(), getCallOptions()), request); - } - - /** - *
-     * List DNS peering for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDnsPeerings( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDnsPeeringsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_AVAILABLE_VERSIONS = 0; - private static final int METHODID_LIST_INSTANCES = 1; - private static final int METHODID_GET_INSTANCE = 2; - private static final int METHODID_CREATE_INSTANCE = 3; - private static final int METHODID_DELETE_INSTANCE = 4; - private static final int METHODID_UPDATE_INSTANCE = 5; - private static final int METHODID_RESTART_INSTANCE = 6; - private static final int METHODID_UPGRADE_INSTANCE = 7; - private static final int METHODID_REMOVE_IAM_POLICY = 8; - private static final int METHODID_LIST_NAMESPACES = 9; - private static final int METHODID_ADD_DNS_PEERING = 10; - private static final int METHODID_REMOVE_DNS_PEERING = 11; - private static final int METHODID_LIST_DNS_PEERINGS = 12; - - 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 DataFusionImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DataFusionImplBase 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_LIST_AVAILABLE_VERSIONS: - serviceImpl.listAvailableVersions((com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INSTANCES: - serviceImpl.listInstances((com.google.cloud.datafusion.v1beta1.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance((com.google.cloud.datafusion.v1beta1.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance((com.google.cloud.datafusion.v1beta1.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance((com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance((com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTART_INSTANCE: - serviceImpl.restartInstance((com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPGRADE_INSTANCE: - serviceImpl.upgradeInstance((com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REMOVE_IAM_POLICY: - serviceImpl.removeIamPolicy((com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_NAMESPACES: - serviceImpl.listNamespaces((com.google.cloud.datafusion.v1beta1.ListNamespacesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ADD_DNS_PEERING: - serviceImpl.addDnsPeering((com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REMOVE_DNS_PEERING: - serviceImpl.removeDnsPeering((com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DNS_PEERINGS: - serviceImpl.listDnsPeerings((com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) 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 DataFusionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataFusionBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataFusion"); - } - } - - private static final class DataFusionFileDescriptorSupplier - extends DataFusionBaseDescriptorSupplier { - DataFusionFileDescriptorSupplier() {} - } - - private static final class DataFusionMethodDescriptorSupplier - extends DataFusionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DataFusionMethodDescriptorSupplier(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 (DataFusionGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataFusionFileDescriptorSupplier()) - .addMethod(getListAvailableVersionsMethod()) - .addMethod(getListInstancesMethod()) - .addMethod(getGetInstanceMethod()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getUpdateInstanceMethod()) - .addMethod(getRestartInstanceMethod()) - .addMethod(getUpgradeInstanceMethod()) - .addMethod(getRemoveIamPolicyMethod()) - .addMethod(getListNamespacesMethod()) - .addMethod(getAddDnsPeeringMethod()) - .addMethod(getRemoveDnsPeeringMethod()) - .addMethod(getListDnsPeeringsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java deleted file mode 100644 index b5f5b3eb..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface AddDnsPeeringResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java deleted file mode 100644 index 51ee58ee..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface DeleteInstanceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.DeleteInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The instance resource name in the format
-   * projects/{project}/locations/{location}/instances/{instance}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The instance resource name in the format
-   * projects/{project}/locations/{location}/instances/{instance}
-   * 
- * - * 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/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java deleted file mode 100644 index 71c1dfd2..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface GetInstanceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.GetInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The instance resource name in the format
-   * projects/{project}/locations/{location}/instances/{instance}.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The instance resource name in the format
-   * projects/{project}/locations/{location}/instances/{instance}.
-   * 
- * - * 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/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java deleted file mode 100644 index 76ac8610..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface RemoveDnsPeeringRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource on which DNS peering will be removed.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The resource on which DNS peering will be removed.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The zone to be removed.
-   * 
- * - * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The zone. - */ - java.lang.String getZone(); - /** - *
-   * Required. The zone to be removed.
-   * 
- * - * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The bytes for zone. - */ - com.google.protobuf.ByteString - getZoneBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java deleted file mode 100644 index 15c0b110..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface RemoveDnsPeeringResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java deleted file mode 100644 index 06dc003b..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface RemoveIamPolicyResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java deleted file mode 100644 index eb40556a..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface RestartInstanceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RestartInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the Data Fusion instance which need to be restarted in the form of
-   * projects/{project}/locations/{location}/instances/{instance}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the Data Fusion instance which need to be restarted in the form of
-   * projects/{project}/locations/{location}/instances/{instance}
-   * 
- * - * 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/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java deleted file mode 100644 index 5b0e7ef8..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public interface UpgradeInstanceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the Data Fusion instance which need to be upgraded in the form of
-   * projects/{project}/locations/{location}/instances/{instance}
-   * Instance will be upgraded with the latest stable version of the Data
-   * Fusion.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the Data Fusion instance which need to be upgraded in the form of
-   * projects/{project}/locations/{location}/instances/{instance}
-   * Instance will be upgraded with the latest stable version of the Data
-   * Fusion.
-   * 
- * - * 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/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java deleted file mode 100644 index 6af0a5c6..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java +++ /dev/null @@ -1,628 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datafusion/v1beta1/v1beta1.proto - -package com.google.cloud.datafusion.v1beta1; - -public final class V1Beta1 { - private V1Beta1() {} - 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_datafusion_v1beta1_NetworkConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_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/datafusion/v1beta1/v1beta" + - "1.proto\022\037google.cloud.datafusion.v1beta1" + - "\032\034google/api/annotations.proto\032\027google/a" + - "pi/client.proto\032\037google/api/field_behavi" + - "or.proto\032\031google/api/resource.proto\032\032goo" + - "gle/iam/v1/policy.proto\032#google/longrunn" + - "ing/operations.proto\032 google/protobuf/fi" + - "eld_mask.proto\032\037google/protobuf/timestam" + - "p.proto\032\027google/rpc/status.proto\"7\n\rNetw" + - "orkConfig\022\017\n\007network\030\001 \001(\t\022\025\n\rip_allocat" + - "ion\030\002 \001(\t\"\342\001\n\007Version\022\026\n\016version_number\030" + - "\001 \001(\t\022\027\n\017default_version\030\002 \001(\010\022\032\n\022availa" + - "ble_features\030\003 \003(\t\022;\n\004type\030\004 \001(\0162-.googl" + - "e.cloud.datafusion.v1beta1.Version.Type\"" + - "M\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\020\n\014TYPE_PR" + - "EVIEW\020\001\022\035\n\031TYPE_GENERAL_AVAILABILITY\020\002\"\263" + - "\001\n\013Accelerator\022V\n\020accelerator_type\030\001 \001(\016" + - "2<.google.cloud.datafusion.v1beta1.Accel" + - "erator.AcceleratorType\"L\n\017AcceleratorTyp" + - "e\022 \n\034ACCELERATOR_TYPE_UNSPECIFIED\020\000\022\007\n\003C" + - "DC\020\001\022\016\n\nHEALTHCARE\020\002\"P\n\017CryptoKeyConfig\022" + - "=\n\rkey_reference\030\001 \001(\tB&\372A#\n!cloudkms.go" + - "ogleapis.com/CryptoKey\"\200\016\n\010Instance\0228\n\004n" + - "ame\030\001 \001(\tB*\340A\003\372A$\n\"datafusion.googleapis" + - ".com/Instance\022\023\n\013description\030\002 \001(\t\022A\n\004ty" + - "pe\030\003 \001(\0162..google.cloud.datafusion.v1bet" + - "a1.Instance.TypeB\003\340A\002\022\"\n\032enable_stackdri" + - "ver_logging\030\004 \001(\010\022%\n\035enable_stackdriver_" + - "monitoring\030\005 \001(\010\022\030\n\020private_instance\030\006 \001" + - "(\010\022F\n\016network_config\030\007 \001(\0132..google.clou" + - "d.datafusion.v1beta1.NetworkConfig\022E\n\006la" + - "bels\030\010 \003(\01325.google.cloud.datafusion.v1b" + - "eta1.Instance.LabelsEntry\022G\n\007options\030\t \003" + - "(\01326.google.cloud.datafusion.v1beta1.Ins" + - "tance.OptionsEntry\0224\n\013create_time\030\n \001(\0132" + - "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + - "te_time\030\013 \001(\0132\032.google.protobuf.Timestam" + - "pB\003\340A\003\022C\n\005state\030\014 \001(\0162/.google.cloud.dat" + - "afusion.v1beta1.Instance.StateB\003\340A\003\022\032\n\rs" + - "tate_message\030\r \001(\tB\003\340A\003\022\035\n\020service_endpo" + - "int\030\016 \001(\tB\003\340A\003\022\014\n\004zone\030\017 \001(\t\022\017\n\007version\030" + - "\020 \001(\t\022\036\n\017service_account\030\021 \001(\tB\005\030\001\340A\003\022\024\n" + - "\014display_name\030\022 \001(\t\022C\n\021available_version" + - "\030\023 \003(\0132(.google.cloud.datafusion.v1beta1" + - ".Version\022\031\n\014api_endpoint\030\024 \001(\tB\003\340A\003\022\027\n\ng" + - "cs_bucket\030\025 \001(\tB\003\340A\003\022B\n\014accelerators\030\026 \003" + - "(\0132,.google.cloud.datafusion.v1beta1.Acc" + - "elerator\022\037\n\022p4_service_account\030\027 \001(\tB\003\340A" + - "\003\022\036\n\021tenant_project_id\030\030 \001(\tB\003\340A\003\022 \n\030dat" + - "aproc_service_account\030\031 \001(\t\022\023\n\013enable_rb" + - "ac\030\032 \001(\010\022K\n\021crypto_key_config\030\033 \001(\01320.go" + - "ogle.cloud.datafusion.v1beta1.CryptoKeyC" + - "onfig\022V\n\017disabled_reason\030\034 \003(\01628.google." + - "cloud.datafusion.v1beta1.Instance.Disabl" + - "edReasonB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(" + - "\t\022\r\n\005value\030\002 \001(\t:\0028\001\032.\n\014OptionsEntry\022\013\n\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"F\n\004Type\022\024\n\020" + - "TYPE_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\016\n\nENTERPR" + - "ISE\020\002\022\r\n\tDEVELOPER\020\003\"\265\001\n\005State\022\025\n\021STATE_" + - "UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\013\n\007RUNNING\020\002" + - "\022\n\n\006FAILED\020\003\022\014\n\010DELETING\020\004\022\r\n\tUPGRADING\020" + - "\005\022\016\n\nRESTARTING\020\006\022\014\n\010UPDATING\020\007\022\021\n\rAUTO_" + - "UPDATING\020\010\022\022\n\016AUTO_UPGRADING\020\t\022\014\n\010DISABL" + - "ED\020\n\"D\n\016DisabledReason\022\037\n\033DISABLED_REASO" + - "N_UNSPECIFIED\020\000\022\021\n\rKMS_KEY_ISSUE\020\001:e\352Ab\n" + - "\"datafusion.googleapis.com/Instance\022\n\niam_policy\030\002 \001(\0132*.google.cloud.data" + - "fusion.v1beta1.IAMPolicy:}\352Az\n#datafusio" + - "n.googleapis.com/Namespace\022Sprojects/{pr" + - "oject}/locations/{location}/instances/{i" + - "nstance}/namespaces/{namespace}\"q\n\026ListN" + - "amespacesResponse\022>\n\nnamespaces\030\001 \003(\0132*." + - "google.cloud.datafusion.v1beta1.Namespac" + - "e\022\027\n\017next_page_token\030\002 \001(\t\"\210\001\n\nDnsPeerin" + - "g\022\021\n\004zone\030\001 \001(\tB\003\340A\002\022\023\n\006domain\030\002 \001(\tB\003\340A" + - "\002\022\030\n\013description\030\003 \001(\tB\003\340A\001\022\033\n\016target_pr" + - "oject\030\004 \001(\tB\003\340A\001\022\033\n\016target_network\030\005 \001(\t" + - "B\003\340A\001\"\224\001\n\024AddDnsPeeringRequest\022:\n\006parent" + - "\030\001 \001(\tB*\340A\002\372A$\n\"datafusion.googleapis.co" + - "m/Instance\022@\n\013dns_peering\030\002 \001(\0132+.google" + - ".cloud.datafusion.v1beta1.DnsPeering\"\027\n\025" + - "AddDnsPeeringResponse\"h\n\027RemoveDnsPeerin" + - "gRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"datafu" + - "sion.googleapis.com/Instance\022\021\n\004zone\030\002 \001" + - "(\tB\003\340A\002\"\032\n\030RemoveDnsPeeringResponse\"{\n\026L" + - "istDnsPeeringsRequest\022:\n\006parent\030\001 \001(\tB*\340" + - "A\002\372A$\n\"datafusion.googleapis.com/Instanc" + - "e\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t" + - "\"u\n\027ListDnsPeeringsResponse\022A\n\014dns_peeri" + - "ngs\030\001 \003(\0132+.google.cloud.datafusion.v1be" + - "ta1.DnsPeering\022\027\n\017next_page_token\030\002 \001(\t*" + - "b\n\rNamespaceView\022\036\n\032NAMESPACE_VIEW_UNSPE" + - "CIFIED\020\000\022\030\n\024NAMESPACE_VIEW_BASIC\020\001\022\027\n\023NA" + - "MESPACE_VIEW_FULL\020\0022\311\026\n\nDataFusion\022\332\001\n\025L" + - "istAvailableVersions\022=.google.cloud.data" + - "fusion.v1beta1.ListAvailableVersionsRequ" + - "est\032>.google.cloud.datafusion.v1beta1.Li" + - "stAvailableVersionsResponse\"B\202\323\344\223\0023\0221/v1" + - "beta1/{parent=projects/*/locations/*}/ve" + - "rsions\332A\006parent\022\272\001\n\rListInstances\0225.goog" + - "le.cloud.datafusion.v1beta1.ListInstance" + - "sRequest\0326.google.cloud.datafusion.v1bet" + - "a1.ListInstancesResponse\":\202\323\344\223\0024\0222/v1bet" + - "a1/{parent=projects/*/locations/*}/insta" + - "nces\022\251\001\n\013GetInstance\0223.google.cloud.data" + - "fusion.v1beta1.GetInstanceRequest\032).goog" + - "le.cloud.datafusion.v1beta1.Instance\":\202\323" + - "\344\223\0024\0222/v1beta1/{name=projects/*/location" + - "s/*/instances/*}\022\354\001\n\016CreateInstance\0226.go" + - "ogle.cloud.datafusion.v1beta1.CreateInst" + - "anceRequest\032\035.google.longrunning.Operati" + - "on\"\202\001\202\323\344\223\002>\"2/v1beta1/{parent=projects/*" + - "/locations/*}/instances:\010instance\332A\033pare" + - "nt,instance,instance_id\312A\035\n\010Instance\022\021Op" + - "erationMetadata\022\327\001\n\016DeleteInstance\0226.goo" + - "gle.cloud.datafusion.v1beta1.DeleteInsta" + - "nceRequest\032\035.google.longrunning.Operatio" + - "n\"n\202\323\344\223\0024*2/v1beta1/{name=projects/*/loc" + - "ations/*/instances/*}\332A\004name\312A*\n\025google." + - "protobuf.Empty\022\021OperationMetadata\022\356\001\n\016Up" + - "dateInstance\0226.google.cloud.datafusion.v" + - "1beta1.UpdateInstanceRequest\032\035.google.lo" + - "ngrunning.Operation\"\204\001\202\323\344\223\002G2;/v1beta1/{" + - "instance.name=projects/*/locations/*/ins" + - "tances/*}:\010instance\332A\024instance,update_ma" + - "sk\312A\035\n\010Instance\022\021OperationMetadata\022\320\001\n\017R" + - "estartInstance\0227.google.cloud.datafusion" + - ".v1beta1.RestartInstanceRequest\032\035.google" + - ".longrunning.Operation\"e\202\323\344\223\002?\":/v1beta1" + - "/{name=projects/*/locations/*/instances/" + - "*}:restart:\001*\312A\035\n\010Instance\022\021OperationMet" + - "adata\022\320\001\n\017UpgradeInstance\0227.google.cloud" + - ".datafusion.v1beta1.UpgradeInstanceReque" + - "st\032\035.google.longrunning.Operation\"e\202\323\344\223\002" + - "?\":/v1beta1/{name=projects/*/locations/*" + - "/instances/*}:upgrade:\001*\312A\035\n\010Instance\022\021O" + - "perationMetadata\022\316\001\n\017RemoveIamPolicy\0227.g" + - "oogle.cloud.datafusion.v1beta1.RemoveIam" + - "PolicyRequest\0328.google.cloud.datafusion." + - "v1beta1.RemoveIamPolicyResponse\"H\202\323\344\223\002B\"" + - "=/v1beta1/{resource=projects/*/locations" + - "/*/**}:removeIamPolicy:\001*\022\323\001\n\016ListNamesp" + - "aces\0226.google.cloud.datafusion.v1beta1.L" + - "istNamespacesRequest\0327.google.cloud.data" + - "fusion.v1beta1.ListNamespacesResponse\"P\202" + - "\323\344\223\002A\022?/v1beta1/{parent=projects/*/locat" + - "ions/*/instances/*}/namespaces\332A\006parent\022" + - "\330\001\n\rAddDnsPeering\0225.google.cloud.datafus" + - "ion.v1beta1.AddDnsPeeringRequest\0326.googl" + - "e.cloud.datafusion.v1beta1.AddDnsPeering" + - "Response\"X\202\323\344\223\002I\"D/v1beta1/{parent=proje" + - "cts/*/locations/*/instances/*}/dnsPeerin" + - "gs:add:\001*\332A\006parent\022\344\001\n\020RemoveDnsPeering\022" + - "8.google.cloud.datafusion.v1beta1.Remove" + - "DnsPeeringRequest\0329.google.cloud.datafus" + - "ion.v1beta1.RemoveDnsPeeringResponse\"[\202\323" + - "\344\223\002L\"G/v1beta1/{parent=projects/*/locati" + - "ons/*/instances/*}/dnsPeerings:remove:\001*" + - "\332A\006parent\022\334\001\n\017ListDnsPeerings\0227.google.c" + - "loud.datafusion.v1beta1.ListDnsPeeringsR" + - "equest\0328.google.cloud.datafusion.v1beta1" + - ".ListDnsPeeringsResponse\"V\202\323\344\223\002G\022E/v1bet" + - "a1/{parent=projects/*/locations/*/instan" + - "ces/*}/dnsPeerings:list\332A\006parent\032M\312A\031dat" + - "afusion.googleapis.com\322A.https://www.goo" + - "gleapis.com/auth/cloud-platformB\326\002\n#com." + - "google.cloud.datafusion.v1beta1P\001ZIgoogl" + - "e.golang.org/genproto/googleapis/cloud/d" + - "atafusion/v1beta1;datafusion\252\002\037Google.Cl" + - "oud.DataFusion.V1Beta1\312\002\037Google\\Cloud\\Da" + - "taFusion\\V1beta1\352\002\"Google::Cloud::DataFu" + - "sion::V1beta1\352Ax\n!cloudkms.googleapis.co" + - "m/CryptoKey\022Sprojects/{project}/location" + - "s/{location}/keyRings/{key_ring}/cryptoK" + - "eys/{crypto_key}b\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.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor, - new java.lang.String[] { "Network", "IpAllocation", }); - internal_static_google_cloud_datafusion_v1beta1_Version_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_Version_descriptor, - new java.lang.String[] { "VersionNumber", "DefaultVersion", "AvailableFeatures", "Type", }); - internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor, - new java.lang.String[] { "AcceleratorType", }); - internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor, - new java.lang.String[] { "KeyReference", }); - internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor, - new java.lang.String[] { "Name", "Description", "Type", "EnableStackdriverLogging", "EnableStackdriverMonitoring", "PrivateInstance", "NetworkConfig", "Labels", "Options", "CreateTime", "UpdateTime", "State", "StateMessage", "ServiceEndpoint", "Zone", "Version", "ServiceAccount", "DisplayName", "AvailableVersion", "ApiEndpoint", "GcsBucket", "Accelerators", "P4ServiceAccount", "TenantProjectId", "DataprocServiceAccount", "EnableRbac", "CryptoKeyConfig", "DisabledReason", }); - internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_descriptor = - internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_descriptor = - internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor, - new java.lang.String[] { "Instances", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "LatestPatchOnly", }); - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor, - new java.lang.String[] { "AvailableVersions", "NextPageToken", }); - internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor, - new java.lang.String[] { "Parent", "InstanceId", "Instance", }); - internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor, - new java.lang.String[] { "Instance", "UpdateMask", }); - internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "RequestedCancellation", "ApiVersion", }); - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor, - new java.lang.String[] { "Resource", }); - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", }); - internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor, - new java.lang.String[] { "Policy", "Status", }); - internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor, - new java.lang.String[] { "Name", "IamPolicy", }); - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor, - new java.lang.String[] { "Namespaces", "NextPageToken", }); - internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor, - new java.lang.String[] { "Zone", "Domain", "Description", "TargetProject", "TargetNetwork", }); - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor, - new java.lang.String[] { "Parent", "DnsPeering", }); - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor, - new java.lang.String[] { "Parent", "Zone", }); - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor, - new java.lang.String[] { "DnsPeerings", "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.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - 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.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Accelerator.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Accelerator.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Accelerator.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Accelerator.java index 48bc3168..4269324e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Accelerator.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Accelerator.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** + * + * *
  * Identifies Data Fusion accelerators for an instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.Accelerator} */ -public final class Accelerator extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Accelerator extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.Accelerator) AcceleratorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Accelerator.newBuilder() to construct. private Accelerator(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Accelerator() { acceleratorType_ = 0; state_ = 0; @@ -26,16 +44,15 @@ private Accelerator() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Accelerator(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Accelerator( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private Accelerator( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - acceleratorType_ = rawValue; - break; - } - case 16: { - int rawValue = input.readEnum(); + acceleratorType_ = rawValue; + break; + } + case 16: + { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + state_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,27 +99,31 @@ private Accelerator( } 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Accelerator_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_Accelerator_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.Accelerator.class, com.google.cloud.datafusion.v1.Accelerator.Builder.class); + com.google.cloud.datafusion.v1.Accelerator.class, + com.google.cloud.datafusion.v1.Accelerator.Builder.class); } /** + * + * *
    * Each type represents an Accelerator (Add-On) supported by Cloud Data Fusion
    * service.
@@ -108,9 +131,10 @@ private Accelerator(
    *
    * Protobuf enum {@code google.cloud.datafusion.v1.Accelerator.AcceleratorType}
    */
-  public enum AcceleratorType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default value, if unspecified.
      * 
@@ -119,6 +143,8 @@ public enum AcceleratorType */ ACCELERATOR_TYPE_UNSPECIFIED(0), /** + * + * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -127,6 +153,8 @@ public enum AcceleratorType */ CDC(1), /** + * + * *
      * Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud
      * Healthcare specific CDF plugins developed by Healthcare team.
@@ -136,6 +164,8 @@ public enum AcceleratorType
      */
     HEALTHCARE(2),
     /**
+     *
+     *
      * 
      * Contact Center AI Insights
      * This accelerator is used to enable import and export pipelines
@@ -149,6 +179,8 @@ public enum AcceleratorType
     ;
 
     /**
+     *
+     *
      * 
      * Default value, if unspecified.
      * 
@@ -157,6 +189,8 @@ public enum AcceleratorType */ public static final int ACCELERATOR_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -165,6 +199,8 @@ public enum AcceleratorType */ public static final int CDC_VALUE = 1; /** + * + * *
      * Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud
      * Healthcare specific CDF plugins developed by Healthcare team.
@@ -174,6 +210,8 @@ public enum AcceleratorType
      */
     public static final int HEALTHCARE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Contact Center AI Insights
      * This accelerator is used to enable import and export pipelines
@@ -184,7 +222,6 @@ public enum AcceleratorType
      */
     public static final int CCAI_INSIGHTS_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -209,40 +246,44 @@ public static AcceleratorType valueOf(int value) {
      */
     public static AcceleratorType forNumber(int value) {
       switch (value) {
-        case 0: return ACCELERATOR_TYPE_UNSPECIFIED;
-        case 1: return CDC;
-        case 2: return HEALTHCARE;
-        case 3: return CCAI_INSIGHTS;
-        default: return null;
+        case 0:
+          return ACCELERATOR_TYPE_UNSPECIFIED;
+        case 1:
+          return CDC;
+        case 2:
+          return HEALTHCARE;
+        case 3:
+          return CCAI_INSIGHTS;
+        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<
-        AcceleratorType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public AcceleratorType findValueByNumber(int number) {
-              return AcceleratorType.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 AcceleratorType findValueByNumber(int number) {
+                return AcceleratorType.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() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.datafusion.v1.Accelerator.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -251,8 +292,7 @@ public AcceleratorType findValueByNumber(int number) {
     public static AcceleratorType 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;
@@ -270,15 +310,18 @@ private AcceleratorType(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Different values possible for the state of an accelerator
    * 
* * Protobuf enum {@code google.cloud.datafusion.v1.Accelerator.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value, do not use
      * 
@@ -287,6 +330,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Indicates that the accelerator is enabled and available to use
      * 
@@ -295,6 +340,8 @@ public enum State */ ENABLED(1), /** + * + * *
      * Indicates that the accelerator is disabled and not available to use
      * 
@@ -303,6 +350,8 @@ public enum State */ DISABLED(2), /** + * + * *
      * Indicates that accelerator state is currently unknown.
      * Requests for enable, disable could be retried while in this state
@@ -315,6 +364,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Default value, do not use
      * 
@@ -323,6 +374,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Indicates that the accelerator is enabled and available to use
      * 
@@ -331,6 +384,8 @@ public enum State */ public static final int ENABLED_VALUE = 1; /** + * + * *
      * Indicates that the accelerator is disabled and not available to use
      * 
@@ -339,6 +394,8 @@ public enum State */ public static final int DISABLED_VALUE = 2; /** + * + * *
      * Indicates that accelerator state is currently unknown.
      * Requests for enable, disable could be retried while in this state
@@ -348,7 +405,6 @@ public enum State
      */
     public static final int UNKNOWN_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -373,50 +429,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return ENABLED;
-        case 2: return DISABLED;
-        case 3: return UNKNOWN;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return ENABLED;
+        case 2:
+          return DISABLED;
+        case 3:
+          return UNKNOWN;
+        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() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.datafusion.v1.Accelerator.getDescriptor().getEnumTypes().get(1);
     }
 
     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;
@@ -436,58 +493,79 @@ private State(int value) {
   public static final int ACCELERATOR_TYPE_FIELD_NUMBER = 1;
   private int acceleratorType_;
   /**
+   *
+   *
    * 
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; + * * @return The enum numeric value on the wire for acceleratorType. */ - @java.lang.Override public int getAcceleratorTypeValue() { + @java.lang.Override + public int getAcceleratorTypeValue() { return acceleratorType_; } /** + * + * *
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; + * * @return The acceleratorType. */ - @java.lang.Override public com.google.cloud.datafusion.v1.Accelerator.AcceleratorType getAcceleratorType() { + @java.lang.Override + public com.google.cloud.datafusion.v1.Accelerator.AcceleratorType getAcceleratorType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Accelerator.AcceleratorType result = com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.valueOf(acceleratorType_); - return result == null ? com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.UNRECOGNIZED : result; + com.google.cloud.datafusion.v1.Accelerator.AcceleratorType result = + com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.valueOf(acceleratorType_); + return result == null + ? com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.UNRECOGNIZED + : result; } public static final int STATE_FIELD_NUMBER = 2; private int state_; /** + * + * *
    * The state of the accelerator
    * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The state of the accelerator
    * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; + * * @return The state. */ - @java.lang.Override public com.google.cloud.datafusion.v1.Accelerator.State getState() { + @java.lang.Override + public com.google.cloud.datafusion.v1.Accelerator.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Accelerator.State result = com.google.cloud.datafusion.v1.Accelerator.State.valueOf(state_); + com.google.cloud.datafusion.v1.Accelerator.State result = + com.google.cloud.datafusion.v1.Accelerator.State.valueOf(state_); return result == null ? com.google.cloud.datafusion.v1.Accelerator.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -499,9 +577,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (acceleratorType_ != com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.ACCELERATOR_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (acceleratorType_ + != com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.ACCELERATOR_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, acceleratorType_); } if (state_ != com.google.cloud.datafusion.v1.Accelerator.State.STATE_UNSPECIFIED.getNumber()) { @@ -516,13 +595,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (acceleratorType_ != com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.ACCELERATOR_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, acceleratorType_); + if (acceleratorType_ + != com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.ACCELERATOR_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, acceleratorType_); } if (state_ != com.google.cloud.datafusion.v1.Accelerator.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -532,12 +611,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.datafusion.v1.Accelerator)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.Accelerator other = (com.google.cloud.datafusion.v1.Accelerator) obj; + com.google.cloud.datafusion.v1.Accelerator other = + (com.google.cloud.datafusion.v1.Accelerator) obj; if (acceleratorType_ != other.acceleratorType_) return false; if (state_ != other.state_) return false; @@ -561,118 +641,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1.Accelerator parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1.Accelerator parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.Accelerator parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1.Accelerator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.Accelerator parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator 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; } /** + * + * *
    * Identifies Data Fusion accelerators for an instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.Accelerator} */ - 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.datafusion.v1.Accelerator) com.google.cloud.datafusion.v1.AcceleratorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Accelerator_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_Accelerator_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.Accelerator.class, com.google.cloud.datafusion.v1.Accelerator.Builder.class); + com.google.cloud.datafusion.v1.Accelerator.class, + com.google.cloud.datafusion.v1.Accelerator.Builder.class); } // Construct using com.google.cloud.datafusion.v1.Accelerator.newBuilder() @@ -680,16 +769,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(); @@ -701,9 +789,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; } @java.lang.Override @@ -722,7 +810,8 @@ public com.google.cloud.datafusion.v1.Accelerator build() { @java.lang.Override public com.google.cloud.datafusion.v1.Accelerator buildPartial() { - com.google.cloud.datafusion.v1.Accelerator result = new com.google.cloud.datafusion.v1.Accelerator(this); + com.google.cloud.datafusion.v1.Accelerator result = + new com.google.cloud.datafusion.v1.Accelerator(this); result.acceleratorType_ = acceleratorType_; result.state_ = state_; onBuilt(); @@ -733,38 +822,39 @@ public com.google.cloud.datafusion.v1.Accelerator 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.datafusion.v1.Accelerator) { - return mergeFrom((com.google.cloud.datafusion.v1.Accelerator)other); + return mergeFrom((com.google.cloud.datafusion.v1.Accelerator) other); } else { super.mergeFrom(other); return this; @@ -810,73 +900,93 @@ public Builder mergeFrom( private int acceleratorType_ = 0; /** + * + * *
      * The type of an accelator for a CDF instance.
      * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; + * * @return The enum numeric value on the wire for acceleratorType. */ - @java.lang.Override public int getAcceleratorTypeValue() { + @java.lang.Override + public int getAcceleratorTypeValue() { return acceleratorType_; } /** + * + * *
      * The type of an accelator for a CDF instance.
      * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; + * * @param value The enum numeric value on the wire for acceleratorType to set. * @return This builder for chaining. */ public Builder setAcceleratorTypeValue(int value) { - + acceleratorType_ = value; onChanged(); return this; } /** + * + * *
      * The type of an accelator for a CDF instance.
      * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; + * * @return The acceleratorType. */ @java.lang.Override public com.google.cloud.datafusion.v1.Accelerator.AcceleratorType getAcceleratorType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Accelerator.AcceleratorType result = com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.valueOf(acceleratorType_); - return result == null ? com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.UNRECOGNIZED : result; + com.google.cloud.datafusion.v1.Accelerator.AcceleratorType result = + com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.valueOf(acceleratorType_); + return result == null + ? com.google.cloud.datafusion.v1.Accelerator.AcceleratorType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of an accelator for a CDF instance.
      * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; + * * @param value The acceleratorType to set. * @return This builder for chaining. */ - public Builder setAcceleratorType(com.google.cloud.datafusion.v1.Accelerator.AcceleratorType value) { + public Builder setAcceleratorType( + com.google.cloud.datafusion.v1.Accelerator.AcceleratorType value) { if (value == null) { throw new NullPointerException(); } - + acceleratorType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of an accelator for a CDF instance.
      * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; + * * @return This builder for chaining. */ public Builder clearAcceleratorType() { - + acceleratorType_ = 0; onChanged(); return this; @@ -884,51 +994,67 @@ public Builder clearAcceleratorType() { private int state_ = 0; /** + * + * *
      * The state of the accelerator
      * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The state of the accelerator
      * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; + * * @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; } /** + * + * *
      * The state of the accelerator
      * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; + * * @return The state. */ @java.lang.Override public com.google.cloud.datafusion.v1.Accelerator.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Accelerator.State result = com.google.cloud.datafusion.v1.Accelerator.State.valueOf(state_); - return result == null ? com.google.cloud.datafusion.v1.Accelerator.State.UNRECOGNIZED : result; + com.google.cloud.datafusion.v1.Accelerator.State result = + com.google.cloud.datafusion.v1.Accelerator.State.valueOf(state_); + return result == null + ? com.google.cloud.datafusion.v1.Accelerator.State.UNRECOGNIZED + : result; } /** + * + * *
      * The state of the accelerator
      * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; + * * @param value The state to set. * @return This builder for chaining. */ @@ -936,28 +1062,31 @@ public Builder setState(com.google.cloud.datafusion.v1.Accelerator.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The state of the accelerator
      * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 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); } @@ -967,12 +1096,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.Accelerator) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.Accelerator) private static final com.google.cloud.datafusion.v1.Accelerator DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.Accelerator(); } @@ -981,16 +1110,16 @@ public static com.google.cloud.datafusion.v1.Accelerator getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Accelerator parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Accelerator(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Accelerator parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Accelerator(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1005,6 +1134,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.Accelerator getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java index e96d8a75..afc36f0b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java @@ -1,46 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface AcceleratorOrBuilder extends +public interface AcceleratorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.Accelerator) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; + * * @return The enum numeric value on the wire for acceleratorType. */ int getAcceleratorTypeValue(); /** + * + * *
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1; + * * @return The acceleratorType. */ com.google.cloud.datafusion.v1.Accelerator.AcceleratorType getAcceleratorType(); /** + * + * *
    * The state of the accelerator
    * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The state of the accelerator
    * 
* * .google.cloud.datafusion.v1.Accelerator.State state = 2; + * * @return The state. */ com.google.cloud.datafusion.v1.Accelerator.State getState(); diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.java index 6fdb4ded..3da4c754 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** + * + * *
  * Request message for creating a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.CreateInstanceRequest} */ -public final class CreateInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.CreateInstanceRequest) CreateInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateInstanceRequest.newBuilder() to construct. private CreateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -26,16 +44,15 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateInstanceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - instanceId_ = s; - break; - } - case 26: { - com.google.cloud.datafusion.v1.Instance.Builder subBuilder = null; - if (instance_ != null) { - subBuilder = instance_.toBuilder(); + parent_ = s; + break; } - instance_ = input.readMessage(com.google.cloud.datafusion.v1.Instance.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(instance_); - instance_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + instanceId_ = s; + break; } + case 26: + { + com.google.cloud.datafusion.v1.Instance.Builder subBuilder = null; + if (instance_ != null) { + subBuilder = instance_.toBuilder(); + } + instance_ = + input.readMessage( + com.google.cloud.datafusion.v1.Instance.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(instance_); + instance_ = 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,35 +115,42 @@ private CreateInstanceRequest( } 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.CreateInstanceRequest.class, com.google.cloud.datafusion.v1.CreateInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.CreateInstanceRequest.class, + com.google.cloud.datafusion.v1.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * 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 @@ -130,30 +159,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 instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * 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 { @@ -164,11 +195,14 @@ public java.lang.String getParent() { public static final int INSTANCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceId_; /** + * + * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ @java.lang.Override @@ -177,29 +211,29 @@ public java.lang.String getInstanceId() { 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(); instanceId_ = s; return s; } } /** + * + * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceIdBytes() { + public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; 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); instanceId_ = b; return b; } else { @@ -210,11 +244,14 @@ public java.lang.String getInstanceId() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.datafusion.v1.Instance instance_; /** + * + * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1.Instance instance = 3; + * * @return Whether the instance field is set. */ @java.lang.Override @@ -222,18 +259,25 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1.Instance instance = 3; + * * @return The instance. */ @java.lang.Override public com.google.cloud.datafusion.v1.Instance getInstance() { - return instance_ == null ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * An instance resource.
    * 
@@ -246,6 +290,7 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,8 +302,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_); } @@ -284,8 +328,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceId_); } if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInstance()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstance()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,21 +338,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.datafusion.v1.CreateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.CreateInstanceRequest other = (com.google.cloud.datafusion.v1.CreateInstanceRequest) obj; + com.google.cloud.datafusion.v1.CreateInstanceRequest other = + (com.google.cloud.datafusion.v1.CreateInstanceRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getInstanceId() - .equals(other.getInstanceId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getInstanceId().equals(other.getInstanceId())) return false; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance() - .equals(other.getInstance())) return false; + if (!getInstance().equals(other.getInstance())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -336,117 +377,126 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.CreateInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.CreateInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest 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 message for creating a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.CreateInstanceRequest} */ - 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.datafusion.v1.CreateInstanceRequest) com.google.cloud.datafusion.v1.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.CreateInstanceRequest.class, com.google.cloud.datafusion.v1.CreateInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.CreateInstanceRequest.class, + com.google.cloud.datafusion.v1.CreateInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1.CreateInstanceRequest.newBuilder() @@ -454,16 +504,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(); @@ -481,9 +530,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -502,7 +551,8 @@ public com.google.cloud.datafusion.v1.CreateInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1.CreateInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1.CreateInstanceRequest result = new com.google.cloud.datafusion.v1.CreateInstanceRequest(this); + com.google.cloud.datafusion.v1.CreateInstanceRequest result = + new com.google.cloud.datafusion.v1.CreateInstanceRequest(this); result.parent_ = parent_; result.instanceId_ = instanceId_; if (instanceBuilder_ == null) { @@ -518,38 +568,39 @@ public com.google.cloud.datafusion.v1.CreateInstanceRequest 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.datafusion.v1.CreateInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1.CreateInstanceRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1.CreateInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -557,7 +608,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.CreateInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1.CreateInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1.CreateInstanceRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -588,7 +640,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1.CreateInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1.CreateInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,19 +653,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * 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; @@ -621,21 +678,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * 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 { @@ -643,57 +703,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * 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 instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * 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 instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * 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; @@ -701,18 +774,20 @@ public Builder setParentBytes( private java.lang.Object instanceId_ = ""; /** + * + * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; 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(); instanceId_ = s; return s; @@ -721,20 +796,21 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString - getInstanceIdBytes() { + public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; 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); instanceId_ = b; return b; } else { @@ -742,54 +818,61 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId( - java.lang.String value) { + public Builder setInstanceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceId() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** + * + * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceId_ = value; onChanged(); return this; @@ -797,34 +880,47 @@ public Builder setInstanceIdBytes( private com.google.cloud.datafusion.v1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder> instanceBuilder_; + com.google.cloud.datafusion.v1.Instance, + com.google.cloud.datafusion.v1.Instance.Builder, + com.google.cloud.datafusion.v1.InstanceOrBuilder> + instanceBuilder_; /** + * + * *
      * An instance resource.
      * 
* * .google.cloud.datafusion.v1.Instance instance = 3; + * * @return Whether the instance field is set. */ public boolean hasInstance() { return instanceBuilder_ != null || instance_ != null; } /** + * + * *
      * An instance resource.
      * 
* * .google.cloud.datafusion.v1.Instance instance = 3; + * * @return The instance. */ public com.google.cloud.datafusion.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * An instance resource.
      * 
@@ -845,14 +941,15 @@ public Builder setInstance(com.google.cloud.datafusion.v1.Instance value) { return this; } /** + * + * *
      * An instance resource.
      * 
* * .google.cloud.datafusion.v1.Instance instance = 3; */ - public Builder setInstance( - com.google.cloud.datafusion.v1.Instance.Builder builderForValue) { + public Builder setInstance(com.google.cloud.datafusion.v1.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); onChanged(); @@ -863,6 +960,8 @@ public Builder setInstance( return this; } /** + * + * *
      * An instance resource.
      * 
@@ -873,7 +972,9 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1.Instance value) { if (instanceBuilder_ == null) { if (instance_ != null) { instance_ = - com.google.cloud.datafusion.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); + com.google.cloud.datafusion.v1.Instance.newBuilder(instance_) + .mergeFrom(value) + .buildPartial(); } else { instance_ = value; } @@ -885,6 +986,8 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1.Instance value) { return this; } /** + * + * *
      * An instance resource.
      * 
@@ -903,6 +1006,8 @@ public Builder clearInstance() { return this; } /** + * + * *
      * An instance resource.
      * 
@@ -910,11 +1015,13 @@ public Builder clearInstance() { * .google.cloud.datafusion.v1.Instance instance = 3; */ public com.google.cloud.datafusion.v1.Instance.Builder getInstanceBuilder() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * An instance resource.
      * 
@@ -925,11 +1032,14 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.cloud.datafusion.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * An instance resource.
      * 
@@ -937,21 +1047,24 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { * .google.cloud.datafusion.v1.Instance instance = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder> + com.google.cloud.datafusion.v1.Instance, + com.google.cloud.datafusion.v1.Instance.Builder, + com.google.cloud.datafusion.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datafusion.v1.Instance, + com.google.cloud.datafusion.v1.Instance.Builder, + com.google.cloud.datafusion.v1.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; } + @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); } @@ -961,12 +1074,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.CreateInstanceRequest) private static final com.google.cloud.datafusion.v1.CreateInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.CreateInstanceRequest(); } @@ -975,16 +1088,16 @@ public static com.google.cloud.datafusion.v1.CreateInstanceRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -999,6 +1112,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java index 7587a72e..7c347e3e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java @@ -1,73 +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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface CreateInstanceRequestOrBuilder extends +public interface CreateInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * 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 instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * 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(); /** + * + * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ java.lang.String getInstanceId(); /** + * + * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString - getInstanceIdBytes(); + com.google.protobuf.ByteString getInstanceIdBytes(); /** + * + * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1.Instance instance = 3; + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1.Instance instance = 3; + * * @return The instance. */ com.google.cloud.datafusion.v1.Instance getInstance(); /** + * + * *
    * An instance resource.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.java index 584d4205..c44616de 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** + * + * *
  * The crypto key configuration. This field is used by the Customer-managed
  * encryption keys (CMEK) feature.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1.CryptoKeyConfig}
  */
-public final class CryptoKeyConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CryptoKeyConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.CryptoKeyConfig)
     CryptoKeyConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CryptoKeyConfig.newBuilder() to construct.
   private CryptoKeyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CryptoKeyConfig() {
     keyReference_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CryptoKeyConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CryptoKeyConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private CryptoKeyConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            keyReference_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              keyReference_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,29 +92,33 @@ private CryptoKeyConfig(
     } 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datafusion.v1.Datafusion
+        .internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_fieldAccessorTable
+    return com.google.cloud.datafusion.v1.Datafusion
+        .internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1.CryptoKeyConfig.class, com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder.class);
+            com.google.cloud.datafusion.v1.CryptoKeyConfig.class,
+            com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder.class);
   }
 
   public static final int KEY_REFERENCE_FIELD_NUMBER = 1;
   private volatile java.lang.Object keyReference_;
   /**
+   *
+   *
    * 
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -104,6 +126,7 @@ private CryptoKeyConfig(
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @return The keyReference. */ @java.lang.Override @@ -112,14 +135,15 @@ public java.lang.String getKeyReference() { 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(); keyReference_ = s; return s; } } /** + * + * *
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -127,16 +151,15 @@ public java.lang.String getKeyReference() {
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for keyReference. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyReferenceBytes() { + public com.google.protobuf.ByteString getKeyReferenceBytes() { java.lang.Object ref = keyReference_; 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); keyReference_ = b; return b; } else { @@ -145,6 +168,7 @@ public java.lang.String getKeyReference() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +180,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(keyReference_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyReference_); } @@ -181,15 +204,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.datafusion.v1.CryptoKeyConfig)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.CryptoKeyConfig other = (com.google.cloud.datafusion.v1.CryptoKeyConfig) obj; + com.google.cloud.datafusion.v1.CryptoKeyConfig other = + (com.google.cloud.datafusion.v1.CryptoKeyConfig) obj; - if (!getKeyReference() - .equals(other.getKeyReference())) return false; + if (!getKeyReference().equals(other.getKeyReference())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,97 +231,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1.CryptoKeyConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1.CryptoKeyConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.CryptoKeyConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1.CryptoKeyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.CryptoKeyConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig 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 crypto key configuration. This field is used by the Customer-managed
    * encryption keys (CMEK) feature.
@@ -306,21 +336,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datafusion.v1.CryptoKeyConfig}
    */
-  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.datafusion.v1.CryptoKeyConfig)
       com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datafusion.v1.Datafusion
+          .internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_fieldAccessorTable
+      return com.google.cloud.datafusion.v1.Datafusion
+          .internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1.CryptoKeyConfig.class, com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder.class);
+              com.google.cloud.datafusion.v1.CryptoKeyConfig.class,
+              com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1.CryptoKeyConfig.newBuilder()
@@ -328,16 +360,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();
@@ -347,9 +378,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datafusion.v1.Datafusion
+          .internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor;
     }
 
     @java.lang.Override
@@ -368,7 +399,8 @@ public com.google.cloud.datafusion.v1.CryptoKeyConfig build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1.CryptoKeyConfig buildPartial() {
-      com.google.cloud.datafusion.v1.CryptoKeyConfig result = new com.google.cloud.datafusion.v1.CryptoKeyConfig(this);
+      com.google.cloud.datafusion.v1.CryptoKeyConfig result =
+          new com.google.cloud.datafusion.v1.CryptoKeyConfig(this);
       result.keyReference_ = keyReference_;
       onBuilt();
       return result;
@@ -378,38 +410,39 @@ public com.google.cloud.datafusion.v1.CryptoKeyConfig 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.datafusion.v1.CryptoKeyConfig) {
-        return mergeFrom((com.google.cloud.datafusion.v1.CryptoKeyConfig)other);
+        return mergeFrom((com.google.cloud.datafusion.v1.CryptoKeyConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -453,6 +486,8 @@ public Builder mergeFrom(
 
     private java.lang.Object keyReference_ = "";
     /**
+     *
+     *
      * 
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -460,13 +495,13 @@ public Builder mergeFrom(
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @return The keyReference. */ public java.lang.String getKeyReference() { java.lang.Object ref = keyReference_; 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(); keyReference_ = s; return s; @@ -475,6 +510,8 @@ public java.lang.String getKeyReference() { } } /** + * + * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -482,15 +519,14 @@ public java.lang.String getKeyReference() {
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for keyReference. */ - public com.google.protobuf.ByteString - getKeyReferenceBytes() { + public com.google.protobuf.ByteString getKeyReferenceBytes() { java.lang.Object ref = keyReference_; 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); keyReference_ = b; return b; } else { @@ -498,6 +534,8 @@ public java.lang.String getKeyReference() { } } /** + * + * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -505,20 +543,22 @@ public java.lang.String getKeyReference() {
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @param value The keyReference to set. * @return This builder for chaining. */ - public Builder setKeyReference( - java.lang.String value) { + public Builder setKeyReference(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + keyReference_ = value; onChanged(); return this; } /** + * + * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -526,15 +566,18 @@ public Builder setKeyReference(
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearKeyReference() { - + keyReference_ = getDefaultInstance().getKeyReference(); onChanged(); return this; } /** + * + * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -542,23 +585,23 @@ public Builder clearKeyReference() {
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for keyReference to set. * @return This builder for chaining. */ - public Builder setKeyReferenceBytes( - com.google.protobuf.ByteString value) { + public Builder setKeyReferenceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + keyReference_ = 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); } @@ -568,12 +611,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.CryptoKeyConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.CryptoKeyConfig) private static final com.google.cloud.datafusion.v1.CryptoKeyConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.CryptoKeyConfig(); } @@ -582,16 +625,16 @@ public static com.google.cloud.datafusion.v1.CryptoKeyConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CryptoKeyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CryptoKeyConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CryptoKeyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CryptoKeyConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -606,6 +649,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.CryptoKeyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.java index 24899686..f5ef8603 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface CryptoKeyConfigOrBuilder extends +public interface CryptoKeyConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.CryptoKeyConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -15,10 +33,13 @@ public interface CryptoKeyConfigOrBuilder extends
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @return The keyReference. */ java.lang.String getKeyReference(); /** + * + * *
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -26,8 +47,8 @@ public interface CryptoKeyConfigOrBuilder extends
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for keyReference. */ - com.google.protobuf.ByteString - getKeyReferenceBytes(); + com.google.protobuf.ByteString getKeyReferenceBytes(); } diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java new file mode 100644 index 00000000..20b2d94f --- /dev/null +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java @@ -0,0 +1,479 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1/datafusion.proto + +package com.google.cloud.datafusion.v1; + +public final class Datafusion { + private Datafusion() {} + + 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_datafusion_v1_NetworkConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_NetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_Version_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_Version_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_Accelerator_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_Accelerator_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_CryptoKeyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_Instance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_Instance_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_Instance_OptionsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_Instance_OptionsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1_OperationMetadata_AdditionalStatusEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1_OperationMetadata_AdditionalStatusEntry_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/datafusion/v1/datafusion." + + "proto\022\032google.cloud.datafusion.v1\032\034googl" + + "e/api/annotations.proto\032\027google/api/clie" + + "nt.proto\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\032#google/lon" + + "grunning/operations.proto\032 google/protob" + + "uf/field_mask.proto\032\037google/protobuf/tim" + + "estamp.proto\"7\n\rNetworkConfig\022\017\n\007network" + + "\030\001 \001(\t\022\025\n\rip_allocation\030\002 \001(\t\"\335\001\n\007Versio" + + "n\022\026\n\016version_number\030\001 \001(\t\022\027\n\017default_ver" + + "sion\030\002 \001(\010\022\032\n\022available_features\030\003 \003(\t\0226" + + "\n\004type\030\004 \001(\0162(.google.cloud.datafusion.v" + + "1.Version.Type\"M\n\004Type\022\024\n\020TYPE_UNSPECIFI" + + "ED\020\000\022\020\n\014TYPE_PREVIEW\020\001\022\035\n\031TYPE_GENERAL_A" + + "VAILABILITY\020\002\"\307\002\n\013Accelerator\022Q\n\020acceler" + + "ator_type\030\001 \001(\01627.google.cloud.datafusio" + + "n.v1.Accelerator.AcceleratorType\022<\n\005stat" + + "e\030\002 \001(\0162-.google.cloud.datafusion.v1.Acc" + + "elerator.State\"_\n\017AcceleratorType\022 \n\034ACC" + + "ELERATOR_TYPE_UNSPECIFIED\020\000\022\007\n\003CDC\020\001\022\016\n\n" + + "HEALTHCARE\020\002\022\021\n\rCCAI_INSIGHTS\020\003\"F\n\005State" + + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010" + + "DISABLED\020\002\022\013\n\007UNKNOWN\020\003\"P\n\017CryptoKeyConf" + + "ig\022=\n\rkey_reference\030\001 \001(\tB&\372A#\n!cloudkms" + + ".googleapis.com/CryptoKey\"\322\r\n\010Instance\0228" + + "\n\004name\030\001 \001(\tB*\340A\003\372A$\n\"datafusion.googlea" + + "pis.com/Instance\022\023\n\013description\030\002 \001(\t\022<\n" + + "\004type\030\003 \001(\0162).google.cloud.datafusion.v1" + + ".Instance.TypeB\003\340A\002\022\"\n\032enable_stackdrive" + + "r_logging\030\004 \001(\010\022%\n\035enable_stackdriver_mo" + + "nitoring\030\005 \001(\010\022\030\n\020private_instance\030\006 \001(\010" + + "\022A\n\016network_config\030\007 \001(\0132).google.cloud." + + "datafusion.v1.NetworkConfig\022@\n\006labels\030\010 " + + "\003(\01320.google.cloud.datafusion.v1.Instanc" + + "e.LabelsEntry\022B\n\007options\030\t \003(\01321.google." + + "cloud.datafusion.v1.Instance.OptionsEntr" + + "y\0224\n\013create_time\030\n \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022>\n\005state\030\014" + + " \001(\0162*.google.cloud.datafusion.v1.Instan" + + "ce.StateB\003\340A\003\022\032\n\rstate_message\030\r \001(\tB\003\340A" + + "\003\022\035\n\020service_endpoint\030\016 \001(\tB\003\340A\003\022\014\n\004zone" + + "\030\017 \001(\t\022\017\n\007version\030\020 \001(\t\022\036\n\017service_accou" + + "nt\030\021 \001(\tB\005\030\001\340A\003\022\024\n\014display_name\030\022 \001(\t\022>\n" + + "\021available_version\030\023 \003(\0132#.google.cloud." + + "datafusion.v1.Version\022\031\n\014api_endpoint\030\024 " + + "\001(\tB\003\340A\003\022\027\n\ngcs_bucket\030\025 \001(\tB\003\340A\003\022=\n\014acc" + + "elerators\030\026 \003(\0132\'.google.cloud.datafusio" + + "n.v1.Accelerator\022\037\n\022p4_service_account\030\027" + + " \001(\tB\003\340A\003\022\036\n\021tenant_project_id\030\030 \001(\tB\003\340A" + + "\003\022 \n\030dataproc_service_account\030\031 \001(\t\022\023\n\013e" + + "nable_rbac\030\033 \001(\010\022F\n\021crypto_key_config\030\034 " + + "\001(\0132+.google.cloud.datafusion.v1.CryptoK" + + "eyConfig\022Q\n\017disabled_reason\030\035 \003(\01623.goog" + + "le.cloud.datafusion.v1.Instance.Disabled" + + "ReasonB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\032.\n\014OptionsEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"F\n\004Type\022\024\n\020TY" + + "PE_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\016\n\nENTERPRIS" + + "E\020\002\022\r\n\tDEVELOPER\020\003\"\264\001\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006ACTIVE\020\002\022\n\n" + + "\006FAILED\020\003\022\014\n\010DELETING\020\004\022\r\n\tUPGRADING\020\005\022\016" + + "\n\nRESTARTING\020\006\022\014\n\010UPDATING\020\007\022\021\n\rAUTO_UPD" + + "ATING\020\010\022\022\n\016AUTO_UPGRADING\020\t\022\014\n\010DISABLED\020" + + "\n\"D\n\016DisabledReason\022\037\n\033DISABLED_REASON_U" + + "NSPECIFIED\020\000\022\021\n\rKMS_KEY_ISSUE\020\001:e\352Ab\n\"da" + + "tafusion.googleapis.com/Instance\022 * Request message for deleting a Data Fusion instance. *
* * Protobuf type {@code google.cloud.datafusion.v1.DeleteInstanceRequest} */ -public final class DeleteInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.DeleteInstanceRequest) DeleteInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteInstanceRequest.newBuilder() to construct. private DeleteInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteInstanceRequest( 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 DeleteInstanceRequest( } 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.DeleteInstanceRequest.class, com.google.cloud.datafusion.v1.DeleteInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.DeleteInstanceRequest.class, + com.google.cloud.datafusion.v1.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * 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 instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * 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.datafusion.v1.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.DeleteInstanceRequest other = (com.google.cloud.datafusion.v1.DeleteInstanceRequest) obj; + com.google.cloud.datafusion.v1.DeleteInstanceRequest other = + (com.google.cloud.datafusion.v1.DeleteInstanceRequest) 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,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.DeleteInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.DeleteInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest 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 message for deleting a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.DeleteInstanceRequest} */ - 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.datafusion.v1.DeleteInstanceRequest) com.google.cloud.datafusion.v1.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.DeleteInstanceRequest.class, com.google.cloud.datafusion.v1.DeleteInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.DeleteInstanceRequest.class, + com.google.cloud.datafusion.v1.DeleteInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1.DeleteInstanceRequest.newBuilder() @@ -324,16 +360,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(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.datafusion.v1.DeleteInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1.DeleteInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1.DeleteInstanceRequest result = new com.google.cloud.datafusion.v1.DeleteInstanceRequest(this); + com.google.cloud.datafusion.v1.DeleteInstanceRequest result = + new com.google.cloud.datafusion.v1.DeleteInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.datafusion.v1.DeleteInstanceRequest 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.datafusion.v1.DeleteInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1.DeleteInstanceRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1.DeleteInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.DeleteInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1.DeleteInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1.DeleteInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1.DeleteInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1.DeleteInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.DeleteInstanceRequest) private static final com.google.cloud.datafusion.v1.DeleteInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.DeleteInstanceRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.datafusion.v1.DeleteInstanceRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java new file mode 100644 index 00000000..85f5a514 --- /dev/null +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.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/datafusion/v1/datafusion.proto + +package com.google.cloud.datafusion.v1; + +public interface DeleteInstanceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.DeleteInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * 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/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.java index dbfe2d6f..b1368fdc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** + * + * *
  * Request message for getting details about a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.GetInstanceRequest} */ -public final class GetInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.GetInstanceRequest) GetInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetInstanceRequest.newBuilder() to construct. private GetInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetInstanceRequest( 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 GetInstanceRequest( } 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.GetInstanceRequest.class, com.google.cloud.datafusion.v1.GetInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.GetInstanceRequest.class, + com.google.cloud.datafusion.v1.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * 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 instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * 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.datafusion.v1.GetInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.GetInstanceRequest other = (com.google.cloud.datafusion.v1.GetInstanceRequest) obj; + com.google.cloud.datafusion.v1.GetInstanceRequest other = + (com.google.cloud.datafusion.v1.GetInstanceRequest) 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,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.GetInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.GetInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest 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 message for getting details about a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.GetInstanceRequest} */ - 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.datafusion.v1.GetInstanceRequest) com.google.cloud.datafusion.v1.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.GetInstanceRequest.class, com.google.cloud.datafusion.v1.GetInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.GetInstanceRequest.class, + com.google.cloud.datafusion.v1.GetInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1.GetInstanceRequest.newBuilder() @@ -324,16 +360,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(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_GetInstanceRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.datafusion.v1.GetInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1.GetInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1.GetInstanceRequest result = new com.google.cloud.datafusion.v1.GetInstanceRequest(this); + com.google.cloud.datafusion.v1.GetInstanceRequest result = + new com.google.cloud.datafusion.v1.GetInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.datafusion.v1.GetInstanceRequest 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.datafusion.v1.GetInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1.GetInstanceRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1.GetInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.GetInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1.GetInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1.GetInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1.GetInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1.GetInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * 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 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * 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 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * 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,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.GetInstanceRequest) private static final com.google.cloud.datafusion.v1.GetInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.GetInstanceRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.datafusion.v1.GetInstanceRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java new file mode 100644 index 00000000..07465904 --- /dev/null +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.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/datafusion/v1/datafusion.proto + +package com.google.cloud.datafusion.v1; + +public interface GetInstanceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.GetInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}.
+   * 
+ * + * + * 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/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Instance.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Instance.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Instance.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Instance.java index 283312e4..8b1d305a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Instance.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Instance.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** + * + * *
  * Represents a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.Instance} */ -public final class Instance extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Instance extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.Instance) InstanceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Instance.newBuilder() to construct. private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Instance() { name_ = ""; description_ = ""; @@ -42,16 +60,15 @@ private Instance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Instance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Instance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,242 +88,276 @@ private Instance( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 32: { - - enableStackdriverLogging_ = input.readBool(); - break; - } - case 40: { - - enableStackdriverMonitoring_ = input.readBool(); - break; - } - case 48: { - - privateInstance_ = input.readBool(); - break; - } - case 58: { - com.google.cloud.datafusion.v1.NetworkConfig.Builder subBuilder = null; - if (networkConfig_ != null) { - subBuilder = networkConfig_.toBuilder(); + name_ = s; + break; } - networkConfig_ = input.readMessage(com.google.cloud.datafusion.v1.NetworkConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(networkConfig_); - networkConfig_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; } + case 24: + { + int rawValue = input.readEnum(); - break; - } - case 66: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + type_ = rawValue; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 74: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - options_ = com.google.protobuf.MapField.newMapField( - OptionsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + case 32: + { + enableStackdriverLogging_ = input.readBool(); + break; } - com.google.protobuf.MapEntry - options__ = input.readMessage( - OptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - options_.getMutableMap().put( - options__.getKey(), options__.getValue()); - break; - } - case 82: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 40: + { + enableStackdriverMonitoring_ = input.readBool(); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 48: + { + privateInstance_ = input.readBool(); + break; } + case 58: + { + com.google.cloud.datafusion.v1.NetworkConfig.Builder subBuilder = null; + if (networkConfig_ != null) { + subBuilder = networkConfig_.toBuilder(); + } + networkConfig_ = + input.readMessage( + com.google.cloud.datafusion.v1.NetworkConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networkConfig_); + networkConfig_ = subBuilder.buildPartial(); + } - break; - } - case 90: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 66: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } + case 74: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + options_ = + com.google.protobuf.MapField.newMapField( + OptionsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry options__ = + input.readMessage( + OptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + options_.getMutableMap().put(options__.getKey(), options__.getValue()); + break; + } + case 82: + { + 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 96: { - int rawValue = input.readEnum(); + break; + } + case 90: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - state_ = rawValue; - break; - } - case 106: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 96: + { + int rawValue = input.readEnum(); - stateMessage_ = s; - break; - } - case 114: { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); - serviceEndpoint_ = s; - break; - } - case 122: { - java.lang.String s = input.readStringRequireUtf8(); + stateMessage_ = s; + break; + } + case 114: + { + java.lang.String s = input.readStringRequireUtf8(); - zone_ = s; - break; - } - case 130: { - java.lang.String s = input.readStringRequireUtf8(); + serviceEndpoint_ = s; + break; + } + case 122: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 138: { - java.lang.String s = input.readStringRequireUtf8(); + zone_ = s; + break; + } + case 130: + { + java.lang.String s = input.readStringRequireUtf8(); - serviceAccount_ = s; - break; - } - case 146: { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 138: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 154: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - availableVersion_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + serviceAccount_ = s; + break; } - availableVersion_.add( - input.readMessage(com.google.cloud.datafusion.v1.Version.parser(), extensionRegistry)); - break; - } - case 162: { - java.lang.String s = input.readStringRequireUtf8(); + case 146: + { + java.lang.String s = input.readStringRequireUtf8(); - apiEndpoint_ = s; - break; - } - case 170: { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 154: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + availableVersion_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + availableVersion_.add( + input.readMessage( + com.google.cloud.datafusion.v1.Version.parser(), extensionRegistry)); + break; + } + case 162: + { + java.lang.String s = input.readStringRequireUtf8(); - gcsBucket_ = s; - break; - } - case 178: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - accelerators_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + apiEndpoint_ = s; + break; } - accelerators_.add( - input.readMessage(com.google.cloud.datafusion.v1.Accelerator.parser(), extensionRegistry)); - break; - } - case 186: { - java.lang.String s = input.readStringRequireUtf8(); + case 170: + { + java.lang.String s = input.readStringRequireUtf8(); - p4ServiceAccount_ = s; - break; - } - case 194: { - java.lang.String s = input.readStringRequireUtf8(); + gcsBucket_ = s; + break; + } + case 178: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + accelerators_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + accelerators_.add( + input.readMessage( + com.google.cloud.datafusion.v1.Accelerator.parser(), extensionRegistry)); + break; + } + case 186: + { + java.lang.String s = input.readStringRequireUtf8(); - tenantProjectId_ = s; - break; - } - case 202: { - java.lang.String s = input.readStringRequireUtf8(); + p4ServiceAccount_ = s; + break; + } + case 194: + { + java.lang.String s = input.readStringRequireUtf8(); - dataprocServiceAccount_ = s; - break; - } - case 216: { + tenantProjectId_ = s; + break; + } + case 202: + { + java.lang.String s = input.readStringRequireUtf8(); - enableRbac_ = input.readBool(); - break; - } - case 226: { - com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder subBuilder = null; - if (cryptoKeyConfig_ != null) { - subBuilder = cryptoKeyConfig_.toBuilder(); + dataprocServiceAccount_ = s; + break; } - cryptoKeyConfig_ = input.readMessage(com.google.cloud.datafusion.v1.CryptoKeyConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cryptoKeyConfig_); - cryptoKeyConfig_ = subBuilder.buildPartial(); + case 216: + { + enableRbac_ = input.readBool(); + break; } + case 226: + { + com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder subBuilder = null; + if (cryptoKeyConfig_ != null) { + subBuilder = cryptoKeyConfig_.toBuilder(); + } + cryptoKeyConfig_ = + input.readMessage( + com.google.cloud.datafusion.v1.CryptoKeyConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cryptoKeyConfig_); + cryptoKeyConfig_ = subBuilder.buildPartial(); + } - break; - } - case 232: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - disabledReason_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + break; } - disabledReason_.add(rawValue); - break; - } - case 234: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 232: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000010) != 0)) { disabledReason_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } disabledReason_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 234: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + disabledReason_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + disabledReason_.add(rawValue); + } + input.popLimit(oldLimit); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -314,8 +365,7 @@ private Instance( } 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_ & 0x00000004) != 0)) { availableVersion_ = java.util.Collections.unmodifiableList(availableVersion_); @@ -330,34 +380,38 @@ private Instance( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Instance_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_Instance_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 8: return internalGetLabels(); case 9: return internalGetOptions(); 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Instance_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.Instance.class, com.google.cloud.datafusion.v1.Instance.Builder.class); + com.google.cloud.datafusion.v1.Instance.class, + com.google.cloud.datafusion.v1.Instance.Builder.class); } /** + * + * *
    * Represents the type of Data Fusion instance. Each type is configured with
    * the default settings for processing and memory.
@@ -365,9 +419,10 @@ protected com.google.protobuf.MapField internalGetMapField(
    *
    * Protobuf enum {@code google.cloud.datafusion.v1.Instance.Type}
    */
-  public enum Type
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * No type specified. The instance creation will fail.
      * 
@@ -376,6 +431,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Basic Data Fusion instance. In Basic type, the user will be able to
      * create data pipelines using point and click UI. However, there are
@@ -387,6 +444,8 @@ public enum Type
      */
     BASIC(1),
     /**
+     *
+     *
      * 
      * Enterprise Data Fusion instance. In Enterprise type, the user will have
      * all features available, such as support for streaming pipelines, higher
@@ -397,6 +456,8 @@ public enum Type
      */
     ENTERPRISE(2),
     /**
+     *
+     *
      * 
      * Developer Data Fusion instance. In Developer type, the user will have all
      * features available but with restrictive capabilities. This is to help
@@ -411,6 +472,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * No type specified. The instance creation will fail.
      * 
@@ -419,6 +482,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Basic Data Fusion instance. In Basic type, the user will be able to
      * create data pipelines using point and click UI. However, there are
@@ -430,6 +495,8 @@ public enum Type
      */
     public static final int BASIC_VALUE = 1;
     /**
+     *
+     *
      * 
      * Enterprise Data Fusion instance. In Enterprise type, the user will have
      * all features available, such as support for streaming pipelines, higher
@@ -440,6 +507,8 @@ public enum Type
      */
     public static final int ENTERPRISE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Developer Data Fusion instance. In Developer type, the user will have all
      * features available but with restrictive capabilities. This is to help
@@ -451,7 +520,6 @@ public enum Type
      */
     public static final int DEVELOPER_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -476,50 +544,51 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0: return TYPE_UNSPECIFIED;
-        case 1: return BASIC;
-        case 2: return ENTERPRISE;
-        case 3: return DEVELOPER;
-        default: return null;
+        case 0:
+          return TYPE_UNSPECIFIED;
+        case 1:
+          return BASIC;
+        case 2:
+          return ENTERPRISE;
+        case 3:
+          return DEVELOPER;
+        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() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.datafusion.v1.Instance.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;
@@ -537,15 +606,18 @@ private Type(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Represents the state of a Data Fusion instance
    * 
* * Protobuf enum {@code google.cloud.datafusion.v1.Instance.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Instance does not have a state yet
      * 
@@ -554,6 +626,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Instance is being created
      * 
@@ -562,6 +636,8 @@ public enum State */ CREATING(1), /** + * + * *
      * Instance is active and ready for requests. This corresponds to 'RUNNING'
      * in datafusion.v1beta1.
@@ -571,6 +647,8 @@ public enum State
      */
     ACTIVE(2),
     /**
+     *
+     *
      * 
      * Instance creation failed
      * 
@@ -579,6 +657,8 @@ public enum State */ FAILED(3), /** + * + * *
      * Instance is being deleted
      * 
@@ -587,6 +667,8 @@ public enum State */ DELETING(4), /** + * + * *
      * Instance is being upgraded
      * 
@@ -595,6 +677,8 @@ public enum State */ UPGRADING(5), /** + * + * *
      * Instance is being restarted
      * 
@@ -603,6 +687,8 @@ public enum State */ RESTARTING(6), /** + * + * *
      * Instance is being updated on customer request
      * 
@@ -611,6 +697,8 @@ public enum State */ UPDATING(7), /** + * + * *
      * Instance is being auto-updated
      * 
@@ -619,6 +707,8 @@ public enum State */ AUTO_UPDATING(8), /** + * + * *
      * Instance is being auto-upgraded
      * 
@@ -627,6 +717,8 @@ public enum State */ AUTO_UPGRADING(9), /** + * + * *
      * Instance is disabled
      * 
@@ -638,6 +730,8 @@ public enum State ; /** + * + * *
      * Instance does not have a state yet
      * 
@@ -646,6 +740,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Instance is being created
      * 
@@ -654,6 +750,8 @@ public enum State */ public static final int CREATING_VALUE = 1; /** + * + * *
      * Instance is active and ready for requests. This corresponds to 'RUNNING'
      * in datafusion.v1beta1.
@@ -663,6 +761,8 @@ public enum State
      */
     public static final int ACTIVE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Instance creation failed
      * 
@@ -671,6 +771,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * Instance is being deleted
      * 
@@ -679,6 +781,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
      * Instance is being upgraded
      * 
@@ -687,6 +791,8 @@ public enum State */ public static final int UPGRADING_VALUE = 5; /** + * + * *
      * Instance is being restarted
      * 
@@ -695,6 +801,8 @@ public enum State */ public static final int RESTARTING_VALUE = 6; /** + * + * *
      * Instance is being updated on customer request
      * 
@@ -703,6 +811,8 @@ public enum State */ public static final int UPDATING_VALUE = 7; /** + * + * *
      * Instance is being auto-updated
      * 
@@ -711,6 +821,8 @@ public enum State */ public static final int AUTO_UPDATING_VALUE = 8; /** + * + * *
      * Instance is being auto-upgraded
      * 
@@ -719,6 +831,8 @@ public enum State */ public static final int AUTO_UPGRADING_VALUE = 9; /** + * + * *
      * Instance is disabled
      * 
@@ -727,7 +841,6 @@ public enum State */ public static final int DISABLED_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -752,57 +865,65 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return CREATING; - case 2: return ACTIVE; - case 3: return FAILED; - case 4: return DELETING; - case 5: return UPGRADING; - case 6: return RESTARTING; - case 7: return UPDATING; - case 8: return AUTO_UPDATING; - case 9: return AUTO_UPGRADING; - case 10: return DISABLED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return CREATING; + case 2: + return ACTIVE; + case 3: + return FAILED; + case 4: + return DELETING; + case 5: + return UPGRADING; + case 6: + return RESTARTING; + case 7: + return UPDATING; + case 8: + return AUTO_UPDATING; + case 9: + return AUTO_UPGRADING; + case 10: + return DISABLED; + 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.datafusion.v1.Instance.getDescriptor().getEnumTypes().get(1); } 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; @@ -820,15 +941,18 @@ private State(int value) { } /** + * + * *
    * The reason for disabling the instance if the state is DISABLED.
    * 
* * Protobuf enum {@code google.cloud.datafusion.v1.Instance.DisabledReason} */ - public enum DisabledReason - implements com.google.protobuf.ProtocolMessageEnum { + public enum DisabledReason implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * This is an unknown reason for disabling.
      * 
@@ -837,6 +961,8 @@ public enum DisabledReason */ DISABLED_REASON_UNSPECIFIED(0), /** + * + * *
      * The KMS key used by the instance is either revoked or denied access to
      * 
@@ -848,6 +974,8 @@ public enum DisabledReason ; /** + * + * *
      * This is an unknown reason for disabling.
      * 
@@ -856,6 +984,8 @@ public enum DisabledReason */ public static final int DISABLED_REASON_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The KMS key used by the instance is either revoked or denied access to
      * 
@@ -864,7 +994,6 @@ public enum DisabledReason */ public static final int KMS_KEY_ISSUE_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -889,48 +1018,47 @@ public static DisabledReason valueOf(int value) { */ public static DisabledReason forNumber(int value) { switch (value) { - case 0: return DISABLED_REASON_UNSPECIFIED; - case 1: return KMS_KEY_ISSUE; - default: return null; + case 0: + return DISABLED_REASON_UNSPECIFIED; + case 1: + return KMS_KEY_ISSUE; + 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< - DisabledReason> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DisabledReason findValueByNumber(int number) { - return DisabledReason.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 DisabledReason findValueByNumber(int number) { + return DisabledReason.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.datafusion.v1.Instance.getDescriptor().getEnumTypes().get(2); } private static final DisabledReason[] VALUES = values(); - public static DisabledReason valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DisabledReason 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; @@ -950,12 +1078,17 @@ private DisabledReason(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -964,30 +1097,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; } } /** + * + * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -998,11 +1133,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * A description of this instance.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -1011,29 +1149,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** + * + * *
    * A description of this instance.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1044,38 +1182,54 @@ public java.lang.String getDescription() { public static final int TYPE_FIELD_NUMBER = 3; private int type_; /** + * + * *
    * Required. Instance type.
    * 
* - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. Instance type.
    * 
* - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.datafusion.v1.Instance.Type getType() { + @java.lang.Override + public com.google.cloud.datafusion.v1.Instance.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Instance.Type result = com.google.cloud.datafusion.v1.Instance.Type.valueOf(type_); + com.google.cloud.datafusion.v1.Instance.Type result = + com.google.cloud.datafusion.v1.Instance.Type.valueOf(type_); return result == null ? com.google.cloud.datafusion.v1.Instance.Type.UNRECOGNIZED : result; } public static final int ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER = 4; private boolean enableStackdriverLogging_; /** + * + * *
    * Option to enable Stackdriver Logging.
    * 
* * bool enable_stackdriver_logging = 4; + * * @return The enableStackdriverLogging. */ @java.lang.Override @@ -1086,11 +1240,14 @@ public boolean getEnableStackdriverLogging() { public static final int ENABLE_STACKDRIVER_MONITORING_FIELD_NUMBER = 5; private boolean enableStackdriverMonitoring_; /** + * + * *
    * Option to enable Stackdriver Monitoring.
    * 
* * bool enable_stackdriver_monitoring = 5; + * * @return The enableStackdriverMonitoring. */ @java.lang.Override @@ -1101,6 +1258,8 @@ public boolean getEnableStackdriverMonitoring() { public static final int PRIVATE_INSTANCE_FIELD_NUMBER = 6; private boolean privateInstance_; /** + * + * *
    * Specifies whether the Data Fusion instance should be private. If set to
    * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -1108,6 +1267,7 @@ public boolean getEnableStackdriverMonitoring() {
    * 
* * bool private_instance = 6; + * * @return The privateInstance. */ @java.lang.Override @@ -1118,12 +1278,15 @@ public boolean getPrivateInstance() { public static final int NETWORK_CONFIG_FIELD_NUMBER = 7; private com.google.cloud.datafusion.v1.NetworkConfig networkConfig_; /** + * + * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1.NetworkConfig network_config = 7; + * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -1131,19 +1294,26 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** + * + * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1.NetworkConfig network_config = 7; + * * @return The networkConfig. */ @java.lang.Override public com.google.cloud.datafusion.v1.NetworkConfig getNetworkConfig() { - return networkConfig_ == null ? com.google.cloud.datafusion.v1.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.cloud.datafusion.v1.NetworkConfig.getDefaultInstance() + : networkConfig_; } /** + * + * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
@@ -1157,24 +1327,23 @@ public com.google.cloud.datafusion.v1.NetworkConfigOrBuilder getNetworkConfigOrB
   }
 
   public static final int LABELS_FIELD_NUMBER = 8;
+
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Instance_LabelsEntry_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.datafusion.v1.Datafusion
+                .internal_static_google_cloud_datafusion_v1_Instance_LabelsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> labels_;
-  private com.google.protobuf.MapField
-  internalGetLabels() {
+
+  private com.google.protobuf.MapField labels_;
+
+  private com.google.protobuf.MapField internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -1183,6 +1352,8 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1191,22 +1362,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 8;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1216,11 +1387,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1230,16 +1402,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1249,12 +1421,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1262,24 +1433,23 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int OPTIONS_FIELD_NUMBER = 9;
+
   private static final class OptionsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Instance_OptionsEntry_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.datafusion.v1.Datafusion
+                .internal_static_google_cloud_datafusion_v1_Instance_OptionsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> options_;
-  private com.google.protobuf.MapField
-  internalGetOptions() {
+
+  private com.google.protobuf.MapField options_;
+
+  private com.google.protobuf.MapField internalGetOptions() {
     if (options_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          OptionsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(OptionsDefaultEntryHolder.defaultEntry);
     }
     return options_;
   }
@@ -1288,6 +1458,8 @@ public int getOptionsCount() {
     return internalGetOptions().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1295,22 +1467,22 @@ public int getOptionsCount() {
    *
    * map<string, string> options = 9;
    */
-
   @java.lang.Override
-  public boolean containsOptions(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsOptions(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetOptions().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getOptionsMap()} instead.
-   */
+  /** Use {@link #getOptionsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getOptions() {
     return getOptionsMap();
   }
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1319,11 +1491,12 @@ public java.util.Map getOptions() {
    * map<string, string> options = 9;
    */
   @java.lang.Override
-
   public java.util.Map getOptionsMap() {
     return internalGetOptions().getMap();
   }
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1332,16 +1505,16 @@ public java.util.Map getOptionsMap() {
    * map<string, string> options = 9;
    */
   @java.lang.Override
-
-  public java.lang.String getOptionsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetOptions().getMap();
+  public java.lang.String getOptionsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetOptions().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1350,12 +1523,11 @@ public java.lang.String getOptionsOrDefault(
    * map<string, string> options = 9;
    */
   @java.lang.Override
-
-  public java.lang.String getOptionsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetOptions().getMap();
+  public java.lang.String getOptionsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetOptions().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1365,11 +1537,15 @@ public java.lang.String getOptionsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 10;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1377,11 +1553,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1389,11 +1569,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1403,11 +1586,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1415,11 +1602,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1427,11 +1618,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1441,39 +1635,55 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 12; private int state_; /** + * + * *
    * Output only. The current state of this Data Fusion instance.
    * 
* - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.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 this Data Fusion instance.
    * 
* - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.datafusion.v1.Instance.State getState() { + @java.lang.Override + public com.google.cloud.datafusion.v1.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Instance.State result = com.google.cloud.datafusion.v1.Instance.State.valueOf(state_); + com.google.cloud.datafusion.v1.Instance.State result = + com.google.cloud.datafusion.v1.Instance.State.valueOf(state_); return result == null ? com.google.cloud.datafusion.v1.Instance.State.UNRECOGNIZED : result; } public static final int STATE_MESSAGE_FIELD_NUMBER = 13; private volatile java.lang.Object stateMessage_; /** + * + * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateMessage. */ @java.lang.Override @@ -1482,30 +1692,30 @@ public java.lang.String getStateMessage() { 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(); stateMessage_ = s; return s; } } /** + * + * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateMessageBytes() { + public com.google.protobuf.ByteString getStateMessageBytes() { java.lang.Object ref = stateMessage_; 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); stateMessage_ = b; return b; } else { @@ -1516,11 +1726,14 @@ public java.lang.String getStateMessage() { public static final int SERVICE_ENDPOINT_FIELD_NUMBER = 14; private volatile java.lang.Object serviceEndpoint_; /** + * + * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceEndpoint. */ @java.lang.Override @@ -1529,29 +1742,29 @@ public java.lang.String getServiceEndpoint() { 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(); serviceEndpoint_ = s; return s; } } /** + * + * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceEndpointBytes() { + public com.google.protobuf.ByteString getServiceEndpointBytes() { java.lang.Object ref = serviceEndpoint_; 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); serviceEndpoint_ = b; return b; } else { @@ -1562,12 +1775,15 @@ public java.lang.String getServiceEndpoint() { public static final int ZONE_FIELD_NUMBER = 15; private volatile java.lang.Object zone_; /** + * + * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; + * * @return The zone. */ @java.lang.Override @@ -1576,30 +1792,30 @@ public java.lang.String getZone() { 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(); zone_ = s; return s; } } /** + * + * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; + * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -1610,11 +1826,14 @@ public java.lang.String getZone() { public static final int VERSION_FIELD_NUMBER = 16; private volatile java.lang.Object version_; /** + * + * *
    * Current version of the Data Fusion. Only specifiable in Update.
    * 
* * string version = 16; + * * @return The version. */ @java.lang.Override @@ -1623,29 +1842,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** + * + * *
    * Current version of the Data Fusion. Only specifiable in Update.
    * 
* * string version = 16; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -1656,46 +1875,55 @@ public java.lang.String getVersion() { public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 17; private volatile java.lang.Object serviceAccount_; /** + * + * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1/datafusion.proto;l=361 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1/datafusion.proto;l=361 * @return The serviceAccount. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getServiceAccount() { + @java.lang.Deprecated + public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; } } /** + * + * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1/datafusion.proto;l=361 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1/datafusion.proto;l=361 * @return The bytes for serviceAccount. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getServiceAccountBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -1706,11 +1934,14 @@ public java.lang.String getVersion() { public static final int DISPLAY_NAME_FIELD_NUMBER = 18; private volatile java.lang.Object displayName_; /** + * + * *
    * Display name for an instance.
    * 
* * string display_name = 18; + * * @return The displayName. */ @java.lang.Override @@ -1719,29 +1950,29 @@ 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; } } /** + * + * *
    * Display name for an instance.
    * 
* * string display_name = 18; + * * @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 { @@ -1752,6 +1983,8 @@ public java.lang.String getDisplayName() { public static final int AVAILABLE_VERSION_FIELD_NUMBER = 19; private java.util.List availableVersion_; /** + * + * *
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1764,6 +1997,8 @@ public java.util.List getAvailableVersio
     return availableVersion_;
   }
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1772,11 +2007,13 @@ public java.util.List getAvailableVersio
    * repeated .google.cloud.datafusion.v1.Version available_version = 19;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAvailableVersionOrBuilderList() {
     return availableVersion_;
   }
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1789,6 +2026,8 @@ public int getAvailableVersionCount() {
     return availableVersion_.size();
   }
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1801,6 +2040,8 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersion(int index) {
     return availableVersion_.get(index);
   }
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1809,19 +2050,21 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersion(int index) {
    * repeated .google.cloud.datafusion.v1.Version available_version = 19;
    */
   @java.lang.Override
-  public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuilder(
-      int index) {
+  public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuilder(int index) {
     return availableVersion_.get(index);
   }
 
   public static final int API_ENDPOINT_FIELD_NUMBER = 20;
   private volatile java.lang.Object apiEndpoint_;
   /**
+   *
+   *
    * 
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiEndpoint. */ @java.lang.Override @@ -1830,29 +2073,29 @@ public java.lang.String getApiEndpoint() { 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(); apiEndpoint_ = s; return s; } } /** + * + * *
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiEndpointBytes() { + public com.google.protobuf.ByteString getApiEndpointBytes() { java.lang.Object ref = apiEndpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiEndpoint_ = b; return b; } else { @@ -1863,11 +2106,14 @@ public java.lang.String getApiEndpoint() { public static final int GCS_BUCKET_FIELD_NUMBER = 21; private volatile java.lang.Object gcsBucket_; /** + * + * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The gcsBucket. */ @java.lang.Override @@ -1876,29 +2122,29 @@ public java.lang.String getGcsBucket() { 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(); gcsBucket_ = s; return s; } } /** + * + * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for gcsBucket. */ @java.lang.Override - public com.google.protobuf.ByteString - getGcsBucketBytes() { + public com.google.protobuf.ByteString getGcsBucketBytes() { java.lang.Object ref = gcsBucket_; 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); gcsBucket_ = b; return b; } else { @@ -1909,6 +2155,8 @@ public java.lang.String getGcsBucket() { public static final int ACCELERATORS_FIELD_NUMBER = 22; private java.util.List accelerators_; /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1920,6 +2168,8 @@ public java.util.List getAccelerator return accelerators_; } /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1927,11 +2177,13 @@ public java.util.List getAccelerator * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ @java.lang.Override - public java.util.List + public java.util.List getAcceleratorsOrBuilderList() { return accelerators_; } /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1943,6 +2195,8 @@ public int getAcceleratorsCount() { return accelerators_.size(); } /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1954,6 +2208,8 @@ public com.google.cloud.datafusion.v1.Accelerator getAccelerators(int index) { return accelerators_.get(index); } /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1961,19 +2217,21 @@ public com.google.cloud.datafusion.v1.Accelerator getAccelerators(int index) { * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ @java.lang.Override - public com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder( - int index) { + public com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder(int index) { return accelerators_.get(index); } public static final int P4_SERVICE_ACCOUNT_FIELD_NUMBER = 23; private volatile java.lang.Object p4ServiceAccount_; /** + * + * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The p4ServiceAccount. */ @java.lang.Override @@ -1982,29 +2240,29 @@ public java.lang.String getP4ServiceAccount() { 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(); p4ServiceAccount_ = s; return s; } } /** + * + * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for p4ServiceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getP4ServiceAccountBytes() { + public com.google.protobuf.ByteString getP4ServiceAccountBytes() { java.lang.Object ref = p4ServiceAccount_; 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); p4ServiceAccount_ = b; return b; } else { @@ -2015,11 +2273,14 @@ public java.lang.String getP4ServiceAccount() { public static final int TENANT_PROJECT_ID_FIELD_NUMBER = 24; private volatile java.lang.Object tenantProjectId_; /** + * + * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tenantProjectId. */ @java.lang.Override @@ -2028,29 +2289,29 @@ public java.lang.String getTenantProjectId() { 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(); tenantProjectId_ = s; return s; } } /** + * + * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tenantProjectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTenantProjectIdBytes() { + public com.google.protobuf.ByteString getTenantProjectIdBytes() { java.lang.Object ref = tenantProjectId_; 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); tenantProjectId_ = b; return b; } else { @@ -2061,6 +2322,8 @@ public java.lang.String getTenantProjectId() { public static final int DATAPROC_SERVICE_ACCOUNT_FIELD_NUMBER = 25; private volatile java.lang.Object dataprocServiceAccount_; /** + * + * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -2069,6 +2332,7 @@ public java.lang.String getTenantProjectId() {
    * 
* * string dataproc_service_account = 25; + * * @return The dataprocServiceAccount. */ @java.lang.Override @@ -2077,14 +2341,15 @@ public java.lang.String getDataprocServiceAccount() { 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(); dataprocServiceAccount_ = s; return s; } } /** + * + * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -2093,16 +2358,15 @@ public java.lang.String getDataprocServiceAccount() {
    * 
* * string dataproc_service_account = 25; + * * @return The bytes for dataprocServiceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataprocServiceAccountBytes() { + public com.google.protobuf.ByteString getDataprocServiceAccountBytes() { java.lang.Object ref = dataprocServiceAccount_; 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); dataprocServiceAccount_ = b; return b; } else { @@ -2113,11 +2377,14 @@ public java.lang.String getDataprocServiceAccount() { public static final int ENABLE_RBAC_FIELD_NUMBER = 27; private boolean enableRbac_; /** + * + * *
    * Option to enable granular role-based access control.
    * 
* * bool enable_rbac = 27; + * * @return The enableRbac. */ @java.lang.Override @@ -2128,12 +2395,15 @@ public boolean getEnableRbac() { public static final int CRYPTO_KEY_CONFIG_FIELD_NUMBER = 28; private com.google.cloud.datafusion.v1.CryptoKeyConfig cryptoKeyConfig_; /** + * + * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28; + * * @return Whether the cryptoKeyConfig field is set. */ @java.lang.Override @@ -2141,19 +2411,26 @@ public boolean hasCryptoKeyConfig() { return cryptoKeyConfig_ != null; } /** + * + * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28; + * * @return The cryptoKeyConfig. */ @java.lang.Override public com.google.cloud.datafusion.v1.CryptoKeyConfig getCryptoKeyConfig() { - return cryptoKeyConfig_ == null ? com.google.cloud.datafusion.v1.CryptoKeyConfig.getDefaultInstance() : cryptoKeyConfig_; + return cryptoKeyConfig_ == null + ? com.google.cloud.datafusion.v1.CryptoKeyConfig.getDefaultInstance() + : cryptoKeyConfig_; } /** + * + * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
@@ -2169,34 +2446,51 @@ public com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder getCryptoKeyConfi
   public static final int DISABLED_REASON_FIELD_NUMBER = 29;
   private java.util.List disabledReason_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-      java.lang.Integer, com.google.cloud.datafusion.v1.Instance.DisabledReason> disabledReason_converter_ =
+          java.lang.Integer, com.google.cloud.datafusion.v1.Instance.DisabledReason>
+      disabledReason_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.datafusion.v1.Instance.DisabledReason>() {
-            public com.google.cloud.datafusion.v1.Instance.DisabledReason convert(java.lang.Integer from) {
+            public com.google.cloud.datafusion.v1.Instance.DisabledReason convert(
+                java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.datafusion.v1.Instance.DisabledReason result = com.google.cloud.datafusion.v1.Instance.DisabledReason.valueOf(from);
-              return result == null ? com.google.cloud.datafusion.v1.Instance.DisabledReason.UNRECOGNIZED : result;
+              com.google.cloud.datafusion.v1.Instance.DisabledReason result =
+                  com.google.cloud.datafusion.v1.Instance.DisabledReason.valueOf(from);
+              return result == null
+                  ? com.google.cloud.datafusion.v1.Instance.DisabledReason.UNRECOGNIZED
+                  : result;
             }
           };
   /**
+   *
+   *
    * 
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the disabledReason. */ @java.lang.Override - public java.util.List getDisabledReasonList() { + public java.util.List + getDisabledReasonList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datafusion.v1.Instance.DisabledReason>(disabledReason_, disabledReason_converter_); + java.lang.Integer, com.google.cloud.datafusion.v1.Instance.DisabledReason>( + disabledReason_, disabledReason_converter_); } /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of disabledReason. */ @java.lang.Override @@ -2204,11 +2498,16 @@ public int getDisabledReasonCount() { return disabledReason_.size(); } /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The disabledReason at the given index. */ @@ -2217,24 +2516,33 @@ public com.google.cloud.datafusion.v1.Instance.DisabledReason getDisabledReason( return disabledReason_converter_.convert(disabledReason_.get(index)); } /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for disabledReason. */ @java.lang.Override - public java.util.List - getDisabledReasonValueList() { + public java.util.List getDisabledReasonValueList() { return disabledReason_; } /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. */ @@ -2242,9 +2550,11 @@ public com.google.cloud.datafusion.v1.Instance.DisabledReason getDisabledReason( public int getDisabledReasonValue(int index) { return disabledReason_.get(index); } + private int disabledReasonMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2256,8 +2566,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -2280,18 +2589,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (networkConfig_ != null) { output.writeMessage(7, getNetworkConfig()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 8); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetOptions(), - OptionsDefaultEntryHolder.defaultEntry, - 9); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetOptions(), OptionsDefaultEntryHolder.defaultEntry, 9); if (createTime_ != null) { output.writeMessage(10, getCreateTime()); } @@ -2369,56 +2670,49 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (type_ != com.google.cloud.datafusion.v1.Instance.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); } if (enableStackdriverLogging_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, enableStackdriverLogging_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, enableStackdriverLogging_); } if (enableStackdriverMonitoring_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, enableStackdriverMonitoring_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableStackdriverMonitoring_); } if (privateInstance_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, privateInstance_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, privateInstance_); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getNetworkConfig()); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, labels__); - } - for (java.util.Map.Entry entry - : internalGetOptions().getMap().entrySet()) { - com.google.protobuf.MapEntry - options__ = OptionsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, options__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getNetworkConfig()); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, labels__); + } + for (java.util.Map.Entry entry : + internalGetOptions().getMap().entrySet()) { + com.google.protobuf.MapEntry options__ = + OptionsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, options__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); } if (state_ != com.google.cloud.datafusion.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(12, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, stateMessage_); @@ -2439,8 +2733,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, displayName_); } for (int i = 0; i < availableVersion_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, availableVersion_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(19, availableVersion_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiEndpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, apiEndpoint_); @@ -2449,8 +2743,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, gcsBucket_); } for (int i = 0; i < accelerators_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, accelerators_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, accelerators_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(p4ServiceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, p4ServiceAccount_); @@ -2462,24 +2755,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, dataprocServiceAccount_); } if (enableRbac_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(27, enableRbac_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(27, enableRbac_); } if (cryptoKeyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, getCryptoKeyConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(28, getCryptoKeyConfig()); } { int dataSize = 0; for (int i = 0; i < disabledReason_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(disabledReason_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(disabledReason_.get(i)); } size += dataSize; - if (!getDisabledReasonList().isEmpty()) { size += 2; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }disabledReasonMemoizedSerializedSize = dataSize; + if (!getDisabledReasonList().isEmpty()) { + size += 2; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + disabledReasonMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2489,76 +2781,51 @@ 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.datafusion.v1.Instance)) { return super.equals(obj); } com.google.cloud.datafusion.v1.Instance other = (com.google.cloud.datafusion.v1.Instance) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (type_ != other.type_) return false; - if (getEnableStackdriverLogging() - != other.getEnableStackdriverLogging()) return false; - if (getEnableStackdriverMonitoring() - != other.getEnableStackdriverMonitoring()) return false; - if (getPrivateInstance() - != other.getPrivateInstance()) return false; + if (getEnableStackdriverLogging() != other.getEnableStackdriverLogging()) return false; + if (getEnableStackdriverMonitoring() != other.getEnableStackdriverMonitoring()) return false; + if (getPrivateInstance() != other.getPrivateInstance()) return false; if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig() - .equals(other.getNetworkConfig())) return false; + if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!internalGetOptions().equals( - other.internalGetOptions())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetOptions().equals(other.internalGetOptions())) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (state_ != other.state_) return false; - if (!getStateMessage() - .equals(other.getStateMessage())) return false; - if (!getServiceEndpoint() - .equals(other.getServiceEndpoint())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getAvailableVersionList() - .equals(other.getAvailableVersionList())) return false; - if (!getApiEndpoint() - .equals(other.getApiEndpoint())) return false; - if (!getGcsBucket() - .equals(other.getGcsBucket())) return false; - if (!getAcceleratorsList() - .equals(other.getAcceleratorsList())) return false; - if (!getP4ServiceAccount() - .equals(other.getP4ServiceAccount())) return false; - if (!getTenantProjectId() - .equals(other.getTenantProjectId())) return false; - if (!getDataprocServiceAccount() - .equals(other.getDataprocServiceAccount())) return false; - if (getEnableRbac() - != other.getEnableRbac()) return false; + if (!getStateMessage().equals(other.getStateMessage())) return false; + if (!getServiceEndpoint().equals(other.getServiceEndpoint())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getAvailableVersionList().equals(other.getAvailableVersionList())) return false; + if (!getApiEndpoint().equals(other.getApiEndpoint())) return false; + if (!getGcsBucket().equals(other.getGcsBucket())) return false; + if (!getAcceleratorsList().equals(other.getAcceleratorsList())) return false; + if (!getP4ServiceAccount().equals(other.getP4ServiceAccount())) return false; + if (!getTenantProjectId().equals(other.getTenantProjectId())) return false; + if (!getDataprocServiceAccount().equals(other.getDataprocServiceAccount())) return false; + if (getEnableRbac() != other.getEnableRbac()) return false; if (hasCryptoKeyConfig() != other.hasCryptoKeyConfig()) return false; if (hasCryptoKeyConfig()) { - if (!getCryptoKeyConfig() - .equals(other.getCryptoKeyConfig())) return false; + if (!getCryptoKeyConfig().equals(other.getCryptoKeyConfig())) return false; } if (!disabledReason_.equals(other.disabledReason_)) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -2579,14 +2846,11 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableStackdriverLogging()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableStackdriverLogging()); hash = (37 * hash) + ENABLE_STACKDRIVER_MONITORING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableStackdriverMonitoring()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableStackdriverMonitoring()); hash = (37 * hash) + PRIVATE_INSTANCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPrivateInstance()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPrivateInstance()); if (hasNetworkConfig()) { hash = (37 * hash) + NETWORK_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getNetworkConfig().hashCode(); @@ -2640,8 +2904,7 @@ public int hashCode() { hash = (37 * hash) + DATAPROC_SERVICE_ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getDataprocServiceAccount().hashCode(); hash = (37 * hash) + ENABLE_RBAC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableRbac()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableRbac()); if (hasCryptoKeyConfig()) { hash = (37 * hash) + CRYPTO_KEY_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getCryptoKeyConfig().hashCode(); @@ -2655,144 +2918,151 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1.Instance parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1.Instance parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.Instance 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.datafusion.v1.Instance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.Instance parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.Instance 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.datafusion.v1.Instance 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.datafusion.v1.Instance 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.datafusion.v1.Instance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.Instance parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.Instance 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.datafusion.v1.Instance 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.datafusion.v1.Instance 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.datafusion.v1.Instance 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 Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.Instance} */ - 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.datafusion.v1.Instance) com.google.cloud.datafusion.v1.InstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_Instance_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 8: return internalGetLabels(); case 9: return internalGetOptions(); 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 8: return internalGetMutableLabels(); case 9: return internalGetMutableOptions(); 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Instance_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.Instance.class, com.google.cloud.datafusion.v1.Instance.Builder.class); + com.google.cloud.datafusion.v1.Instance.class, + com.google.cloud.datafusion.v1.Instance.Builder.class); } // Construct using com.google.cloud.datafusion.v1.Instance.newBuilder() @@ -2800,18 +3070,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) { getAvailableVersionFieldBuilder(); getAcceleratorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -2897,9 +3167,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Instance_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_Instance_descriptor; } @java.lang.Override @@ -2918,7 +3188,8 @@ public com.google.cloud.datafusion.v1.Instance build() { @java.lang.Override public com.google.cloud.datafusion.v1.Instance buildPartial() { - com.google.cloud.datafusion.v1.Instance result = new com.google.cloud.datafusion.v1.Instance(this); + com.google.cloud.datafusion.v1.Instance result = + new com.google.cloud.datafusion.v1.Instance(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.description_ = description_; @@ -2994,38 +3265,39 @@ public com.google.cloud.datafusion.v1.Instance 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.datafusion.v1.Instance) { - return mergeFrom((com.google.cloud.datafusion.v1.Instance)other); + return mergeFrom((com.google.cloud.datafusion.v1.Instance) other); } else { super.mergeFrom(other); return this; @@ -3057,10 +3329,8 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1.Instance other) { if (other.hasNetworkConfig()) { mergeNetworkConfig(other.getNetworkConfig()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); - internalGetMutableOptions().mergeFrom( - other.internalGetOptions()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableOptions().mergeFrom(other.internalGetOptions()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -3112,9 +3382,10 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1.Instance other) { availableVersionBuilder_ = null; availableVersion_ = other.availableVersion_; bitField0_ = (bitField0_ & ~0x00000004); - availableVersionBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAvailableVersionFieldBuilder() : null; + availableVersionBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAvailableVersionFieldBuilder() + : null; } else { availableVersionBuilder_.addAllMessages(other.availableVersion_); } @@ -3146,9 +3417,10 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1.Instance other) { acceleratorsBuilder_ = null; accelerators_ = other.accelerators_; bitField0_ = (bitField0_ & ~0x00000008); - acceleratorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAcceleratorsFieldBuilder() : null; + acceleratorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAcceleratorsFieldBuilder() + : null; } else { acceleratorsBuilder_.addAllMessages(other.accelerators_); } @@ -3210,23 +3482,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -3235,21 +3512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -3257,57 +3537,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; } /** + * + * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -3315,18 +3608,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * A description of this instance.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -3335,20 +3630,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of this instance.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -3356,54 +3652,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of this instance.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * A description of this instance.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * A description of this instance.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -3411,51 +3714,73 @@ public Builder setDescriptionBytes( private int type_ = 0; /** + * + * *
      * Required. Instance type.
      * 
* - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. Instance type.
      * 
* - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @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; } /** + * + * *
      * Required. Instance type.
      * 
* - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.datafusion.v1.Instance.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Instance.Type result = com.google.cloud.datafusion.v1.Instance.Type.valueOf(type_); + com.google.cloud.datafusion.v1.Instance.Type result = + com.google.cloud.datafusion.v1.Instance.Type.valueOf(type_); return result == null ? com.google.cloud.datafusion.v1.Instance.Type.UNRECOGNIZED : result; } /** + * + * *
      * Required. Instance type.
      * 
* - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -3463,33 +3788,41 @@ public Builder setType(com.google.cloud.datafusion.v1.Instance.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. Instance type.
      * 
* - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private boolean enableStackdriverLogging_ ; + private boolean enableStackdriverLogging_; /** + * + * *
      * Option to enable Stackdriver Logging.
      * 
* * bool enable_stackdriver_logging = 4; + * * @return The enableStackdriverLogging. */ @java.lang.Override @@ -3497,42 +3830,51 @@ public boolean getEnableStackdriverLogging() { return enableStackdriverLogging_; } /** + * + * *
      * Option to enable Stackdriver Logging.
      * 
* * bool enable_stackdriver_logging = 4; + * * @param value The enableStackdriverLogging to set. * @return This builder for chaining. */ public Builder setEnableStackdriverLogging(boolean value) { - + enableStackdriverLogging_ = value; onChanged(); return this; } /** + * + * *
      * Option to enable Stackdriver Logging.
      * 
* * bool enable_stackdriver_logging = 4; + * * @return This builder for chaining. */ public Builder clearEnableStackdriverLogging() { - + enableStackdriverLogging_ = false; onChanged(); return this; } - private boolean enableStackdriverMonitoring_ ; + private boolean enableStackdriverMonitoring_; /** + * + * *
      * Option to enable Stackdriver Monitoring.
      * 
* * bool enable_stackdriver_monitoring = 5; + * * @return The enableStackdriverMonitoring. */ @java.lang.Override @@ -3540,37 +3882,45 @@ public boolean getEnableStackdriverMonitoring() { return enableStackdriverMonitoring_; } /** + * + * *
      * Option to enable Stackdriver Monitoring.
      * 
* * bool enable_stackdriver_monitoring = 5; + * * @param value The enableStackdriverMonitoring to set. * @return This builder for chaining. */ public Builder setEnableStackdriverMonitoring(boolean value) { - + enableStackdriverMonitoring_ = value; onChanged(); return this; } /** + * + * *
      * Option to enable Stackdriver Monitoring.
      * 
* * bool enable_stackdriver_monitoring = 5; + * * @return This builder for chaining. */ public Builder clearEnableStackdriverMonitoring() { - + enableStackdriverMonitoring_ = false; onChanged(); return this; } - private boolean privateInstance_ ; + private boolean privateInstance_; /** + * + * *
      * Specifies whether the Data Fusion instance should be private. If set to
      * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -3578,6 +3928,7 @@ public Builder clearEnableStackdriverMonitoring() {
      * 
* * bool private_instance = 6; + * * @return The privateInstance. */ @java.lang.Override @@ -3585,6 +3936,8 @@ public boolean getPrivateInstance() { return privateInstance_; } /** + * + * *
      * Specifies whether the Data Fusion instance should be private. If set to
      * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -3592,16 +3945,19 @@ public boolean getPrivateInstance() {
      * 
* * bool private_instance = 6; + * * @param value The privateInstance to set. * @return This builder for chaining. */ public Builder setPrivateInstance(boolean value) { - + privateInstance_ = value; onChanged(); return this; } /** + * + * *
      * Specifies whether the Data Fusion instance should be private. If set to
      * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -3609,10 +3965,11 @@ public Builder setPrivateInstance(boolean value) {
      * 
* * bool private_instance = 6; + * * @return This builder for chaining. */ public Builder clearPrivateInstance() { - + privateInstance_ = false; onChanged(); return this; @@ -3620,36 +3977,49 @@ public Builder clearPrivateInstance() { private com.google.cloud.datafusion.v1.NetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1.NetworkConfig, com.google.cloud.datafusion.v1.NetworkConfig.Builder, com.google.cloud.datafusion.v1.NetworkConfigOrBuilder> networkConfigBuilder_; + com.google.cloud.datafusion.v1.NetworkConfig, + com.google.cloud.datafusion.v1.NetworkConfig.Builder, + com.google.cloud.datafusion.v1.NetworkConfigOrBuilder> + networkConfigBuilder_; /** + * + * *
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
      * 
* * .google.cloud.datafusion.v1.NetworkConfig network_config = 7; + * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return networkConfigBuilder_ != null || networkConfig_ != null; } /** + * + * *
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
      * 
* * .google.cloud.datafusion.v1.NetworkConfig network_config = 7; + * * @return The networkConfig. */ public com.google.cloud.datafusion.v1.NetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null ? com.google.cloud.datafusion.v1.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.cloud.datafusion.v1.NetworkConfig.getDefaultInstance() + : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** + * + * *
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3671,6 +4041,8 @@ public Builder setNetworkConfig(com.google.cloud.datafusion.v1.NetworkConfig val
       return this;
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3690,6 +4062,8 @@ public Builder setNetworkConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3701,7 +4075,9 @@ public Builder mergeNetworkConfig(com.google.cloud.datafusion.v1.NetworkConfig v
       if (networkConfigBuilder_ == null) {
         if (networkConfig_ != null) {
           networkConfig_ =
-            com.google.cloud.datafusion.v1.NetworkConfig.newBuilder(networkConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.datafusion.v1.NetworkConfig.newBuilder(networkConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           networkConfig_ = value;
         }
@@ -3713,6 +4089,8 @@ public Builder mergeNetworkConfig(com.google.cloud.datafusion.v1.NetworkConfig v
       return this;
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3732,6 +4110,8 @@ public Builder clearNetworkConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3740,11 +4120,13 @@ public Builder clearNetworkConfig() {
      * .google.cloud.datafusion.v1.NetworkConfig network_config = 7;
      */
     public com.google.cloud.datafusion.v1.NetworkConfig.Builder getNetworkConfigBuilder() {
-      
+
       onChanged();
       return getNetworkConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3756,11 +4138,14 @@ public com.google.cloud.datafusion.v1.NetworkConfigOrBuilder getNetworkConfigOrB
       if (networkConfigBuilder_ != null) {
         return networkConfigBuilder_.getMessageOrBuilder();
       } else {
-        return networkConfig_ == null ?
-            com.google.cloud.datafusion.v1.NetworkConfig.getDefaultInstance() : networkConfig_;
+        return networkConfig_ == null
+            ? com.google.cloud.datafusion.v1.NetworkConfig.getDefaultInstance()
+            : networkConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3769,35 +4154,37 @@ public com.google.cloud.datafusion.v1.NetworkConfigOrBuilder getNetworkConfigOrB
      * .google.cloud.datafusion.v1.NetworkConfig network_config = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datafusion.v1.NetworkConfig, com.google.cloud.datafusion.v1.NetworkConfig.Builder, com.google.cloud.datafusion.v1.NetworkConfigOrBuilder> 
+            com.google.cloud.datafusion.v1.NetworkConfig,
+            com.google.cloud.datafusion.v1.NetworkConfig.Builder,
+            com.google.cloud.datafusion.v1.NetworkConfigOrBuilder>
         getNetworkConfigFieldBuilder() {
       if (networkConfigBuilder_ == null) {
-        networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datafusion.v1.NetworkConfig, com.google.cloud.datafusion.v1.NetworkConfig.Builder, com.google.cloud.datafusion.v1.NetworkConfigOrBuilder>(
-                getNetworkConfig(),
-                getParentForChildren(),
-                isClean());
+        networkConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datafusion.v1.NetworkConfig,
+                com.google.cloud.datafusion.v1.NetworkConfig.Builder,
+                com.google.cloud.datafusion.v1.NetworkConfigOrBuilder>(
+                getNetworkConfig(), getParentForChildren(), isClean());
         networkConfig_ = null;
       }
       return networkConfigBuilder_;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> labels_;
-    private com.google.protobuf.MapField
-    internalGetLabels() {
+    private com.google.protobuf.MapField labels_;
+
+    private com.google.protobuf.MapField internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableLabels() {
-      onChanged();;
+        internalGetMutableLabels() {
+      onChanged();
+      ;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -3809,6 +4196,8 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -3817,22 +4206,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 8;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -3842,11 +4231,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -3856,16 +4246,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -3875,12 +4266,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 8;
      */
     @java.lang.Override
-
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3888,11 +4278,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -3901,23 +4292,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 8;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -3926,19 +4315,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 8;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -3947,30 +4337,26 @@ public Builder putLabels(
      *
      * map<string, string> labels = 8;
      */
-
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       return this;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> options_;
-    private com.google.protobuf.MapField
-    internalGetOptions() {
+    private com.google.protobuf.MapField options_;
+
+    private com.google.protobuf.MapField internalGetOptions() {
       if (options_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            OptionsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(OptionsDefaultEntryHolder.defaultEntry);
       }
       return options_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableOptions() {
-      onChanged();;
+        internalGetMutableOptions() {
+      onChanged();
+      ;
       if (options_ == null) {
-        options_ = com.google.protobuf.MapField.newMapField(
-            OptionsDefaultEntryHolder.defaultEntry);
+        options_ = com.google.protobuf.MapField.newMapField(OptionsDefaultEntryHolder.defaultEntry);
       }
       if (!options_.isMutable()) {
         options_ = options_.copy();
@@ -3982,6 +4368,8 @@ public int getOptionsCount() {
       return internalGetOptions().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -3989,22 +4377,22 @@ public int getOptionsCount() {
      *
      * map<string, string> options = 9;
      */
-
     @java.lang.Override
-    public boolean containsOptions(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsOptions(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetOptions().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getOptionsMap()} instead.
-     */
+    /** Use {@link #getOptionsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getOptions() {
       return getOptionsMap();
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4013,11 +4401,12 @@ public java.util.Map getOptions() {
      * map<string, string> options = 9;
      */
     @java.lang.Override
-
     public java.util.Map getOptionsMap() {
       return internalGetOptions().getMap();
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4026,16 +4415,17 @@ public java.util.Map getOptionsMap() {
      * map<string, string> options = 9;
      */
     @java.lang.Override
-
     public java.lang.String getOptionsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetOptions().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetOptions().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4044,12 +4434,11 @@ public java.lang.String getOptionsOrDefault(
      * map<string, string> options = 9;
      */
     @java.lang.Override
-
-    public java.lang.String getOptionsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetOptions().getMap();
+    public java.lang.String getOptionsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetOptions().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4057,11 +4446,12 @@ public java.lang.String getOptionsOrThrow(
     }
 
     public Builder clearOptions() {
-      internalGetMutableOptions().getMutableMap()
-          .clear();
+      internalGetMutableOptions().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4069,23 +4459,21 @@ public Builder clearOptions() {
      *
      * map<string, string> options = 9;
      */
-
-    public Builder removeOptions(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableOptions().getMutableMap()
-          .remove(key);
+    public Builder removeOptions(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableOptions().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableOptions() {
+    public java.util.Map getMutableOptions() {
       return internalGetMutableOptions().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4093,19 +4481,20 @@ public Builder removeOptions(
      *
      * map<string, string> options = 9;
      */
-    public Builder putOptions(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putOptions(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");
+      }
 
-      internalGetMutableOptions().getMutableMap()
-          .put(key, value);
+      internalGetMutableOptions().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4113,49 +4502,65 @@ public Builder putOptions(
      *
      * map<string, string> options = 9;
      */
-
-    public Builder putAllOptions(
-        java.util.Map values) {
-      internalGetMutableOptions().getMutableMap()
-          .putAll(values);
+    public Builder putAllOptions(java.util.Map values) {
+      internalGetMutableOptions().getMutableMap().putAll(values);
       return this;
     }
 
     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_;
     /**
+     *
+     *
      * 
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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(); } } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -4171,14 +4576,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - 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(); @@ -4189,17 +4597,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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; } @@ -4211,11 +4623,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -4229,48 +4645,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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_; } } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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_; @@ -4278,39 +4710,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -4326,14 +4777,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -4344,17 +4798,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -4366,11 +4824,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -4384,48 +4846,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4433,51 +4911,73 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. The current state of this Data Fusion instance.
      * 
* - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.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 this Data Fusion instance.
      * 
* - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.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 this Data Fusion instance.
      * 
* - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.datafusion.v1.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Instance.State result = com.google.cloud.datafusion.v1.Instance.State.valueOf(state_); + com.google.cloud.datafusion.v1.Instance.State result = + com.google.cloud.datafusion.v1.Instance.State.valueOf(state_); return result == null ? com.google.cloud.datafusion.v1.Instance.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current state of this Data Fusion instance.
      * 
* - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -4485,21 +4985,26 @@ public Builder setState(com.google.cloud.datafusion.v1.Instance.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The current state of this Data Fusion instance.
      * 
* - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -4507,19 +5012,21 @@ public Builder clearState() { private java.lang.Object stateMessage_ = ""; /** + * + * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateMessage. */ public java.lang.String getStateMessage() { java.lang.Object ref = stateMessage_; 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(); stateMessage_ = s; return s; @@ -4528,21 +5035,22 @@ public java.lang.String getStateMessage() { } } /** + * + * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateMessage. */ - public com.google.protobuf.ByteString - getStateMessageBytes() { + public com.google.protobuf.ByteString getStateMessageBytes() { java.lang.Object ref = stateMessage_; 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); stateMessage_ = b; return b; } else { @@ -4550,57 +5058,64 @@ public java.lang.String getStateMessage() { } } /** + * + * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessage( - java.lang.String value) { + public Builder setStateMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateMessage_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStateMessage() { - + stateMessage_ = getDefaultInstance().getStateMessage(); onChanged(); return this; } /** + * + * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateMessage_ = value; onChanged(); return this; @@ -4608,18 +5123,20 @@ public Builder setStateMessageBytes( private java.lang.Object serviceEndpoint_ = ""; /** + * + * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceEndpoint. */ public java.lang.String getServiceEndpoint() { java.lang.Object ref = serviceEndpoint_; 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(); serviceEndpoint_ = s; return s; @@ -4628,20 +5145,21 @@ public java.lang.String getServiceEndpoint() { } } /** + * + * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceEndpoint. */ - public com.google.protobuf.ByteString - getServiceEndpointBytes() { + public com.google.protobuf.ByteString getServiceEndpointBytes() { java.lang.Object ref = serviceEndpoint_; 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); serviceEndpoint_ = b; return b; } else { @@ -4649,54 +5167,61 @@ public java.lang.String getServiceEndpoint() { } } /** + * + * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The serviceEndpoint to set. * @return This builder for chaining. */ - public Builder setServiceEndpoint( - java.lang.String value) { + public Builder setServiceEndpoint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceEndpoint_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearServiceEndpoint() { - + serviceEndpoint_ = getDefaultInstance().getServiceEndpoint(); onChanged(); return this; } /** + * + * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for serviceEndpoint to set. * @return This builder for chaining. */ - public Builder setServiceEndpointBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceEndpointBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceEndpoint_ = value; onChanged(); return this; @@ -4704,19 +5229,21 @@ public Builder setServiceEndpointBytes( private java.lang.Object zone_ = ""; /** + * + * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; + * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -4725,21 +5252,22 @@ public java.lang.String getZone() { } } /** + * + * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; + * * @return The bytes for zone. */ - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -4747,57 +5275,64 @@ public java.lang.String getZone() { } } /** + * + * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; + * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone( - java.lang.String value) { + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; + * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; + * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -4805,18 +5340,20 @@ public Builder setZoneBytes( private java.lang.Object version_ = ""; /** + * + * *
      * Current version of the Data Fusion. Only specifiable in Update.
      * 
* * string version = 16; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -4825,20 +5362,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Current version of the Data Fusion. Only specifiable in Update.
      * 
* * string version = 16; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -4846,54 +5384,61 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Current version of the Data Fusion. Only specifiable in Update.
      * 
* * string version = 16; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Current version of the Data Fusion. Only specifiable in Update.
      * 
* * string version = 16; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * Current version of the Data Fusion. Only specifiable in Update.
      * 
* * string version = 16; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -4901,20 +5446,25 @@ public Builder setVersionBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1/datafusion.proto;l=361 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1/datafusion.proto;l=361 * @return The serviceAccount. */ - @java.lang.Deprecated public java.lang.String getServiceAccount() { + @java.lang.Deprecated + public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -4923,22 +5473,26 @@ public Builder setVersionBytes( } } /** + * + * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1/datafusion.proto;l=361 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1/datafusion.proto;l=361 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getServiceAccountBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -4946,60 +5500,76 @@ public Builder setVersionBytes( } } /** + * + * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1/datafusion.proto;l=361 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1/datafusion.proto;l=361 * @param value The serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setServiceAccount( - java.lang.String value) { + @java.lang.Deprecated + public Builder setServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1/datafusion.proto;l=361 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1/datafusion.proto;l=361 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearServiceAccount() { - + @java.lang.Deprecated + public Builder clearServiceAccount() { + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** + * + * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1/datafusion.proto;l=361 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1/datafusion.proto;l=361 * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -5007,18 +5577,20 @@ public Builder setVersionBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Display name for an instance.
      * 
* * string display_name = 18; + * * @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; @@ -5027,20 +5599,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for an instance.
      * 
* * string display_name = 18; + * * @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 { @@ -5048,72 +5621,86 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for an instance.
      * 
* * string display_name = 18; + * * @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; } /** + * + * *
      * Display name for an instance.
      * 
* * string display_name = 18; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Display name for an instance.
      * 
* * string display_name = 18; + * * @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 java.util.List availableVersion_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAvailableVersionIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - availableVersion_ = new java.util.ArrayList(availableVersion_); + availableVersion_ = + new java.util.ArrayList(availableVersion_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Version, com.google.cloud.datafusion.v1.Version.Builder, com.google.cloud.datafusion.v1.VersionOrBuilder> availableVersionBuilder_; + com.google.cloud.datafusion.v1.Version, + com.google.cloud.datafusion.v1.Version.Builder, + com.google.cloud.datafusion.v1.VersionOrBuilder> + availableVersionBuilder_; /** + * + * *
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5129,6 +5716,8 @@ public java.util.List getAvailableVersio
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5144,6 +5733,8 @@ public int getAvailableVersionCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5159,6 +5750,8 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersion(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5166,8 +5759,7 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersion(int index) {
      *
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
-    public Builder setAvailableVersion(
-        int index, com.google.cloud.datafusion.v1.Version value) {
+    public Builder setAvailableVersion(int index, com.google.cloud.datafusion.v1.Version value) {
       if (availableVersionBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5181,6 +5773,8 @@ public Builder setAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5200,6 +5794,8 @@ public Builder setAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5221,6 +5817,8 @@ public Builder addAvailableVersion(com.google.cloud.datafusion.v1.Version value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5228,8 +5826,7 @@ public Builder addAvailableVersion(com.google.cloud.datafusion.v1.Version value)
      *
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
-    public Builder addAvailableVersion(
-        int index, com.google.cloud.datafusion.v1.Version value) {
+    public Builder addAvailableVersion(int index, com.google.cloud.datafusion.v1.Version value) {
       if (availableVersionBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5243,6 +5840,8 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5262,6 +5861,8 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5281,6 +5882,8 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5292,8 +5895,7 @@ public Builder addAllAvailableVersion(
         java.lang.Iterable values) {
       if (availableVersionBuilder_ == null) {
         ensureAvailableVersionIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, availableVersion_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableVersion_);
         onChanged();
       } else {
         availableVersionBuilder_.addAllMessages(values);
@@ -5301,6 +5903,8 @@ public Builder addAllAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5319,6 +5923,8 @@ public Builder clearAvailableVersion() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5337,6 +5943,8 @@ public Builder removeAvailableVersion(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5344,11 +5952,12 @@ public Builder removeAvailableVersion(int index) {
      *
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
-    public com.google.cloud.datafusion.v1.Version.Builder getAvailableVersionBuilder(
-        int index) {
+    public com.google.cloud.datafusion.v1.Version.Builder getAvailableVersionBuilder(int index) {
       return getAvailableVersionFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5356,14 +5965,16 @@ public com.google.cloud.datafusion.v1.Version.Builder getAvailableVersionBuilder
      *
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
-    public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuilder(
-        int index) {
+    public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuilder(int index) {
       if (availableVersionBuilder_ == null) {
-        return availableVersion_.get(index);  } else {
+        return availableVersion_.get(index);
+      } else {
         return availableVersionBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5371,8 +5982,8 @@ public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuil
      *
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
-    public java.util.List 
-         getAvailableVersionOrBuilderList() {
+    public java.util.List
+        getAvailableVersionOrBuilderList() {
       if (availableVersionBuilder_ != null) {
         return availableVersionBuilder_.getMessageOrBuilderList();
       } else {
@@ -5380,6 +5991,8 @@ public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5388,10 +6001,12 @@ public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuil
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
     public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionBuilder() {
-      return getAvailableVersionFieldBuilder().addBuilder(
-          com.google.cloud.datafusion.v1.Version.getDefaultInstance());
+      return getAvailableVersionFieldBuilder()
+          .addBuilder(com.google.cloud.datafusion.v1.Version.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5399,12 +6014,13 @@ public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionBuilder
      *
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
-    public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionBuilder(
-        int index) {
-      return getAvailableVersionFieldBuilder().addBuilder(
-          index, com.google.cloud.datafusion.v1.Version.getDefaultInstance());
+    public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionBuilder(int index) {
+      return getAvailableVersionFieldBuilder()
+          .addBuilder(index, com.google.cloud.datafusion.v1.Version.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5412,16 +6028,22 @@ public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionBuilder
      *
      * repeated .google.cloud.datafusion.v1.Version available_version = 19;
      */
-    public java.util.List 
-         getAvailableVersionBuilderList() {
+    public java.util.List
+        getAvailableVersionBuilderList() {
       return getAvailableVersionFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datafusion.v1.Version, com.google.cloud.datafusion.v1.Version.Builder, com.google.cloud.datafusion.v1.VersionOrBuilder> 
+            com.google.cloud.datafusion.v1.Version,
+            com.google.cloud.datafusion.v1.Version.Builder,
+            com.google.cloud.datafusion.v1.VersionOrBuilder>
         getAvailableVersionFieldBuilder() {
       if (availableVersionBuilder_ == null) {
-        availableVersionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datafusion.v1.Version, com.google.cloud.datafusion.v1.Version.Builder, com.google.cloud.datafusion.v1.VersionOrBuilder>(
+        availableVersionBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.datafusion.v1.Version,
+                com.google.cloud.datafusion.v1.Version.Builder,
+                com.google.cloud.datafusion.v1.VersionOrBuilder>(
                 availableVersion_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -5433,18 +6055,20 @@ public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionBuilder
 
     private java.lang.Object apiEndpoint_ = "";
     /**
+     *
+     *
      * 
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiEndpoint. */ public java.lang.String getApiEndpoint() { java.lang.Object ref = apiEndpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiEndpoint_ = s; return s; @@ -5453,20 +6077,21 @@ public java.lang.String getApiEndpoint() { } } /** + * + * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiEndpoint. */ - public com.google.protobuf.ByteString - getApiEndpointBytes() { + public com.google.protobuf.ByteString getApiEndpointBytes() { java.lang.Object ref = apiEndpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiEndpoint_ = b; return b; } else { @@ -5474,54 +6099,61 @@ public java.lang.String getApiEndpoint() { } } /** + * + * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The apiEndpoint to set. * @return This builder for chaining. */ - public Builder setApiEndpoint( - java.lang.String value) { + public Builder setApiEndpoint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiEndpoint_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearApiEndpoint() { - + apiEndpoint_ = getDefaultInstance().getApiEndpoint(); onChanged(); return this; } /** + * + * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for apiEndpoint to set. * @return This builder for chaining. */ - public Builder setApiEndpointBytes( - com.google.protobuf.ByteString value) { + public Builder setApiEndpointBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiEndpoint_ = value; onChanged(); return this; @@ -5529,18 +6161,20 @@ public Builder setApiEndpointBytes( private java.lang.Object gcsBucket_ = ""; /** + * + * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The gcsBucket. */ public java.lang.String getGcsBucket() { java.lang.Object ref = gcsBucket_; 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(); gcsBucket_ = s; return s; @@ -5549,20 +6183,21 @@ public java.lang.String getGcsBucket() { } } /** + * + * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for gcsBucket. */ - public com.google.protobuf.ByteString - getGcsBucketBytes() { + public com.google.protobuf.ByteString getGcsBucketBytes() { java.lang.Object ref = gcsBucket_; 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); gcsBucket_ = b; return b; } else { @@ -5570,72 +6205,86 @@ public java.lang.String getGcsBucket() { } } /** + * + * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The gcsBucket to set. * @return This builder for chaining. */ - public Builder setGcsBucket( - java.lang.String value) { + public Builder setGcsBucket(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gcsBucket_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearGcsBucket() { - + gcsBucket_ = getDefaultInstance().getGcsBucket(); onChanged(); return this; } /** + * + * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for gcsBucket to set. * @return This builder for chaining. */ - public Builder setGcsBucketBytes( - com.google.protobuf.ByteString value) { + public Builder setGcsBucketBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gcsBucket_ = value; onChanged(); return this; } private java.util.List accelerators_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAcceleratorsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - accelerators_ = new java.util.ArrayList(accelerators_); + accelerators_ = + new java.util.ArrayList(accelerators_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Accelerator, com.google.cloud.datafusion.v1.Accelerator.Builder, com.google.cloud.datafusion.v1.AcceleratorOrBuilder> acceleratorsBuilder_; + com.google.cloud.datafusion.v1.Accelerator, + com.google.cloud.datafusion.v1.Accelerator.Builder, + com.google.cloud.datafusion.v1.AcceleratorOrBuilder> + acceleratorsBuilder_; /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5650,6 +6299,8 @@ public java.util.List getAccelerator } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5664,6 +6315,8 @@ public int getAcceleratorsCount() { } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5678,14 +6331,15 @@ public com.google.cloud.datafusion.v1.Accelerator getAccelerators(int index) { } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - public Builder setAccelerators( - int index, com.google.cloud.datafusion.v1.Accelerator value) { + public Builder setAccelerators(int index, com.google.cloud.datafusion.v1.Accelerator value) { if (acceleratorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5699,6 +6353,8 @@ public Builder setAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5717,6 +6373,8 @@ public Builder setAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5737,14 +6395,15 @@ public Builder addAccelerators(com.google.cloud.datafusion.v1.Accelerator value) return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - public Builder addAccelerators( - int index, com.google.cloud.datafusion.v1.Accelerator value) { + public Builder addAccelerators(int index, com.google.cloud.datafusion.v1.Accelerator value) { if (acceleratorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5758,6 +6417,8 @@ public Builder addAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5776,6 +6437,8 @@ public Builder addAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5794,6 +6457,8 @@ public Builder addAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5804,8 +6469,7 @@ public Builder addAllAccelerators( java.lang.Iterable values) { if (acceleratorsBuilder_ == null) { ensureAcceleratorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, accelerators_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accelerators_); onChanged(); } else { acceleratorsBuilder_.addAllMessages(values); @@ -5813,6 +6477,8 @@ public Builder addAllAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5830,6 +6496,8 @@ public Builder clearAccelerators() { return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5847,39 +6515,44 @@ public Builder removeAccelerators(int index) { return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - public com.google.cloud.datafusion.v1.Accelerator.Builder getAcceleratorsBuilder( - int index) { + public com.google.cloud.datafusion.v1.Accelerator.Builder getAcceleratorsBuilder(int index) { return getAcceleratorsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - public com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder( - int index) { + public com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder(int index) { if (acceleratorsBuilder_ == null) { - return accelerators_.get(index); } else { + return accelerators_.get(index); + } else { return acceleratorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - public java.util.List - getAcceleratorsOrBuilderList() { + public java.util.List + getAcceleratorsOrBuilderList() { if (acceleratorsBuilder_ != null) { return acceleratorsBuilder_.getMessageOrBuilderList(); } else { @@ -5887,6 +6560,8 @@ public com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuil } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5894,42 +6569,48 @@ public com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuil * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ public com.google.cloud.datafusion.v1.Accelerator.Builder addAcceleratorsBuilder() { - return getAcceleratorsFieldBuilder().addBuilder( - com.google.cloud.datafusion.v1.Accelerator.getDefaultInstance()); + return getAcceleratorsFieldBuilder() + .addBuilder(com.google.cloud.datafusion.v1.Accelerator.getDefaultInstance()); } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - public com.google.cloud.datafusion.v1.Accelerator.Builder addAcceleratorsBuilder( - int index) { - return getAcceleratorsFieldBuilder().addBuilder( - index, com.google.cloud.datafusion.v1.Accelerator.getDefaultInstance()); + public com.google.cloud.datafusion.v1.Accelerator.Builder addAcceleratorsBuilder(int index) { + return getAcceleratorsFieldBuilder() + .addBuilder(index, com.google.cloud.datafusion.v1.Accelerator.getDefaultInstance()); } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - public java.util.List - getAcceleratorsBuilderList() { + public java.util.List + getAcceleratorsBuilderList() { return getAcceleratorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Accelerator, com.google.cloud.datafusion.v1.Accelerator.Builder, com.google.cloud.datafusion.v1.AcceleratorOrBuilder> + com.google.cloud.datafusion.v1.Accelerator, + com.google.cloud.datafusion.v1.Accelerator.Builder, + com.google.cloud.datafusion.v1.AcceleratorOrBuilder> getAcceleratorsFieldBuilder() { if (acceleratorsBuilder_ == null) { - acceleratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Accelerator, com.google.cloud.datafusion.v1.Accelerator.Builder, com.google.cloud.datafusion.v1.AcceleratorOrBuilder>( - accelerators_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + acceleratorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1.Accelerator, + com.google.cloud.datafusion.v1.Accelerator.Builder, + com.google.cloud.datafusion.v1.AcceleratorOrBuilder>( + accelerators_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); accelerators_ = null; } return acceleratorsBuilder_; @@ -5937,18 +6618,20 @@ public com.google.cloud.datafusion.v1.Accelerator.Builder addAcceleratorsBuilder private java.lang.Object p4ServiceAccount_ = ""; /** + * + * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The p4ServiceAccount. */ public java.lang.String getP4ServiceAccount() { java.lang.Object ref = p4ServiceAccount_; 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(); p4ServiceAccount_ = s; return s; @@ -5957,20 +6640,21 @@ public java.lang.String getP4ServiceAccount() { } } /** + * + * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for p4ServiceAccount. */ - public com.google.protobuf.ByteString - getP4ServiceAccountBytes() { + public com.google.protobuf.ByteString getP4ServiceAccountBytes() { java.lang.Object ref = p4ServiceAccount_; 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); p4ServiceAccount_ = b; return b; } else { @@ -5978,54 +6662,61 @@ public java.lang.String getP4ServiceAccount() { } } /** + * + * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The p4ServiceAccount to set. * @return This builder for chaining. */ - public Builder setP4ServiceAccount( - java.lang.String value) { + public Builder setP4ServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + p4ServiceAccount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearP4ServiceAccount() { - + p4ServiceAccount_ = getDefaultInstance().getP4ServiceAccount(); onChanged(); return this; } /** + * + * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for p4ServiceAccount to set. * @return This builder for chaining. */ - public Builder setP4ServiceAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setP4ServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + p4ServiceAccount_ = value; onChanged(); return this; @@ -6033,18 +6724,20 @@ public Builder setP4ServiceAccountBytes( private java.lang.Object tenantProjectId_ = ""; /** + * + * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tenantProjectId. */ public java.lang.String getTenantProjectId() { java.lang.Object ref = tenantProjectId_; 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(); tenantProjectId_ = s; return s; @@ -6053,20 +6746,21 @@ public java.lang.String getTenantProjectId() { } } /** + * + * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tenantProjectId. */ - public com.google.protobuf.ByteString - getTenantProjectIdBytes() { + public com.google.protobuf.ByteString getTenantProjectIdBytes() { java.lang.Object ref = tenantProjectId_; 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); tenantProjectId_ = b; return b; } else { @@ -6074,54 +6768,61 @@ public java.lang.String getTenantProjectId() { } } /** + * + * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The tenantProjectId to set. * @return This builder for chaining. */ - public Builder setTenantProjectId( - java.lang.String value) { + public Builder setTenantProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tenantProjectId_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTenantProjectId() { - + tenantProjectId_ = getDefaultInstance().getTenantProjectId(); onChanged(); return this; } /** + * + * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for tenantProjectId to set. * @return This builder for chaining. */ - public Builder setTenantProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTenantProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantProjectId_ = value; onChanged(); return this; @@ -6129,6 +6830,8 @@ public Builder setTenantProjectIdBytes( private java.lang.Object dataprocServiceAccount_ = ""; /** + * + * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6137,13 +6840,13 @@ public Builder setTenantProjectIdBytes(
      * 
* * string dataproc_service_account = 25; + * * @return The dataprocServiceAccount. */ public java.lang.String getDataprocServiceAccount() { java.lang.Object ref = dataprocServiceAccount_; 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(); dataprocServiceAccount_ = s; return s; @@ -6152,6 +6855,8 @@ public java.lang.String getDataprocServiceAccount() { } } /** + * + * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6160,15 +6865,14 @@ public java.lang.String getDataprocServiceAccount() {
      * 
* * string dataproc_service_account = 25; + * * @return The bytes for dataprocServiceAccount. */ - public com.google.protobuf.ByteString - getDataprocServiceAccountBytes() { + public com.google.protobuf.ByteString getDataprocServiceAccountBytes() { java.lang.Object ref = dataprocServiceAccount_; 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); dataprocServiceAccount_ = b; return b; } else { @@ -6176,6 +6880,8 @@ public java.lang.String getDataprocServiceAccount() { } } /** + * + * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6184,20 +6890,22 @@ public java.lang.String getDataprocServiceAccount() {
      * 
* * string dataproc_service_account = 25; + * * @param value The dataprocServiceAccount to set. * @return This builder for chaining. */ - public Builder setDataprocServiceAccount( - java.lang.String value) { + public Builder setDataprocServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataprocServiceAccount_ = value; onChanged(); return this; } /** + * + * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6206,15 +6914,18 @@ public Builder setDataprocServiceAccount(
      * 
* * string dataproc_service_account = 25; + * * @return This builder for chaining. */ public Builder clearDataprocServiceAccount() { - + dataprocServiceAccount_ = getDefaultInstance().getDataprocServiceAccount(); onChanged(); return this; } /** + * + * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6223,28 +6934,31 @@ public Builder clearDataprocServiceAccount() {
      * 
* * string dataproc_service_account = 25; + * * @param value The bytes for dataprocServiceAccount to set. * @return This builder for chaining. */ - public Builder setDataprocServiceAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setDataprocServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataprocServiceAccount_ = value; onChanged(); return this; } - private boolean enableRbac_ ; + private boolean enableRbac_; /** + * + * *
      * Option to enable granular role-based access control.
      * 
* * bool enable_rbac = 27; + * * @return The enableRbac. */ @java.lang.Override @@ -6252,30 +6966,36 @@ public boolean getEnableRbac() { return enableRbac_; } /** + * + * *
      * Option to enable granular role-based access control.
      * 
* * bool enable_rbac = 27; + * * @param value The enableRbac to set. * @return This builder for chaining. */ public Builder setEnableRbac(boolean value) { - + enableRbac_ = value; onChanged(); return this; } /** + * + * *
      * Option to enable granular role-based access control.
      * 
* * bool enable_rbac = 27; + * * @return This builder for chaining. */ public Builder clearEnableRbac() { - + enableRbac_ = false; onChanged(); return this; @@ -6283,36 +7003,49 @@ public Builder clearEnableRbac() { private com.google.cloud.datafusion.v1.CryptoKeyConfig cryptoKeyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1.CryptoKeyConfig, com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder, com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder> cryptoKeyConfigBuilder_; + com.google.cloud.datafusion.v1.CryptoKeyConfig, + com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder, + com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder> + cryptoKeyConfigBuilder_; /** + * + * *
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
      * 
* * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28; + * * @return Whether the cryptoKeyConfig field is set. */ public boolean hasCryptoKeyConfig() { return cryptoKeyConfigBuilder_ != null || cryptoKeyConfig_ != null; } /** + * + * *
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
      * 
* * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28; + * * @return The cryptoKeyConfig. */ public com.google.cloud.datafusion.v1.CryptoKeyConfig getCryptoKeyConfig() { if (cryptoKeyConfigBuilder_ == null) { - return cryptoKeyConfig_ == null ? com.google.cloud.datafusion.v1.CryptoKeyConfig.getDefaultInstance() : cryptoKeyConfig_; + return cryptoKeyConfig_ == null + ? com.google.cloud.datafusion.v1.CryptoKeyConfig.getDefaultInstance() + : cryptoKeyConfig_; } else { return cryptoKeyConfigBuilder_.getMessage(); } } /** + * + * *
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6334,6 +7067,8 @@ public Builder setCryptoKeyConfig(com.google.cloud.datafusion.v1.CryptoKeyConfig
       return this;
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6353,6 +7088,8 @@ public Builder setCryptoKeyConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6364,7 +7101,9 @@ public Builder mergeCryptoKeyConfig(com.google.cloud.datafusion.v1.CryptoKeyConf
       if (cryptoKeyConfigBuilder_ == null) {
         if (cryptoKeyConfig_ != null) {
           cryptoKeyConfig_ =
-            com.google.cloud.datafusion.v1.CryptoKeyConfig.newBuilder(cryptoKeyConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.datafusion.v1.CryptoKeyConfig.newBuilder(cryptoKeyConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           cryptoKeyConfig_ = value;
         }
@@ -6376,6 +7115,8 @@ public Builder mergeCryptoKeyConfig(com.google.cloud.datafusion.v1.CryptoKeyConf
       return this;
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6395,6 +7136,8 @@ public Builder clearCryptoKeyConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6403,11 +7146,13 @@ public Builder clearCryptoKeyConfig() {
      * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;
      */
     public com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder getCryptoKeyConfigBuilder() {
-      
+
       onChanged();
       return getCryptoKeyConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6419,11 +7164,14 @@ public com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder getCryptoKeyConfi
       if (cryptoKeyConfigBuilder_ != null) {
         return cryptoKeyConfigBuilder_.getMessageOrBuilder();
       } else {
-        return cryptoKeyConfig_ == null ?
-            com.google.cloud.datafusion.v1.CryptoKeyConfig.getDefaultInstance() : cryptoKeyConfig_;
+        return cryptoKeyConfig_ == null
+            ? com.google.cloud.datafusion.v1.CryptoKeyConfig.getDefaultInstance()
+            : cryptoKeyConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6432,21 +7180,24 @@ public com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder getCryptoKeyConfi
      * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datafusion.v1.CryptoKeyConfig, com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder, com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder> 
+            com.google.cloud.datafusion.v1.CryptoKeyConfig,
+            com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder,
+            com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder>
         getCryptoKeyConfigFieldBuilder() {
       if (cryptoKeyConfigBuilder_ == null) {
-        cryptoKeyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datafusion.v1.CryptoKeyConfig, com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder, com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder>(
-                getCryptoKeyConfig(),
-                getParentForChildren(),
-                isClean());
+        cryptoKeyConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datafusion.v1.CryptoKeyConfig,
+                com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder,
+                com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder>(
+                getCryptoKeyConfig(), getParentForChildren(), isClean());
         cryptoKeyConfig_ = null;
       }
       return cryptoKeyConfigBuilder_;
     }
 
-    private java.util.List disabledReason_ =
-      java.util.Collections.emptyList();
+    private java.util.List disabledReason_ = java.util.Collections.emptyList();
+
     private void ensureDisabledReasonIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
         disabledReason_ = new java.util.ArrayList(disabledReason_);
@@ -6454,34 +7205,51 @@ private void ensureDisabledReasonIsMutable() {
       }
     }
     /**
+     *
+     *
      * 
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the disabledReason. */ - public java.util.List getDisabledReasonList() { + public java.util.List + getDisabledReasonList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datafusion.v1.Instance.DisabledReason>(disabledReason_, disabledReason_converter_); + java.lang.Integer, com.google.cloud.datafusion.v1.Instance.DisabledReason>( + disabledReason_, disabledReason_converter_); } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of disabledReason. */ public int getDisabledReasonCount() { return disabledReason_.size(); } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The disabledReason at the given index. */ @@ -6489,11 +7257,16 @@ public com.google.cloud.datafusion.v1.Instance.DisabledReason getDisabledReason( return disabledReason_converter_.convert(disabledReason_.get(index)); } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The disabledReason to set. * @return This builder for chaining. @@ -6509,11 +7282,16 @@ public Builder setDisabledReason( return this; } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The disabledReason to add. * @return This builder for chaining. */ @@ -6527,16 +7305,22 @@ public Builder addDisabledReason(com.google.cloud.datafusion.v1.Instance.Disable return this; } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The disabledReason to add. * @return This builder for chaining. */ public Builder addAllDisabledReason( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureDisabledReasonIsMutable(); for (com.google.cloud.datafusion.v1.Instance.DisabledReason value : values) { disabledReason_.add(value.getNumber()); @@ -6545,11 +7329,16 @@ public Builder addAllDisabledReason( return this; } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearDisabledReason() { @@ -6559,23 +7348,32 @@ public Builder clearDisabledReason() { return this; } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for disabledReason. */ - public java.util.List - getDisabledReasonValueList() { + public java.util.List getDisabledReasonValueList() { return java.util.Collections.unmodifiableList(disabledReason_); } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. */ @@ -6583,28 +7381,37 @@ public int getDisabledReasonValue(int index) { return disabledReason_.get(index); } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. * @return This builder for chaining. */ - public Builder setDisabledReasonValue( - int index, int value) { + public Builder setDisabledReasonValue(int index, int value) { ensureDisabledReasonIsMutable(); disabledReason_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for disabledReason to add. * @return This builder for chaining. */ @@ -6615,16 +7422,20 @@ public Builder addDisabledReasonValue(int value) { return this; } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The enum numeric values on the wire for disabledReason to add. * @return This builder for chaining. */ - public Builder addAllDisabledReasonValue( - java.lang.Iterable values) { + public Builder addAllDisabledReasonValue(java.lang.Iterable values) { ensureDisabledReasonIsMutable(); for (int value : values) { disabledReason_.add(value); @@ -6632,9 +7443,9 @@ public Builder addAllDisabledReasonValue( 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); } @@ -6644,12 +7455,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.Instance) private static final com.google.cloud.datafusion.v1.Instance DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.Instance(); } @@ -6658,16 +7469,16 @@ public static com.google.cloud.datafusion.v1.Instance getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Instance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Instance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Instance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Instance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6682,6 +7493,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceName.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceName.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java index 7968b94b..7bf34e57 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java @@ -1,94 +1,142 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface InstanceOrBuilder extends +public interface InstanceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.Instance) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A description of this instance.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A description of this instance.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. Instance type.
    * 
* - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. Instance type.
    * 
* - * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.datafusion.v1.Instance.Type getType(); /** + * + * *
    * Option to enable Stackdriver Logging.
    * 
* * bool enable_stackdriver_logging = 4; + * * @return The enableStackdriverLogging. */ boolean getEnableStackdriverLogging(); /** + * + * *
    * Option to enable Stackdriver Monitoring.
    * 
* * bool enable_stackdriver_monitoring = 5; + * * @return The enableStackdriverMonitoring. */ boolean getEnableStackdriverMonitoring(); /** + * + * *
    * Specifies whether the Data Fusion instance should be private. If set to
    * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -96,31 +144,40 @@ public interface InstanceOrBuilder extends
    * 
* * bool private_instance = 6; + * * @return The privateInstance. */ boolean getPrivateInstance(); /** + * + * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1.NetworkConfig network_config = 7; + * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** + * + * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1.NetworkConfig network_config = 7; + * * @return The networkConfig. */ com.google.cloud.datafusion.v1.NetworkConfig getNetworkConfig(); /** + * + * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
@@ -131,6 +188,8 @@ public interface InstanceOrBuilder extends
   com.google.cloud.datafusion.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -141,6 +200,8 @@ public interface InstanceOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -149,15 +210,13 @@ public interface InstanceOrBuilder extends
    *
    * map<string, string> labels = 8;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -166,9 +225,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 8;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -179,11 +239,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -192,11 +254,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 8;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -206,6 +268,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getOptionsCount();
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -213,15 +277,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> options = 9;
    */
-  boolean containsOptions(
-      java.lang.String key);
-  /**
-   * Use {@link #getOptionsMap()} instead.
-   */
+  boolean containsOptions(java.lang.String key);
+  /** Use {@link #getOptionsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getOptions();
+  java.util.Map getOptions();
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -229,9 +291,10 @@ boolean containsOptions(
    *
    * map<string, string> options = 9;
    */
-  java.util.Map
-  getOptionsMap();
+  java.util.Map getOptionsMap();
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -241,11 +304,13 @@ boolean containsOptions(
    */
 
   /* nullable */
-java.lang.String getOptionsOrDefault(
+  java.lang.String getOptionsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -253,212 +318,280 @@ java.lang.String getOptionsOrDefault(
    *
    * map<string, string> options = 9;
    */
-
-  java.lang.String getOptionsOrThrow(
-      java.lang.String key);
+  java.lang.String getOptionsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. The current state of this Data Fusion instance.
    * 
* - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of this Data Fusion instance.
    * 
* - * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.datafusion.v1.Instance.State getState(); /** + * + * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateMessage. */ java.lang.String getStateMessage(); /** + * + * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateMessage. */ - com.google.protobuf.ByteString - getStateMessageBytes(); + com.google.protobuf.ByteString getStateMessageBytes(); /** + * + * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceEndpoint. */ java.lang.String getServiceEndpoint(); /** + * + * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceEndpoint. */ - com.google.protobuf.ByteString - getServiceEndpointBytes(); + com.google.protobuf.ByteString getServiceEndpointBytes(); /** + * + * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; + * * @return The zone. */ java.lang.String getZone(); /** + * + * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; + * * @return The bytes for zone. */ - com.google.protobuf.ByteString - getZoneBytes(); + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Current version of the Data Fusion. Only specifiable in Update.
    * 
* * string version = 16; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Current version of the Data Fusion. Only specifiable in Update.
    * 
* * string version = 16; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1/datafusion.proto;l=361 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1/datafusion.proto;l=361 * @return The serviceAccount. */ - @java.lang.Deprecated java.lang.String getServiceAccount(); + @java.lang.Deprecated + java.lang.String getServiceAccount(); /** + * + * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1/datafusion.proto;l=361 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1/datafusion.proto;l=361 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getServiceAccountBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * Display name for an instance.
    * 
* * string display_name = 18; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name for an instance.
    * 
* * string display_name = 18; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -466,9 +599,10 @@ java.lang.String getOptionsOrThrow(
    *
    * repeated .google.cloud.datafusion.v1.Version available_version = 19;
    */
-  java.util.List 
-      getAvailableVersionList();
+  java.util.List getAvailableVersionList();
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -478,6 +612,8 @@ java.lang.String getOptionsOrThrow(
    */
   com.google.cloud.datafusion.v1.Version getAvailableVersion(int index);
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -487,6 +623,8 @@ java.lang.String getOptionsOrThrow(
    */
   int getAvailableVersionCount();
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -494,9 +632,11 @@ java.lang.String getOptionsOrThrow(
    *
    * repeated .google.cloud.datafusion.v1.Version available_version = 19;
    */
-  java.util.List 
+  java.util.List
       getAvailableVersionOrBuilderList();
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -504,59 +644,71 @@ java.lang.String getOptionsOrThrow(
    *
    * repeated .google.cloud.datafusion.v1.Version available_version = 19;
    */
-  com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuilder(
-      int index);
+  com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiEndpoint. */ java.lang.String getApiEndpoint(); /** + * + * *
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiEndpoint. */ - com.google.protobuf.ByteString - getApiEndpointBytes(); + com.google.protobuf.ByteString getApiEndpointBytes(); /** + * + * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The gcsBucket. */ java.lang.String getGcsBucket(); /** + * + * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for gcsBucket. */ - com.google.protobuf.ByteString - getGcsBucketBytes(); + com.google.protobuf.ByteString getGcsBucketBytes(); /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - java.util.List - getAcceleratorsList(); + java.util.List getAcceleratorsList(); /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -565,6 +717,8 @@ com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuilder( */ com.google.cloud.datafusion.v1.Accelerator getAccelerators(int index); /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -573,65 +727,80 @@ com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuilder( */ int getAcceleratorsCount(); /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - java.util.List + java.util.List getAcceleratorsOrBuilderList(); /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
* * repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22; */ - com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder( - int index); + com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder(int index); /** + * + * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The p4ServiceAccount. */ java.lang.String getP4ServiceAccount(); /** + * + * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for p4ServiceAccount. */ - com.google.protobuf.ByteString - getP4ServiceAccountBytes(); + com.google.protobuf.ByteString getP4ServiceAccountBytes(); /** + * + * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tenantProjectId. */ java.lang.String getTenantProjectId(); /** + * + * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tenantProjectId. */ - com.google.protobuf.ByteString - getTenantProjectIdBytes(); + com.google.protobuf.ByteString getTenantProjectIdBytes(); /** + * + * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -640,10 +809,13 @@ com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder(
    * 
* * string dataproc_service_account = 25; + * * @return The dataprocServiceAccount. */ java.lang.String getDataprocServiceAccount(); /** + * + * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -652,42 +824,53 @@ com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder(
    * 
* * string dataproc_service_account = 25; + * * @return The bytes for dataprocServiceAccount. */ - com.google.protobuf.ByteString - getDataprocServiceAccountBytes(); + com.google.protobuf.ByteString getDataprocServiceAccountBytes(); /** + * + * *
    * Option to enable granular role-based access control.
    * 
* * bool enable_rbac = 27; + * * @return The enableRbac. */ boolean getEnableRbac(); /** + * + * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28; + * * @return Whether the cryptoKeyConfig field is set. */ boolean hasCryptoKeyConfig(); /** + * + * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28; + * * @return The cryptoKeyConfig. */ com.google.cloud.datafusion.v1.CryptoKeyConfig getCryptoKeyConfig(); /** + * + * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
@@ -698,49 +881,73 @@ com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuilder(
   com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the disabledReason. */ java.util.List getDisabledReasonList(); /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of disabledReason. */ int getDisabledReasonCount(); /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The disabledReason at the given index. */ com.google.cloud.datafusion.v1.Instance.DisabledReason getDisabledReason(int index); /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for disabledReason. */ - java.util.List - getDisabledReasonValueList(); + java.util.List getDisabledReasonValueList(); /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. */ diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.java index c28d78b0..a94f22f5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** + * + * *
  * Request message for the list available versions request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListAvailableVersionsRequest} */ -public final class ListAvailableVersionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAvailableVersionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.ListAvailableVersionsRequest) ListAvailableVersionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAvailableVersionsRequest.newBuilder() to construct. private ListAvailableVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAvailableVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListAvailableVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAvailableVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAvailableVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,35 +71,37 @@ private ListAvailableVersionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - case 32: { + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - latestPatchOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + case 32: + { + latestPatchOnly_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,35 +109,42 @@ private ListAvailableVersionsRequest( } 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.class, com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.Builder.class); + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.class, + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * 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 @@ -127,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 project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * 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 { @@ -161,11 +189,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -176,12 +207,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -190,30 +224,30 @@ 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; } } /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @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 { @@ -224,6 +258,8 @@ public java.lang.String getPageToken() { public static final int LATEST_PATCH_ONLY_FIELD_NUMBER = 4; private boolean latestPatchOnly_; /** + * + * *
    * Whether or not to return the latest patch of every available minor version.
    * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -231,6 +267,7 @@ public java.lang.String getPageToken() {
    * 
* * bool latest_patch_only = 4; + * * @return The latestPatchOnly. */ @java.lang.Override @@ -239,6 +276,7 @@ public boolean getLatestPatchOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,8 +288,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_); } @@ -277,15 +314,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (latestPatchOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, latestPatchOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, latestPatchOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,21 +330,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.datafusion.v1.ListAvailableVersionsRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest other = (com.google.cloud.datafusion.v1.ListAvailableVersionsRequest) obj; + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest other = + (com.google.cloud.datafusion.v1.ListAvailableVersionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getLatestPatchOnly() - != other.getLatestPatchOnly()) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getLatestPatchOnly() != other.getLatestPatchOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,125 +360,134 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + LATEST_PATCH_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getLatestPatchOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLatestPatchOnly()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest 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 message for the list available versions request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListAvailableVersionsRequest} */ - 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.datafusion.v1.ListAvailableVersionsRequest) com.google.cloud.datafusion.v1.ListAvailableVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.class, com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.Builder.class); + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.class, + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.newBuilder() @@ -454,16 +495,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(); @@ -479,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsRequest_descriptor; } @java.lang.Override @@ -500,7 +540,8 @@ public com.google.cloud.datafusion.v1.ListAvailableVersionsRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1.ListAvailableVersionsRequest buildPartial() { - com.google.cloud.datafusion.v1.ListAvailableVersionsRequest result = new com.google.cloud.datafusion.v1.ListAvailableVersionsRequest(this); + com.google.cloud.datafusion.v1.ListAvailableVersionsRequest result = + new com.google.cloud.datafusion.v1.ListAvailableVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -513,38 +554,39 @@ public com.google.cloud.datafusion.v1.ListAvailableVersionsRequest 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.datafusion.v1.ListAvailableVersionsRequest) { - return mergeFrom((com.google.cloud.datafusion.v1.ListAvailableVersionsRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1.ListAvailableVersionsRequest) other); } else { super.mergeFrom(other); return this; @@ -552,7 +594,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.ListAvailableVersionsRequest other) { - if (other == com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1.ListAvailableVersionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +629,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1.ListAvailableVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1.ListAvailableVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,19 +642,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * 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; @@ -619,21 +667,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * 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 { @@ -641,69 +692,85 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * 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; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -711,30 +778,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; + * * @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 items to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -742,19 +815,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -763,21 +838,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @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 { @@ -785,64 +861,73 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @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; } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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; } - private boolean latestPatchOnly_ ; + private boolean latestPatchOnly_; /** + * + * *
      * Whether or not to return the latest patch of every available minor version.
      * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -850,6 +935,7 @@ public Builder setPageTokenBytes(
      * 
* * bool latest_patch_only = 4; + * * @return The latestPatchOnly. */ @java.lang.Override @@ -857,6 +943,8 @@ public boolean getLatestPatchOnly() { return latestPatchOnly_; } /** + * + * *
      * Whether or not to return the latest patch of every available minor version.
      * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -864,16 +952,19 @@ public boolean getLatestPatchOnly() {
      * 
* * bool latest_patch_only = 4; + * * @param value The latestPatchOnly to set. * @return This builder for chaining. */ public Builder setLatestPatchOnly(boolean value) { - + latestPatchOnly_ = value; onChanged(); return this; } /** + * + * *
      * Whether or not to return the latest patch of every available minor version.
      * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -881,17 +972,18 @@ public Builder setLatestPatchOnly(boolean value) {
      * 
* * bool latest_patch_only = 4; + * * @return This builder for chaining. */ public Builder clearLatestPatchOnly() { - + latestPatchOnly_ = false; 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); } @@ -901,12 +993,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.ListAvailableVersionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.ListAvailableVersionsRequest) private static final com.google.cloud.datafusion.v1.ListAvailableVersionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.ListAvailableVersionsRequest(); } @@ -915,16 +1007,16 @@ public static com.google.cloud.datafusion.v1.ListAvailableVersionsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAvailableVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAvailableVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAvailableVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAvailableVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -939,6 +1031,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.datafusion.v1.ListAvailableVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java index 3b64e50e..483d5d91 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java @@ -1,67 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface ListAvailableVersionsRequestOrBuilder extends +public interface ListAvailableVersionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.ListAvailableVersionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * 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 for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * 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 maximum number of items to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Whether or not to return the latest patch of every available minor version.
    * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -69,6 +104,7 @@ public interface ListAvailableVersionsRequestOrBuilder extends
    * 
* * bool latest_patch_only = 4; + * * @return The latestPatchOnly. */ boolean getLatestPatchOnly(); diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.java index f5367c64..3320c535 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** + * + * *
  * Response message for the list available versions request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListAvailableVersionsResponse} */ -public final class ListAvailableVersionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAvailableVersionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.ListAvailableVersionsResponse) ListAvailableVersionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAvailableVersionsResponse.newBuilder() to construct. private ListAvailableVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAvailableVersionsResponse() { availableVersions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListAvailableVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAvailableVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAvailableVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListAvailableVersionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - availableVersions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + availableVersions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + availableVersions_.add( + input.readMessage( + com.google.cloud.datafusion.v1.Version.parser(), extensionRegistry)); + break; } - availableVersions_.add( - input.readMessage(com.google.cloud.datafusion.v1.Version.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 +105,7 @@ private ListAvailableVersionsResponse( } 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)) { availableVersions_ = java.util.Collections.unmodifiableList(availableVersions_); @@ -94,22 +114,27 @@ private ListAvailableVersionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.class, com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.Builder.class); + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.class, + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.Builder.class); } public static final int AVAILABLE_VERSIONS_FIELD_NUMBER = 1; private java.util.List availableVersions_; /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -121,6 +146,8 @@ public java.util.List getAvailableVersio return availableVersions_; } /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -128,11 +155,13 @@ public java.util.List getAvailableVersio * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAvailableVersionsOrBuilderList() { return availableVersions_; } /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -144,6 +173,8 @@ public int getAvailableVersionsCount() { return availableVersions_.size(); } /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -155,6 +186,8 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersions(int index) { return availableVersions_.get(index); } /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -162,20 +195,22 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersions(int index) { * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ @java.lang.Override - public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBuilder( - int index) { + public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBuilder(int index) { return availableVersions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,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; } } /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,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 < availableVersions_.size(); i++) { output.writeMessage(1, availableVersions_.get(i)); } @@ -245,8 +280,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < availableVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, availableVersions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, availableVersions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +294,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.datafusion.v1.ListAvailableVersionsResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse other = (com.google.cloud.datafusion.v1.ListAvailableVersionsResponse) obj; + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse other = + (com.google.cloud.datafusion.v1.ListAvailableVersionsResponse) obj; - if (!getAvailableVersionsList() - .equals(other.getAvailableVersionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAvailableVersionsList().equals(other.getAvailableVersionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +327,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse 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 message for the list available versions request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListAvailableVersionsResponse} */ - 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.datafusion.v1.ListAvailableVersionsResponse) com.google.cloud.datafusion.v1.ListAvailableVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.class, com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.Builder.class); + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.class, + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.newBuilder() @@ -411,17 +455,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) { getAvailableVersionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +481,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListAvailableVersionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse getDefaultInstanceForType() { + public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse + getDefaultInstanceForType() { return com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.getDefaultInstance(); } @@ -458,7 +503,8 @@ public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse buildPartial() { - com.google.cloud.datafusion.v1.ListAvailableVersionsResponse result = new com.google.cloud.datafusion.v1.ListAvailableVersionsResponse(this); + com.google.cloud.datafusion.v1.ListAvailableVersionsResponse result = + new com.google.cloud.datafusion.v1.ListAvailableVersionsResponse(this); int from_bitField0_ = bitField0_; if (availableVersionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +524,39 @@ public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse 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.datafusion.v1.ListAvailableVersionsResponse) { - return mergeFrom((com.google.cloud.datafusion.v1.ListAvailableVersionsResponse)other); + return mergeFrom((com.google.cloud.datafusion.v1.ListAvailableVersionsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +564,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.ListAvailableVersionsResponse other) { - if (other == com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.datafusion.v1.ListAvailableVersionsResponse.getDefaultInstance()) + return this; if (availableVersionsBuilder_ == null) { if (!other.availableVersions_.isEmpty()) { if (availableVersions_.isEmpty()) { @@ -536,9 +585,10 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1.ListAvailableVersionsRes availableVersionsBuilder_ = null; availableVersions_ = other.availableVersions_; bitField0_ = (bitField0_ & ~0x00000001); - availableVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAvailableVersionsFieldBuilder() : null; + availableVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAvailableVersionsFieldBuilder() + : null; } else { availableVersionsBuilder_.addAllMessages(other.availableVersions_); } @@ -567,7 +617,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1.ListAvailableVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1.ListAvailableVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +627,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List availableVersions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAvailableVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - availableVersions_ = new java.util.ArrayList(availableVersions_); + availableVersions_ = + new java.util.ArrayList(availableVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Version, com.google.cloud.datafusion.v1.Version.Builder, com.google.cloud.datafusion.v1.VersionOrBuilder> availableVersionsBuilder_; + com.google.cloud.datafusion.v1.Version, + com.google.cloud.datafusion.v1.Version.Builder, + com.google.cloud.datafusion.v1.VersionOrBuilder> + availableVersionsBuilder_; /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -605,6 +664,8 @@ public java.util.List getAvailableVersio } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -619,6 +680,8 @@ public int getAvailableVersionsCount() { } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -633,14 +696,15 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersions(int index) { } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - public Builder setAvailableVersions( - int index, com.google.cloud.datafusion.v1.Version value) { + public Builder setAvailableVersions(int index, com.google.cloud.datafusion.v1.Version value) { if (availableVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +718,8 @@ public Builder setAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -672,6 +738,8 @@ public Builder setAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -692,14 +760,15 @@ public Builder addAvailableVersions(com.google.cloud.datafusion.v1.Version value return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - public Builder addAvailableVersions( - int index, com.google.cloud.datafusion.v1.Version value) { + public Builder addAvailableVersions(int index, com.google.cloud.datafusion.v1.Version value) { if (availableVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +782,8 @@ public Builder addAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -731,6 +802,8 @@ public Builder addAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -749,6 +822,8 @@ public Builder addAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -759,8 +834,7 @@ public Builder addAllAvailableVersions( java.lang.Iterable values) { if (availableVersionsBuilder_ == null) { ensureAvailableVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, availableVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableVersions_); onChanged(); } else { availableVersionsBuilder_.addAllMessages(values); @@ -768,6 +842,8 @@ public Builder addAllAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -785,6 +861,8 @@ public Builder clearAvailableVersions() { return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -802,17 +880,20 @@ public Builder removeAvailableVersions(int index) { return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - public com.google.cloud.datafusion.v1.Version.Builder getAvailableVersionsBuilder( - int index) { + public com.google.cloud.datafusion.v1.Version.Builder getAvailableVersionsBuilder(int index) { return getAvailableVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -822,19 +903,22 @@ public com.google.cloud.datafusion.v1.Version.Builder getAvailableVersionsBuilde public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBuilder( int index) { if (availableVersionsBuilder_ == null) { - return availableVersions_.get(index); } else { + return availableVersions_.get(index); + } else { return availableVersionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - public java.util.List - getAvailableVersionsOrBuilderList() { + public java.util.List + getAvailableVersionsOrBuilderList() { if (availableVersionsBuilder_ != null) { return availableVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +926,8 @@ public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBui } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -849,38 +935,47 @@ public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBui * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionsBuilder() { - return getAvailableVersionsFieldBuilder().addBuilder( - com.google.cloud.datafusion.v1.Version.getDefaultInstance()); + return getAvailableVersionsFieldBuilder() + .addBuilder(com.google.cloud.datafusion.v1.Version.getDefaultInstance()); } /** + * + * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionsBuilder( - int index) { - return getAvailableVersionsFieldBuilder().addBuilder( - index, com.google.cloud.datafusion.v1.Version.getDefaultInstance()); + public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionsBuilder(int index) { + return getAvailableVersionsFieldBuilder() + .addBuilder(index, com.google.cloud.datafusion.v1.Version.getDefaultInstance()); } /** + * + * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - public java.util.List - getAvailableVersionsBuilderList() { + public java.util.List + getAvailableVersionsBuilderList() { return getAvailableVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Version, com.google.cloud.datafusion.v1.Version.Builder, com.google.cloud.datafusion.v1.VersionOrBuilder> + com.google.cloud.datafusion.v1.Version, + com.google.cloud.datafusion.v1.Version.Builder, + com.google.cloud.datafusion.v1.VersionOrBuilder> getAvailableVersionsFieldBuilder() { if (availableVersionsBuilder_ == null) { - availableVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Version, com.google.cloud.datafusion.v1.Version.Builder, com.google.cloud.datafusion.v1.VersionOrBuilder>( + availableVersionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1.Version, + com.google.cloud.datafusion.v1.Version.Builder, + com.google.cloud.datafusion.v1.VersionOrBuilder>( availableVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +987,21 @@ public com.google.cloud.datafusion.v1.Version.Builder addAvailableVersionsBuilde private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 +1010,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 +1033,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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,12 +1107,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.ListAvailableVersionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.ListAvailableVersionsResponse) - private static final com.google.cloud.datafusion.v1.ListAvailableVersionsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.datafusion.v1.ListAvailableVersionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.ListAvailableVersionsResponse(); } @@ -1016,16 +1122,16 @@ public static com.google.cloud.datafusion.v1.ListAvailableVersionsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAvailableVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAvailableVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAvailableVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAvailableVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1146,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.datafusion.v1.ListAvailableVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.java index 2fdc43e3..31f7ee55 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface ListAvailableVersionsResponseOrBuilder extends +public interface ListAvailableVersionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.ListAvailableVersionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Represents a list of versions that are supported.
    * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - java.util.List - getAvailableVersionsList(); + java.util.List getAvailableVersionsList(); /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -25,6 +44,8 @@ public interface ListAvailableVersionsResponseOrBuilder extends */ com.google.cloud.datafusion.v1.Version getAvailableVersions(int index); /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -33,43 +54,51 @@ public interface ListAvailableVersionsResponseOrBuilder extends */ int getAvailableVersionsCount(); /** + * + * *
    * Represents a list of versions that are supported.
    * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - java.util.List + java.util.List getAvailableVersionsOrBuilderList(); /** + * + * *
    * Represents a list of versions that are supported.
    * 
* * repeated .google.cloud.datafusion.v1.Version available_versions = 1; */ - com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBuilder( - int index); + com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.java index d95c37ee..aa89752a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** + * + * *
  * Request message for listing Data Fusion instances.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListInstancesRequest} */ -public final class ListInstancesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInstancesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.ListInstancesRequest) ListInstancesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInstancesRequest.newBuilder() to construct. private ListInstancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInstancesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInstancesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListInstancesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListInstancesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +120,33 @@ private ListInstancesRequest( } 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListInstancesRequest.class, com.google.cloud.datafusion.v1.ListInstancesRequest.Builder.class); + com.google.cloud.datafusion.v1.ListInstancesRequest.class, + com.google.cloud.datafusion.v1.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -129,7 +154,10 @@ private ListInstancesRequest(
    * are queried, and the results are aggregated.
    * 
* - * 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 @@ -138,14 +166,15 @@ 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 for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -153,17 +182,18 @@ public java.lang.String getParent() {
    * are queried, and the results are aggregated.
    * 
* - * 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 { @@ -174,11 +204,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -189,12 +222,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -203,30 +239,30 @@ 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; } } /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @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 { @@ -237,11 +273,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * List filter.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -250,29 +289,29 @@ 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; } } /** + * + * *
    * List filter.
    * 
* * string filter = 4; + * * @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 { @@ -283,11 +322,14 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -296,29 +338,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -327,6 +369,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,8 +381,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_); } @@ -368,8 +410,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -388,23 +429,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.datafusion.v1.ListInstancesRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.ListInstancesRequest other = (com.google.cloud.datafusion.v1.ListInstancesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.datafusion.v1.ListInstancesRequest other = + (com.google.cloud.datafusion.v1.ListInstancesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -432,117 +469,126 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.ListInstancesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.ListInstancesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest 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 message for listing Data Fusion instances.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListInstancesRequest} */ - 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.datafusion.v1.ListInstancesRequest) com.google.cloud.datafusion.v1.ListInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListInstancesRequest.class, com.google.cloud.datafusion.v1.ListInstancesRequest.Builder.class); + com.google.cloud.datafusion.v1.ListInstancesRequest.class, + com.google.cloud.datafusion.v1.ListInstancesRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1.ListInstancesRequest.newBuilder() @@ -550,16 +596,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(); @@ -577,9 +622,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListInstancesRequest_descriptor; } @java.lang.Override @@ -598,7 +643,8 @@ public com.google.cloud.datafusion.v1.ListInstancesRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1.ListInstancesRequest buildPartial() { - com.google.cloud.datafusion.v1.ListInstancesRequest result = new com.google.cloud.datafusion.v1.ListInstancesRequest(this); + com.google.cloud.datafusion.v1.ListInstancesRequest result = + new com.google.cloud.datafusion.v1.ListInstancesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -612,38 +658,39 @@ public com.google.cloud.datafusion.v1.ListInstancesRequest 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.datafusion.v1.ListInstancesRequest) { - return mergeFrom((com.google.cloud.datafusion.v1.ListInstancesRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1.ListInstancesRequest) other); } else { super.mergeFrom(other); return this; @@ -651,7 +698,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.ListInstancesRequest other) { - if (other == com.google.cloud.datafusion.v1.ListInstancesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1.ListInstancesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -690,7 +738,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1.ListInstancesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1.ListInstancesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -702,6 +751,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -709,14 +760,16 @@ public Builder mergeFrom(
      * are queried, and the results are aggregated.
      * 
* - * 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; @@ -725,6 +778,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -732,16 +787,17 @@ public java.lang.String getParent() {
      * are queried, and the results are aggregated.
      * 
* - * 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 { @@ -749,6 +805,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -756,21 +814,25 @@ public java.lang.String getParent() {
      * are queried, and the results are aggregated.
      * 
* - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -778,16 +840,21 @@ public Builder setParent(
      * are queried, and the results are aggregated.
      * 
* - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -795,29 +862,34 @@ public Builder clearParent() {
      * are queried, and the results are aggregated.
      * 
* - * 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; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -825,30 +897,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; + * * @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 items to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -856,19 +934,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -877,21 +957,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @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 { @@ -899,57 +980,64 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @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; } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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; @@ -957,18 +1045,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * List filter.
      * 
* * string filter = 4; + * * @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; @@ -977,20 +1067,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * List filter.
      * 
* * string filter = 4; + * * @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 { @@ -998,54 +1089,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * List filter.
      * 
* * string filter = 4; + * * @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; } /** + * + * *
      * List filter.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * List filter.
      * 
* * string filter = 4; + * * @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; @@ -1053,18 +1151,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1073,20 +1173,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1094,61 +1195,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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 +1266,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.ListInstancesRequest) private static final com.google.cloud.datafusion.v1.ListInstancesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.ListInstancesRequest(); } @@ -1172,16 +1280,16 @@ public static com.google.cloud.datafusion.v1.ListInstancesRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstancesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInstancesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1196,6 +1304,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.java index 858b5efa..5d7642ce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface ListInstancesRequestOrBuilder extends +public interface ListInstancesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.ListInstancesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -15,11 +33,16 @@ public interface ListInstancesRequestOrBuilder extends
    * are queried, and the results are aggregated.
    * 
* - * 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 for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -27,81 +50,101 @@ public interface ListInstancesRequestOrBuilder extends
    * are queried, and the results are aggregated.
    * 
* - * 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 maximum number of items to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * List filter.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * List filter.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.java index eb051c9c..1d417ccf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** + * + * *
  * Response message for the list instance request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListInstancesResponse} */ -public final class ListInstancesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInstancesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.ListInstancesResponse) ListInstancesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInstancesResponse.newBuilder() to construct. private ListInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInstancesResponse() { instances_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListInstancesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInstancesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListInstancesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private ListInstancesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - instances_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + instances_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + instances_.add( + input.readMessage( + com.google.cloud.datafusion.v1.Instance.parser(), extensionRegistry)); + break; } - instances_.add( - input.readMessage(com.google.cloud.datafusion.v1.Instance.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +115,7 @@ private ListInstancesResponse( } 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)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -107,22 +127,27 @@ private ListInstancesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListInstancesResponse.class, com.google.cloud.datafusion.v1.ListInstancesResponse.Builder.class); + com.google.cloud.datafusion.v1.ListInstancesResponse.class, + com.google.cloud.datafusion.v1.ListInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; private java.util.List instances_; /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -134,6 +159,8 @@ public java.util.List getInstancesList( return instances_; } /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -141,11 +168,13 @@ public java.util.List getInstancesList( * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -157,6 +186,8 @@ public int getInstancesCount() { return instances_.size(); } /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -168,6 +199,8 @@ public com.google.cloud.datafusion.v1.Instance getInstances(int index) { return instances_.get(index); } /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -175,20 +208,22 @@ public com.google.cloud.datafusion.v1.Instance getInstances(int index) { * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { return instances_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +232,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; } } /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -231,34 +266,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +309,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +337,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 < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -312,8 +357,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < instances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, instances_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, instances_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +378,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.datafusion.v1.ListInstancesResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.ListInstancesResponse other = (com.google.cloud.datafusion.v1.ListInstancesResponse) obj; + com.google.cloud.datafusion.v1.ListInstancesResponse other = + (com.google.cloud.datafusion.v1.ListInstancesResponse) obj; - if (!getInstancesList() - .equals(other.getInstancesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getInstancesList().equals(other.getInstancesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +416,126 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.ListInstancesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.ListInstancesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse 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 message for the list instance request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.ListInstancesResponse} */ - 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.datafusion.v1.ListInstancesResponse) com.google.cloud.datafusion.v1.ListInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.ListInstancesResponse.class, com.google.cloud.datafusion.v1.ListInstancesResponse.Builder.class); + com.google.cloud.datafusion.v1.ListInstancesResponse.class, + com.google.cloud.datafusion.v1.ListInstancesResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1.ListInstancesResponse.newBuilder() @@ -492,17 +543,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) { getInstancesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +571,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_ListInstancesResponse_descriptor; } @java.lang.Override @@ -541,7 +592,8 @@ public com.google.cloud.datafusion.v1.ListInstancesResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1.ListInstancesResponse buildPartial() { - com.google.cloud.datafusion.v1.ListInstancesResponse result = new com.google.cloud.datafusion.v1.ListInstancesResponse(this); + com.google.cloud.datafusion.v1.ListInstancesResponse result = + new com.google.cloud.datafusion.v1.ListInstancesResponse(this); int from_bitField0_ = bitField0_; if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +618,39 @@ public com.google.cloud.datafusion.v1.ListInstancesResponse 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.datafusion.v1.ListInstancesResponse) { - return mergeFrom((com.google.cloud.datafusion.v1.ListInstancesResponse)other); + return mergeFrom((com.google.cloud.datafusion.v1.ListInstancesResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +658,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.ListInstancesResponse other) { - if (other == com.google.cloud.datafusion.v1.ListInstancesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1.ListInstancesResponse.getDefaultInstance()) + return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -624,9 +678,10 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1.ListInstancesResponse ot instancesBuilder_ = null; instances_ = other.instances_; bitField0_ = (bitField0_ & ~0x00000001); - instancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getInstancesFieldBuilder() : null; + instancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getInstancesFieldBuilder() + : null; } else { instancesBuilder_.addAllMessages(other.instances_); } @@ -665,7 +720,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1.ListInstancesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1.ListInstancesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,21 +730,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder> instancesBuilder_; + com.google.cloud.datafusion.v1.Instance, + com.google.cloud.datafusion.v1.Instance.Builder, + com.google.cloud.datafusion.v1.InstanceOrBuilder> + instancesBuilder_; /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -703,6 +766,8 @@ public java.util.List getInstancesList( } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -717,6 +782,8 @@ public int getInstancesCount() { } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -731,14 +798,15 @@ public com.google.cloud.datafusion.v1.Instance getInstances(int index) { } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public Builder setInstances( - int index, com.google.cloud.datafusion.v1.Instance value) { + public Builder setInstances(int index, com.google.cloud.datafusion.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,6 +820,8 @@ public Builder setInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -770,6 +840,8 @@ public Builder setInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -790,14 +862,15 @@ public Builder addInstances(com.google.cloud.datafusion.v1.Instance value) { return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public Builder addInstances( - int index, com.google.cloud.datafusion.v1.Instance value) { + public Builder addInstances(int index, com.google.cloud.datafusion.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,14 +884,15 @@ public Builder addInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public Builder addInstances( - com.google.cloud.datafusion.v1.Instance.Builder builderForValue) { + public Builder addInstances(com.google.cloud.datafusion.v1.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -829,6 +903,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -847,6 +923,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -857,8 +935,7 @@ public Builder addAllInstances( java.lang.Iterable values) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); onChanged(); } else { instancesBuilder_.addAllMessages(values); @@ -866,6 +943,8 @@ public Builder addAllInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -883,6 +962,8 @@ public Builder clearInstances() { return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -900,39 +981,44 @@ public Builder removeInstances(int index) { return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public com.google.cloud.datafusion.v1.Instance.Builder getInstancesBuilder( - int index) { + public com.google.cloud.datafusion.v1.Instance.Builder getInstancesBuilder(int index) { return getInstancesFieldBuilder().getBuilder(index); } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { if (instancesBuilder_ == null) { - return instances_.get(index); } else { + return instances_.get(index); + } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -940,6 +1026,8 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder( } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -947,42 +1035,48 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder( * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ public com.google.cloud.datafusion.v1.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder().addBuilder( - com.google.cloud.datafusion.v1.Instance.getDefaultInstance()); + return getInstancesFieldBuilder() + .addBuilder(com.google.cloud.datafusion.v1.Instance.getDefaultInstance()); } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public com.google.cloud.datafusion.v1.Instance.Builder addInstancesBuilder( - int index) { - return getInstancesFieldBuilder().addBuilder( - index, com.google.cloud.datafusion.v1.Instance.getDefaultInstance()); + public com.google.cloud.datafusion.v1.Instance.Builder addInstancesBuilder(int index) { + return getInstancesFieldBuilder() + .addBuilder(index, com.google.cloud.datafusion.v1.Instance.getDefaultInstance()); } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder> + com.google.cloud.datafusion.v1.Instance, + com.google.cloud.datafusion.v1.Instance.Builder, + com.google.cloud.datafusion.v1.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder>( - instances_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + instancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1.Instance, + com.google.cloud.datafusion.v1.Instance.Builder, + com.google.cloud.datafusion.v1.InstanceOrBuilder>( + instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); instances_ = null; } return instancesBuilder_; @@ -990,19 +1084,21 @@ public com.google.cloud.datafusion.v1.Instance.Builder addInstancesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -1011,21 +1107,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1033,98 +1130,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1246,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1339,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.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); } @@ -1246,12 +1372,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.ListInstancesResponse) private static final com.google.cloud.datafusion.v1.ListInstancesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.ListInstancesResponse(); } @@ -1260,16 +1386,16 @@ public static com.google.cloud.datafusion.v1.ListInstancesResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstancesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInstancesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1410,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.java index b7ed684c..bf16d9c9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface ListInstancesResponseOrBuilder extends +public interface ListInstancesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - java.util.List - getInstancesList(); + java.util.List getInstancesList(); /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -25,6 +44,8 @@ public interface ListInstancesResponseOrBuilder extends */ com.google.cloud.datafusion.v1.Instance getInstances(int index); /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -33,84 +54,102 @@ public interface ListInstancesResponseOrBuilder extends */ int getInstancesCount(); /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
* * repeated .google.cloud.datafusion.v1.Instance instances = 1; */ - com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder( - int index); + com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/LocationName.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/LocationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/LocationName.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.java index febbf901..39ffeb40 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** + * + * *
  * Network configuration for a Data Fusion instance. These configurations
  * are used for peering with the customer network. Configurations are optional
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1.NetworkConfig}
  */
-public final class NetworkConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NetworkConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.NetworkConfig)
     NetworkConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NetworkConfig.newBuilder() to construct.
   private NetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NetworkConfig() {
     network_ = "";
     ipAllocation_ = "";
@@ -31,16 +49,15 @@ private NetworkConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NetworkConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NetworkConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,25 +76,27 @@ private NetworkConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            network_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              network_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            ipAllocation_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              ipAllocation_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +104,33 @@ private NetworkConfig(
     } 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_NetworkConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datafusion.v1.Datafusion
+        .internal_static_google_cloud_datafusion_v1_NetworkConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_NetworkConfig_fieldAccessorTable
+    return com.google.cloud.datafusion.v1.Datafusion
+        .internal_static_google_cloud_datafusion_v1_NetworkConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1.NetworkConfig.class, com.google.cloud.datafusion.v1.NetworkConfig.Builder.class);
+            com.google.cloud.datafusion.v1.NetworkConfig.class,
+            com.google.cloud.datafusion.v1.NetworkConfig.Builder.class);
   }
 
   public static final int NETWORK_FIELD_NUMBER = 1;
   private volatile java.lang.Object network_;
   /**
+   *
+   *
    * 
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -116,6 +139,7 @@ private NetworkConfig(
    * 
* * string network = 1; + * * @return The network. */ @java.lang.Override @@ -124,14 +148,15 @@ public java.lang.String getNetwork() { 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(); network_ = s; return s; } } /** + * + * *
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -140,16 +165,15 @@ public java.lang.String getNetwork() {
    * 
* * string network = 1; + * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; 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); network_ = b; return b; } else { @@ -160,6 +184,8 @@ public java.lang.String getNetwork() { public static final int IP_ALLOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object ipAllocation_; /** + * + * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the
@@ -167,6 +193,7 @@ public java.lang.String getNetwork() {
    * 
* * string ip_allocation = 2; + * * @return The ipAllocation. */ @java.lang.Override @@ -175,14 +202,15 @@ public java.lang.String getIpAllocation() { 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(); ipAllocation_ = s; return s; } } /** + * + * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the
@@ -190,16 +218,15 @@ public java.lang.String getIpAllocation() {
    * 
* * string ip_allocation = 2; + * * @return The bytes for ipAllocation. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpAllocationBytes() { + public com.google.protobuf.ByteString getIpAllocationBytes() { java.lang.Object ref = ipAllocation_; 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); ipAllocation_ = b; return b; } else { @@ -208,6 +235,7 @@ public java.lang.String getIpAllocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,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(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -250,17 +277,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.datafusion.v1.NetworkConfig)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.NetworkConfig other = (com.google.cloud.datafusion.v1.NetworkConfig) obj; + com.google.cloud.datafusion.v1.NetworkConfig other = + (com.google.cloud.datafusion.v1.NetworkConfig) obj; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getIpAllocation() - .equals(other.getIpAllocation())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getIpAllocation().equals(other.getIpAllocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +307,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1.NetworkConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1.NetworkConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.NetworkConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1.NetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.NetworkConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig 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; } /** + * + * *
    * Network configuration for a Data Fusion instance. These configurations
    * are used for peering with the customer network. Configurations are optional
@@ -383,21 +416,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datafusion.v1.NetworkConfig}
    */
-  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.datafusion.v1.NetworkConfig)
       com.google.cloud.datafusion.v1.NetworkConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_NetworkConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datafusion.v1.Datafusion
+          .internal_static_google_cloud_datafusion_v1_NetworkConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_NetworkConfig_fieldAccessorTable
+      return com.google.cloud.datafusion.v1.Datafusion
+          .internal_static_google_cloud_datafusion_v1_NetworkConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1.NetworkConfig.class, com.google.cloud.datafusion.v1.NetworkConfig.Builder.class);
+              com.google.cloud.datafusion.v1.NetworkConfig.class,
+              com.google.cloud.datafusion.v1.NetworkConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1.NetworkConfig.newBuilder()
@@ -405,16 +440,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();
@@ -426,9 +460,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_NetworkConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datafusion.v1.Datafusion
+          .internal_static_google_cloud_datafusion_v1_NetworkConfig_descriptor;
     }
 
     @java.lang.Override
@@ -447,7 +481,8 @@ public com.google.cloud.datafusion.v1.NetworkConfig build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1.NetworkConfig buildPartial() {
-      com.google.cloud.datafusion.v1.NetworkConfig result = new com.google.cloud.datafusion.v1.NetworkConfig(this);
+      com.google.cloud.datafusion.v1.NetworkConfig result =
+          new com.google.cloud.datafusion.v1.NetworkConfig(this);
       result.network_ = network_;
       result.ipAllocation_ = ipAllocation_;
       onBuilt();
@@ -458,38 +493,39 @@ public com.google.cloud.datafusion.v1.NetworkConfig 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.datafusion.v1.NetworkConfig) {
-        return mergeFrom((com.google.cloud.datafusion.v1.NetworkConfig)other);
+        return mergeFrom((com.google.cloud.datafusion.v1.NetworkConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -537,6 +573,8 @@ public Builder mergeFrom(
 
     private java.lang.Object network_ = "";
     /**
+     *
+     *
      * 
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -545,13 +583,13 @@ public Builder mergeFrom(
      * 
* * string network = 1; + * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; 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(); network_ = s; return s; @@ -560,6 +598,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -568,15 +608,14 @@ public java.lang.String getNetwork() {
      * 
* * string network = 1; + * * @return The bytes for network. */ - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; 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); network_ = b; return b; } else { @@ -584,6 +623,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -592,20 +633,22 @@ public java.lang.String getNetwork() {
      * 
* * string network = 1; + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { + public Builder setNetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** + * + * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -614,15 +657,18 @@ public Builder setNetwork(
      * 
* * string network = 1; + * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** + * + * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -631,16 +677,16 @@ public Builder clearNetwork() {
      * 
* * string network = 1; + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -648,6 +694,8 @@ public Builder setNetworkBytes( private java.lang.Object ipAllocation_ = ""; /** + * + * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the
@@ -655,13 +703,13 @@ public Builder setNetworkBytes(
      * 
* * string ip_allocation = 2; + * * @return The ipAllocation. */ public java.lang.String getIpAllocation() { java.lang.Object ref = ipAllocation_; 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(); ipAllocation_ = s; return s; @@ -670,6 +718,8 @@ public java.lang.String getIpAllocation() { } } /** + * + * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the
@@ -677,15 +727,14 @@ public java.lang.String getIpAllocation() {
      * 
* * string ip_allocation = 2; + * * @return The bytes for ipAllocation. */ - public com.google.protobuf.ByteString - getIpAllocationBytes() { + public com.google.protobuf.ByteString getIpAllocationBytes() { java.lang.Object ref = ipAllocation_; 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); ipAllocation_ = b; return b; } else { @@ -693,6 +742,8 @@ public java.lang.String getIpAllocation() { } } /** + * + * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the
@@ -700,20 +751,22 @@ public java.lang.String getIpAllocation() {
      * 
* * string ip_allocation = 2; + * * @param value The ipAllocation to set. * @return This builder for chaining. */ - public Builder setIpAllocation( - java.lang.String value) { + public Builder setIpAllocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipAllocation_ = value; onChanged(); return this; } /** + * + * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the
@@ -721,15 +774,18 @@ public Builder setIpAllocation(
      * 
* * string ip_allocation = 2; + * * @return This builder for chaining. */ public Builder clearIpAllocation() { - + ipAllocation_ = getDefaultInstance().getIpAllocation(); onChanged(); return this; } /** + * + * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the
@@ -737,23 +793,23 @@ public Builder clearIpAllocation() {
      * 
* * string ip_allocation = 2; + * * @param value The bytes for ipAllocation to set. * @return This builder for chaining. */ - public Builder setIpAllocationBytes( - com.google.protobuf.ByteString value) { + public Builder setIpAllocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipAllocation_ = 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); } @@ -763,12 +819,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.NetworkConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.NetworkConfig) private static final com.google.cloud.datafusion.v1.NetworkConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.NetworkConfig(); } @@ -777,16 +833,16 @@ public static com.google.cloud.datafusion.v1.NetworkConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NetworkConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetworkConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -801,6 +857,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.NetworkConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.java index 79022038..c820cf58 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface NetworkConfigOrBuilder extends +public interface NetworkConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.NetworkConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -16,10 +34,13 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string network = 1; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -28,12 +49,14 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string network = 1; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the
@@ -41,10 +64,13 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string ip_allocation = 2; + * * @return The ipAllocation. */ java.lang.String getIpAllocation(); /** + * + * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the
@@ -52,8 +78,8 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string ip_allocation = 2; + * * @return The bytes for ipAllocation. */ - com.google.protobuf.ByteString - getIpAllocationBytes(); + com.google.protobuf.ByteString getIpAllocationBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.java index 8c40b5f2..3cfa399d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** + * + * *
  * Represents the metadata of a long-running operation.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -28,16 +46,15 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,81 +74,93 @@ private OperationMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 10: + { + 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 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 26: + { + java.lang.String s = input.readStringRequireUtf8(); - 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(); + target_ = s; + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - target_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - statusDetail_ = s; - break; - } - case 48: { + verb_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - requestedCancellation_ = input.readBool(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + statusDetail_ = s; + break; + } + case 48: + { + requestedCancellation_ = input.readBool(); + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - case 66: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - additionalStatus_ = com.google.protobuf.MapField.newMapField( - AdditionalStatusDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + apiVersion_ = s; + break; } - com.google.protobuf.MapEntry - additionalStatus__ = input.readMessage( - AdditionalStatusDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - additionalStatus_.getMutableMap().put( - additionalStatus__.getKey(), additionalStatus__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 66: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + additionalStatus_ = + com.google.protobuf.MapField.newMapField( + AdditionalStatusDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry additionalStatus__ = + input.readMessage( + AdditionalStatusDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + additionalStatus_ + .getMutableMap() + .put(additionalStatus__.getKey(), additionalStatus__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -139,46 +168,50 @@ private OperationMetadata( } 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_OperationMetadata_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 8: return internalGetAdditionalStatus(); 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.OperationMetadata.class, com.google.cloud.datafusion.v1.OperationMetadata.Builder.class); + com.google.cloud.datafusion.v1.OperationMetadata.class, + com.google.cloud.datafusion.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -186,11 +219,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ @java.lang.Override @@ -198,6 +234,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -212,11 +250,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -224,11 +265,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -236,6 +280,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -250,11 +296,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The target. */ @java.lang.Override @@ -263,29 +312,29 @@ public java.lang.String getTarget() { 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(); target_ = s; return s; } } /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -296,11 +345,14 @@ public java.lang.String getTarget() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ @java.lang.Override @@ -309,29 +361,29 @@ public java.lang.String getVerb() { 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(); verb_ = s; return s; } } /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -342,11 +394,14 @@ public java.lang.String getVerb() { public static final int STATUS_DETAIL_FIELD_NUMBER = 5; private volatile java.lang.Object statusDetail_; /** + * + * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; + * * @return The statusDetail. */ @java.lang.Override @@ -355,29 +410,29 @@ public java.lang.String getStatusDetail() { 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(); statusDetail_ = s; return s; } } /** + * + * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; 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); statusDetail_ = b; return b; } else { @@ -388,6 +443,8 @@ public java.lang.String getStatusDetail() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_; /** + * + * *
    * Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -396,6 +453,7 @@ public java.lang.String getStatusDetail() {
    * 
* * bool requested_cancellation = 6; + * * @return The requestedCancellation. */ @java.lang.Override @@ -406,11 +464,14 @@ public boolean getRequestedCancellation() { public static final int API_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object apiVersion_; /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The apiVersion. */ @java.lang.Override @@ -419,29 +480,29 @@ public java.lang.String getApiVersion() { 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(); apiVersion_ = s; return s; } } /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -450,21 +511,22 @@ public java.lang.String getApiVersion() { } public static final int ADDITIONAL_STATUS_FIELD_NUMBER = 8; + private static final class AdditionalStatusDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_OperationMetadata_AdditionalStatusEntry_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.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_OperationMetadata_AdditionalStatusEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> additionalStatus_; + + private com.google.protobuf.MapField additionalStatus_; + private com.google.protobuf.MapField - internalGetAdditionalStatus() { + internalGetAdditionalStatus() { if (additionalStatus_ == null) { return com.google.protobuf.MapField.emptyMapField( AdditionalStatusDefaultEntryHolder.defaultEntry); @@ -476,6 +538,8 @@ public int getAdditionalStatusCount() { return internalGetAdditionalStatus().getMap().size(); } /** + * + * *
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -485,22 +549,22 @@ public int getAdditionalStatusCount() {
    *
    * map<string, string> additional_status = 8;
    */
-
   @java.lang.Override
-  public boolean containsAdditionalStatus(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAdditionalStatus(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAdditionalStatus().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAdditionalStatusMap()} instead.
-   */
+  /** Use {@link #getAdditionalStatusMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAdditionalStatus() {
     return getAdditionalStatusMap();
   }
   /**
+   *
+   *
    * 
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -511,11 +575,12 @@ public java.util.Map getAdditionalStatus() {
    * map<string, string> additional_status = 8;
    */
   @java.lang.Override
-
   public java.util.Map getAdditionalStatusMap() {
     return internalGetAdditionalStatus().getMap();
   }
   /**
+   *
+   *
    * 
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -526,16 +591,17 @@ public java.util.Map getAdditionalStatusMap(
    * map<string, string> additional_status = 8;
    */
   @java.lang.Override
-
   public java.lang.String getAdditionalStatusOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAdditionalStatus().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAdditionalStatus().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -546,12 +612,11 @@ public java.lang.String getAdditionalStatusOrDefault(
    * map<string, string> additional_status = 8;
    */
   @java.lang.Override
-
-  public java.lang.String getAdditionalStatusOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAdditionalStatus().getMap();
+  public java.lang.String getAdditionalStatusOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAdditionalStatus().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -559,6 +624,7 @@ public java.lang.String getAdditionalStatusOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -570,8 +636,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 (createTime_ != null) {
       output.writeMessage(1, getCreateTime());
     }
@@ -593,12 +658,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 7, apiVersion_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetAdditionalStatus(),
-        AdditionalStatusDefaultEntryHolder.defaultEntry,
-        8);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetAdditionalStatus(), AdditionalStatusDefaultEntryHolder.defaultEntry, 8);
     unknownFields.writeTo(output);
   }
 
@@ -609,12 +670,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_);
@@ -626,21 +685,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusDetail_);
     }
     if (requestedCancellation_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(6, requestedCancellation_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetAdditionalStatus().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      additionalStatus__ = AdditionalStatusDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(8, additionalStatus__);
+    for (java.util.Map.Entry entry :
+        internalGetAdditionalStatus().getMap().entrySet()) {
+      com.google.protobuf.MapEntry additionalStatus__ =
+          AdditionalStatusDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, additionalStatus__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -650,35 +708,28 @@ 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.datafusion.v1.OperationMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.datafusion.v1.OperationMetadata other = (com.google.cloud.datafusion.v1.OperationMetadata) obj;
+    com.google.cloud.datafusion.v1.OperationMetadata other =
+        (com.google.cloud.datafusion.v1.OperationMetadata) obj;
 
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime()
-          .equals(other.getCreateTime())) return false;
+      if (!getCreateTime().equals(other.getCreateTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
-    }
-    if (!getTarget()
-        .equals(other.getTarget())) return false;
-    if (!getVerb()
-        .equals(other.getVerb())) return false;
-    if (!getStatusDetail()
-        .equals(other.getStatusDetail())) return false;
-    if (getRequestedCancellation()
-        != other.getRequestedCancellation()) return false;
-    if (!getApiVersion()
-        .equals(other.getApiVersion())) return false;
-    if (!internalGetAdditionalStatus().equals(
-        other.internalGetAdditionalStatus())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
+    }
+    if (!getTarget().equals(other.getTarget())) return false;
+    if (!getVerb().equals(other.getVerb())) return false;
+    if (!getStatusDetail().equals(other.getStatusDetail())) return false;
+    if (getRequestedCancellation() != other.getRequestedCancellation()) return false;
+    if (!getApiVersion().equals(other.getApiVersion())) return false;
+    if (!internalGetAdditionalStatus().equals(other.internalGetAdditionalStatus())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -705,8 +756,7 @@ public int hashCode() {
     hash = (37 * hash) + STATUS_DETAIL_FIELD_NUMBER;
     hash = (53 * hash) + getStatusDetail().hashCode();
     hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getRequestedCancellation());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation());
     hash = (37 * hash) + API_VERSION_FIELD_NUMBER;
     hash = (53 * hash) + getApiVersion().hashCode();
     if (!internalGetAdditionalStatus().getMap().isEmpty()) {
@@ -718,140 +768,147 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.datafusion.v1.OperationMetadata parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.datafusion.v1.OperationMetadata parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datafusion.v1.OperationMetadata 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.datafusion.v1.OperationMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datafusion.v1.OperationMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datafusion.v1.OperationMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datafusion.v1.OperationMetadata 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.datafusion.v1.OperationMetadata parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datafusion.v1.OperationMetadata parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datafusion.v1.OperationMetadata 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.datafusion.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.datafusion.v1.OperationMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datafusion.v1.OperationMetadata 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.datafusion.v1.OperationMetadata 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.datafusion.v1.OperationMetadata 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.datafusion.v1.OperationMetadata 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 metadata of a long-running operation.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.OperationMetadata} */ - 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.datafusion.v1.OperationMetadata) com.google.cloud.datafusion.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_OperationMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 8: return internalGetAdditionalStatus(); 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 8: return internalGetMutableAdditionalStatus(); 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.OperationMetadata.class, com.google.cloud.datafusion.v1.OperationMetadata.Builder.class); + com.google.cloud.datafusion.v1.OperationMetadata.class, + com.google.cloud.datafusion.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.datafusion.v1.OperationMetadata.newBuilder() @@ -859,16 +916,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(); @@ -899,9 +955,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -920,7 +976,8 @@ public com.google.cloud.datafusion.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.datafusion.v1.OperationMetadata buildPartial() { - com.google.cloud.datafusion.v1.OperationMetadata result = new com.google.cloud.datafusion.v1.OperationMetadata(this); + com.google.cloud.datafusion.v1.OperationMetadata result = + new com.google.cloud.datafusion.v1.OperationMetadata(this); int from_bitField0_ = bitField0_; if (createTimeBuilder_ == null) { result.createTime_ = createTime_; @@ -947,38 +1004,39 @@ public com.google.cloud.datafusion.v1.OperationMetadata 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.datafusion.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.datafusion.v1.OperationMetadata)other); + return mergeFrom((com.google.cloud.datafusion.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -986,7 +1044,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.OperationMetadata other) { - if (other == com.google.cloud.datafusion.v1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -1012,8 +1071,7 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1.OperationMetadata other) apiVersion_ = other.apiVersion_; onChanged(); } - internalGetMutableAdditionalStatus().mergeFrom( - other.internalGetAdditionalStatus()); + internalGetMutableAdditionalStatus().mergeFrom(other.internalGetAdditionalStatus()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1042,38 +1100,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; 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_; /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @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(); } } /** + * + * *
      * The time the operation was created.
      * 
@@ -1094,14 +1166,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - 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(); @@ -1112,6 +1185,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -1122,7 +1197,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; } @@ -1134,6 +1209,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -1152,6 +1229,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -1159,11 +1238,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation was created.
      * 
@@ -1174,11 +1255,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_; } } /** + * + * *
      * The time the operation was created.
      * 
@@ -1186,14 +1270,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ 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_; @@ -1201,24 +1288,33 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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_; /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1229,6 +1325,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1249,14 +1347,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - 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(); @@ -1267,6 +1366,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1277,7 +1378,7 @@ 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; } @@ -1289,6 +1390,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1307,6 +1410,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1314,11 +1419,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1329,11 +1436,12 @@ 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_; } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1341,14 +1449,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ 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_; @@ -1356,18 +1467,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; 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(); target_ = s; return s; @@ -1376,20 +1489,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -1397,54 +1511,61 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { + public Builder setTarget(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1452,18 +1573,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; 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(); verb_ = s; return s; @@ -1472,20 +1595,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -1493,54 +1617,61 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { + public Builder setVerb(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { + public Builder setVerbBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1548,18 +1679,20 @@ public Builder setVerbBytes( private java.lang.Object statusDetail_ = ""; /** + * + * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; + * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; 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(); statusDetail_ = s; return s; @@ -1568,20 +1701,21 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; 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); statusDetail_ = b; return b; } else { @@ -1589,61 +1723,70 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; + * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail( - java.lang.String value) { + public Builder setStatusDetail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusDetail_ = value; onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; + * * @return This builder for chaining. */ public Builder clearStatusDetail() { - + statusDetail_ = getDefaultInstance().getStatusDetail(); onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; + * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes( - com.google.protobuf.ByteString value) { + public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusDetail_ = value; onChanged(); return this; } - private boolean requestedCancellation_ ; + private boolean requestedCancellation_; /** + * + * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1652,6 +1795,7 @@ public Builder setStatusDetailBytes(
      * 
* * bool requested_cancellation = 6; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1659,6 +1803,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1667,16 +1813,19 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6; + * * @param value The requestedCancellation to set. * @return This builder for chaining. */ public Builder setRequestedCancellation(boolean value) { - + requestedCancellation_ = value; onChanged(); return this; } /** + * + * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1685,10 +1834,11 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1696,18 +1846,20 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1716,20 +1868,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1737,75 +1890,85 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { + public Builder setApiVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> additionalStatus_; + private com.google.protobuf.MapField additionalStatus_; + private com.google.protobuf.MapField - internalGetAdditionalStatus() { + internalGetAdditionalStatus() { if (additionalStatus_ == null) { return com.google.protobuf.MapField.emptyMapField( AdditionalStatusDefaultEntryHolder.defaultEntry); } return additionalStatus_; } + private com.google.protobuf.MapField - internalGetMutableAdditionalStatus() { - onChanged();; + internalGetMutableAdditionalStatus() { + onChanged(); + ; if (additionalStatus_ == null) { - additionalStatus_ = com.google.protobuf.MapField.newMapField( - AdditionalStatusDefaultEntryHolder.defaultEntry); + additionalStatus_ = + com.google.protobuf.MapField.newMapField( + AdditionalStatusDefaultEntryHolder.defaultEntry); } if (!additionalStatus_.isMutable()) { additionalStatus_ = additionalStatus_.copy(); @@ -1817,6 +1980,8 @@ public int getAdditionalStatusCount() { return internalGetAdditionalStatus().getMap().size(); } /** + * + * *
      * Map to hold any additional status info for the operation
      * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -1826,22 +1991,22 @@ public int getAdditionalStatusCount() {
      *
      * map<string, string> additional_status = 8;
      */
-
     @java.lang.Override
-    public boolean containsAdditionalStatus(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAdditionalStatus(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAdditionalStatus().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAdditionalStatusMap()} instead.
-     */
+    /** Use {@link #getAdditionalStatusMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAdditionalStatus() {
       return getAdditionalStatusMap();
     }
     /**
+     *
+     *
      * 
      * Map to hold any additional status info for the operation
      * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -1852,11 +2017,12 @@ public java.util.Map getAdditionalStatus() {
      * map<string, string> additional_status = 8;
      */
     @java.lang.Override
-
     public java.util.Map getAdditionalStatusMap() {
       return internalGetAdditionalStatus().getMap();
     }
     /**
+     *
+     *
      * 
      * Map to hold any additional status info for the operation
      * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -1867,16 +2033,18 @@ public java.util.Map getAdditionalStatusMap(
      * map<string, string> additional_status = 8;
      */
     @java.lang.Override
-
     public java.lang.String getAdditionalStatusOrDefault(
-        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 =
           internalGetAdditionalStatus().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Map to hold any additional status info for the operation
      * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -1887,10 +2055,10 @@ public java.lang.String getAdditionalStatusOrDefault(
      * map<string, string> additional_status = 8;
      */
     @java.lang.Override
-
-    public java.lang.String getAdditionalStatusOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public java.lang.String getAdditionalStatusOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetAdditionalStatus().getMap();
       if (!map.containsKey(key)) {
@@ -1900,11 +2068,12 @@ public java.lang.String getAdditionalStatusOrThrow(
     }
 
     public Builder clearAdditionalStatus() {
-      internalGetMutableAdditionalStatus().getMutableMap()
-          .clear();
+      internalGetMutableAdditionalStatus().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map to hold any additional status info for the operation
      * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -1914,23 +2083,21 @@ public Builder clearAdditionalStatus() {
      *
      * map<string, string> additional_status = 8;
      */
-
-    public Builder removeAdditionalStatus(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAdditionalStatus().getMutableMap()
-          .remove(key);
+    public Builder removeAdditionalStatus(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAdditionalStatus().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableAdditionalStatus() {
+    public java.util.Map getMutableAdditionalStatus() {
       return internalGetMutableAdditionalStatus().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map to hold any additional status info for the operation
      * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -1940,19 +2107,20 @@ public Builder removeAdditionalStatus(
      *
      * map<string, string> additional_status = 8;
      */
-    public Builder putAdditionalStatus(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putAdditionalStatus(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");
+      }
 
-      internalGetMutableAdditionalStatus().getMutableMap()
-          .put(key, value);
+      internalGetMutableAdditionalStatus().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Map to hold any additional status info for the operation
      * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -1962,16 +2130,14 @@ public Builder putAdditionalStatus(
      *
      * map<string, string> additional_status = 8;
      */
-
     public Builder putAllAdditionalStatus(
         java.util.Map values) {
-      internalGetMutableAdditionalStatus().getMutableMap()
-          .putAll(values);
+      internalGetMutableAdditionalStatus().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);
     }
 
@@ -1981,12 +2147,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.OperationMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.OperationMetadata)
   private static final com.google.cloud.datafusion.v1.OperationMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.OperationMetadata();
   }
@@ -1995,16 +2161,16 @@ public static com.google.cloud.datafusion.v1.OperationMetadata getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public OperationMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new OperationMetadata(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public OperationMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new OperationMetadata(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2019,6 +2185,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datafusion.v1.OperationMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.java
similarity index 77%
rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.java
rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.java
index ae2423a2..6cd241c5 100644
--- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.java
+++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.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/datafusion/v1/datafusion.proto
 
 package com.google.cloud.datafusion.v1;
 
-public interface OperationMetadataOrBuilder extends
+public interface OperationMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.OperationMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
@@ -35,24 +59,32 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
@@ -62,66 +94,83 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; + * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** + * + * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString - getStatusDetailBytes(); + com.google.protobuf.ByteString getStatusDetailBytes(); /** + * + * *
    * Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -130,31 +179,39 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool requested_cancellation = 6; + * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); /** + * + * *
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -166,6 +223,8 @@ public interface OperationMetadataOrBuilder extends
    */
   int getAdditionalStatusCount();
   /**
+   *
+   *
    * 
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -175,15 +234,13 @@ public interface OperationMetadataOrBuilder extends
    *
    * map<string, string> additional_status = 8;
    */
-  boolean containsAdditionalStatus(
-      java.lang.String key);
-  /**
-   * Use {@link #getAdditionalStatusMap()} instead.
-   */
+  boolean containsAdditionalStatus(java.lang.String key);
+  /** Use {@link #getAdditionalStatusMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAdditionalStatus();
+  java.util.Map getAdditionalStatus();
   /**
+   *
+   *
    * 
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -193,9 +250,10 @@ boolean containsAdditionalStatus(
    *
    * map<string, string> additional_status = 8;
    */
-  java.util.Map
-  getAdditionalStatusMap();
+  java.util.Map getAdditionalStatusMap();
   /**
+   *
+   *
    * 
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -207,11 +265,13 @@ boolean containsAdditionalStatus(
    */
 
   /* nullable */
-java.lang.String getAdditionalStatusOrDefault(
+  java.lang.String getAdditionalStatusOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Map to hold any additional status info for the operation
    * If there is an accelerator being enabled/disabled/deleted, this will be
@@ -221,7 +281,5 @@ java.lang.String getAdditionalStatusOrDefault(
    *
    * map<string, string> additional_status = 8;
    */
-
-  java.lang.String getAdditionalStatusOrThrow(
-      java.lang.String key);
+  java.lang.String getAdditionalStatusOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.java
similarity index 65%
rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.java
rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.java
index 3af6fa64..191ed565 100644
--- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.java
+++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.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/datafusion/v1/datafusion.proto
 
 package com.google.cloud.datafusion.v1;
 
 /**
+ *
+ *
  * 
  * Request message for restarting a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1.RestartInstanceRequest} */ -public final class RestartInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RestartInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.RestartInstanceRequest) RestartInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RestartInstanceRequest.newBuilder() to construct. private RestartInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RestartInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RestartInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RestartInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private RestartInstanceRequest( 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 RestartInstanceRequest( } 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.RestartInstanceRequest.class, com.google.cloud.datafusion.v1.RestartInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.RestartInstanceRequest.class, + com.google.cloud.datafusion.v1.RestartInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * 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. Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * 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.datafusion.v1.RestartInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1.RestartInstanceRequest other = (com.google.cloud.datafusion.v1.RestartInstanceRequest) obj; + com.google.cloud.datafusion.v1.RestartInstanceRequest other = + (com.google.cloud.datafusion.v1.RestartInstanceRequest) 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,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1.RestartInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.RestartInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1.RestartInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1.RestartInstanceRequest 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 message for restarting a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1.RestartInstanceRequest} */ - 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.datafusion.v1.RestartInstanceRequest) com.google.cloud.datafusion.v1.RestartInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1.RestartInstanceRequest.class, com.google.cloud.datafusion.v1.RestartInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1.RestartInstanceRequest.class, + com.google.cloud.datafusion.v1.RestartInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1.RestartInstanceRequest.newBuilder() @@ -324,16 +361,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(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1.Datafusion + .internal_static_google_cloud_datafusion_v1_RestartInstanceRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.datafusion.v1.RestartInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1.RestartInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1.RestartInstanceRequest result = new com.google.cloud.datafusion.v1.RestartInstanceRequest(this); + com.google.cloud.datafusion.v1.RestartInstanceRequest result = + new com.google.cloud.datafusion.v1.RestartInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.datafusion.v1.RestartInstanceRequest 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.datafusion.v1.RestartInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1.RestartInstanceRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1.RestartInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1.RestartInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1.RestartInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1.RestartInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1.RestartInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1.RestartInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.RestartInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.RestartInstanceRequest) private static final com.google.cloud.datafusion.v1.RestartInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.RestartInstanceRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.datafusion.v1.RestartInstanceRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestartInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RestartInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestartInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RestartInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.RestartInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java new file mode 100644 index 00000000..a4a99a94 --- /dev/null +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.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/datafusion/v1/datafusion.proto + +package com.google.cloud.datafusion.v1; + +public interface RestartInstanceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.RestartInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the Data Fusion instance which need to be restarted in the form of
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the Data Fusion instance which need to be restarted in the form of
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * 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/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.java index f160bc94..657e997c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; /** + * + * *
  * Request message for updating a Data Fusion instance.
  * Data Fusion allows updating the labels, options, and stack driver settings.
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1.UpdateInstanceRequest}
  */
-public final class UpdateInstanceRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateInstanceRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.UpdateInstanceRequest)
     UpdateInstanceRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateInstanceRequest.newBuilder() to construct.
   private UpdateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateInstanceRequest() {
-  }
+
+  private UpdateInstanceRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateInstanceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private UpdateInstanceRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,39 +70,44 @@ private UpdateInstanceRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.datafusion.v1.Instance.Builder subBuilder = null;
-            if (instance_ != null) {
-              subBuilder = instance_.toBuilder();
-            }
-            instance_ = input.readMessage(com.google.cloud.datafusion.v1.Instance.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(instance_);
-              instance_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.datafusion.v1.Instance.Builder subBuilder = null;
+              if (instance_ != null) {
+                subBuilder = instance_.toBuilder();
+              }
+              instance_ =
+                  input.readMessage(
+                      com.google.cloud.datafusion.v1.Instance.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(instance_);
+                instance_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.FieldMask.Builder subBuilder = null;
-            if (updateMask_ != null) {
-              subBuilder = updateMask_.toBuilder();
-            }
-            updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateMask_);
-              updateMask_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.FieldMask.Builder subBuilder = null;
+              if (updateMask_ != null) {
+                subBuilder = updateMask_.toBuilder();
+              }
+              updateMask_ =
+                  input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateMask_);
+                updateMask_ = 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 +115,43 @@ private UpdateInstanceRequest(
     } 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.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datafusion.v1.Datafusion
+        .internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_fieldAccessorTable
+    return com.google.cloud.datafusion.v1.Datafusion
+        .internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1.UpdateInstanceRequest.class, com.google.cloud.datafusion.v1.UpdateInstanceRequest.Builder.class);
+            com.google.cloud.datafusion.v1.UpdateInstanceRequest.class,
+            com.google.cloud.datafusion.v1.UpdateInstanceRequest.Builder.class);
   }
 
   public static final int INSTANCE_FIELD_NUMBER = 1;
   private com.google.cloud.datafusion.v1.Instance instance_;
   /**
+   *
+   *
    * 
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -131,27 +159,38 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.cloud.datafusion.v1.Instance getInstance() { - return instance_ == null ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { @@ -161,6 +200,8 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -171,6 +212,7 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -178,6 +220,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -188,6 +232,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -195,6 +240,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -212,6 +259,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -223,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 (instance_ != null) {
       output.writeMessage(1, getInstance());
     }
@@ -241,12 +288,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (instance_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getInstance());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstance());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -256,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.datafusion.v1.UpdateInstanceRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datafusion.v1.UpdateInstanceRequest other = (com.google.cloud.datafusion.v1.UpdateInstanceRequest) obj;
+    com.google.cloud.datafusion.v1.UpdateInstanceRequest other =
+        (com.google.cloud.datafusion.v1.UpdateInstanceRequest) obj;
 
     if (hasInstance() != other.hasInstance()) return false;
     if (hasInstance()) {
-      if (!getInstance()
-          .equals(other.getInstance())) return false;
+      if (!getInstance().equals(other.getInstance())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -298,96 +342,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datafusion.v1.UpdateInstanceRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datafusion.v1.UpdateInstanceRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datafusion.v1.UpdateInstanceRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.datafusion.v1.UpdateInstanceRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest 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 message for updating a Data Fusion instance.
    * Data Fusion allows updating the labels, options, and stack driver settings.
@@ -396,21 +447,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datafusion.v1.UpdateInstanceRequest}
    */
-  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.datafusion.v1.UpdateInstanceRequest)
       com.google.cloud.datafusion.v1.UpdateInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datafusion.v1.Datafusion
+          .internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_fieldAccessorTable
+      return com.google.cloud.datafusion.v1.Datafusion
+          .internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1.UpdateInstanceRequest.class, com.google.cloud.datafusion.v1.UpdateInstanceRequest.Builder.class);
+              com.google.cloud.datafusion.v1.UpdateInstanceRequest.class,
+              com.google.cloud.datafusion.v1.UpdateInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1.UpdateInstanceRequest.newBuilder()
@@ -418,16 +471,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();
@@ -447,9 +499,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datafusion.v1.Datafusion
+          .internal_static_google_cloud_datafusion_v1_UpdateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -468,7 +520,8 @@ public com.google.cloud.datafusion.v1.UpdateInstanceRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1.UpdateInstanceRequest buildPartial() {
-      com.google.cloud.datafusion.v1.UpdateInstanceRequest result = new com.google.cloud.datafusion.v1.UpdateInstanceRequest(this);
+      com.google.cloud.datafusion.v1.UpdateInstanceRequest result =
+          new com.google.cloud.datafusion.v1.UpdateInstanceRequest(this);
       if (instanceBuilder_ == null) {
         result.instance_ = instance_;
       } else {
@@ -487,38 +540,39 @@ public com.google.cloud.datafusion.v1.UpdateInstanceRequest 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.datafusion.v1.UpdateInstanceRequest) {
-        return mergeFrom((com.google.cloud.datafusion.v1.UpdateInstanceRequest)other);
+        return mergeFrom((com.google.cloud.datafusion.v1.UpdateInstanceRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -526,7 +580,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datafusion.v1.UpdateInstanceRequest other) {
-      if (other == com.google.cloud.datafusion.v1.UpdateInstanceRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datafusion.v1.UpdateInstanceRequest.getDefaultInstance())
+        return this;
       if (other.hasInstance()) {
         mergeInstance(other.getInstance());
       }
@@ -552,7 +607,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.datafusion.v1.UpdateInstanceRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.datafusion.v1.UpdateInstanceRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -564,45 +620,64 @@ public Builder mergeFrom(
 
     private com.google.cloud.datafusion.v1.Instance instance_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder> instanceBuilder_;
+            com.google.cloud.datafusion.v1.Instance,
+            com.google.cloud.datafusion.v1.Instance.Builder,
+            com.google.cloud.datafusion.v1.InstanceOrBuilder>
+        instanceBuilder_;
     /**
+     *
+     *
      * 
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ public boolean hasInstance() { return instanceBuilder_ != null || instance_ != null; } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.cloud.datafusion.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.cloud.datafusion.v1.Instance value) { if (instanceBuilder_ == null) { @@ -618,16 +693,19 @@ public Builder setInstance(com.google.cloud.datafusion.v1.Instance value) { return this; } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstance( - com.google.cloud.datafusion.v1.Instance.Builder builderForValue) { + public Builder setInstance(com.google.cloud.datafusion.v1.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); onChanged(); @@ -638,19 +716,25 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.cloud.datafusion.v1.Instance value) { if (instanceBuilder_ == null) { if (instance_ != null) { instance_ = - com.google.cloud.datafusion.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); + com.google.cloud.datafusion.v1.Instance.newBuilder(instance_) + .mergeFrom(value) + .buildPartial(); } else { instance_ = value; } @@ -662,13 +746,17 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1.Instance value) { return this; } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { if (instanceBuilder_ == null) { @@ -682,54 +770,70 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datafusion.v1.Instance.Builder getInstanceBuilder() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.cloud.datafusion.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.datafusion.v1.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder> + com.google.cloud.datafusion.v1.Instance, + com.google.cloud.datafusion.v1.Instance.Builder, + com.google.cloud.datafusion.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1.Instance, com.google.cloud.datafusion.v1.Instance.Builder, com.google.cloud.datafusion.v1.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datafusion.v1.Instance, + com.google.cloud.datafusion.v1.Instance.Builder, + com.google.cloud.datafusion.v1.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -737,8 +841,13 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -749,12 +858,15 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -765,16 +877,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -800,6 +917,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -811,8 +930,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -823,6 +941,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -838,7 +958,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -850,6 +970,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -873,6 +995,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -885,11 +1009,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -905,11 +1031,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -922,21 +1051,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_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>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @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);
     }
 
@@ -946,12 +1078,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.UpdateInstanceRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.UpdateInstanceRequest)
   private static final com.google.cloud.datafusion.v1.UpdateInstanceRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.UpdateInstanceRequest();
   }
@@ -960,16 +1092,16 @@ public static com.google.cloud.datafusion.v1.UpdateInstanceRequest getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateInstanceRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateInstanceRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateInstanceRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateInstanceRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -984,6 +1116,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datafusion.v1.UpdateInstanceRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java
similarity index 73%
rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java
rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java
index c742f5ff..9b74e9f8 100644
--- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java
+++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java
@@ -1,46 +1,78 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datafusion/v1/datafusion.proto
 
 package com.google.cloud.datafusion.v1;
 
-public interface UpdateInstanceRequestOrBuilder extends
+public interface UpdateInstanceRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.UpdateInstanceRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ com.google.cloud.datafusion.v1.Instance getInstance(); /** + * + * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder(); /** + * + * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -51,10 +83,13 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -65,10 +100,13 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Version.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Version.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Version.java
rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Version.java
index 78b61388..8d3b0e95 100644
--- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Version.java
+++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Version.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/datafusion/v1/datafusion.proto
 
 package com.google.cloud.datafusion.v1;
 
 /**
+ *
+ *
  * 
  * The Data Fusion version. This proto message stores information about certain
  * Data Fusion version, which is used for Data Fusion version upgrade.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1.Version}
  */
-public final class Version extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Version extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1.Version)
     VersionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Version() {
     versionNumber_ = "";
     availableFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -28,16 +46,15 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,39 +74,42 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            versionNumber_ = s;
-            break;
-          }
-          case 16: {
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            defaultVersion_ = input.readBool();
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              availableFeatures_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              versionNumber_ = s;
+              break;
             }
-            availableFeatures_.add(s);
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
+          case 16:
+            {
+              defaultVersion_ = input.readBool();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                availableFeatures_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              availableFeatures_.add(s);
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            type_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              type_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -97,8 +117,7 @@ private Version(
     } 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)) {
         availableFeatures_ = availableFeatures_.getUnmodifiableView();
@@ -107,29 +126,35 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Version_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datafusion.v1.Datafusion
+        .internal_static_google_cloud_datafusion_v1_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Version_fieldAccessorTable
+    return com.google.cloud.datafusion.v1.Datafusion
+        .internal_static_google_cloud_datafusion_v1_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1.Version.class, com.google.cloud.datafusion.v1.Version.Builder.class);
+            com.google.cloud.datafusion.v1.Version.class,
+            com.google.cloud.datafusion.v1.Version.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Each type represents the release availability of a CDF version
    * 
* * Protobuf enum {@code google.cloud.datafusion.v1.Version.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Version does not have availability yet
      * 
@@ -138,6 +163,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Version is under development and not considered stable
      * 
@@ -146,6 +173,8 @@ public enum Type */ TYPE_PREVIEW(1), /** + * + * *
      * Version is available for public use
      * 
@@ -157,6 +186,8 @@ public enum Type ; /** + * + * *
      * Version does not have availability yet
      * 
@@ -165,6 +196,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Version is under development and not considered stable
      * 
@@ -173,6 +206,8 @@ public enum Type */ public static final int TYPE_PREVIEW_VALUE = 1; /** + * + * *
      * Version is available for public use
      * 
@@ -181,7 +216,6 @@ public enum Type */ public static final int TYPE_GENERAL_AVAILABILITY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -206,49 +240,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return TYPE_PREVIEW; - case 2: return TYPE_GENERAL_AVAILABILITY; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return TYPE_PREVIEW; + case 2: + return TYPE_GENERAL_AVAILABILITY; + 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.datafusion.v1.Version.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; @@ -268,11 +302,14 @@ private Type(int value) { public static final int VERSION_NUMBER_FIELD_NUMBER = 1; private volatile java.lang.Object versionNumber_; /** + * + * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; + * * @return The versionNumber. */ @java.lang.Override @@ -281,29 +318,29 @@ public java.lang.String getVersionNumber() { 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(); versionNumber_ = s; return s; } } /** + * + * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; + * * @return The bytes for versionNumber. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionNumberBytes() { + public com.google.protobuf.ByteString getVersionNumberBytes() { java.lang.Object ref = versionNumber_; 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); versionNumber_ = b; return b; } else { @@ -314,11 +351,14 @@ public java.lang.String getVersionNumber() { public static final int DEFAULT_VERSION_FIELD_NUMBER = 2; private boolean defaultVersion_; /** + * + * *
    * Whether this is currently the default version for Cloud Data Fusion
    * 
* * bool default_version = 2; + * * @return The defaultVersion. */ @java.lang.Override @@ -329,34 +369,42 @@ public boolean getDefaultVersion() { public static final int AVAILABLE_FEATURES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList availableFeatures_; /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @return A list containing the availableFeatures. */ - public com.google.protobuf.ProtocolStringList - getAvailableFeaturesList() { + public com.google.protobuf.ProtocolStringList getAvailableFeaturesList() { return availableFeatures_; } /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @return The count of availableFeatures. */ public int getAvailableFeaturesCount() { return availableFeatures_.size(); } /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @param index The index of the element to return. * @return The availableFeatures at the given index. */ @@ -364,47 +412,59 @@ public java.lang.String getAvailableFeatures(int index) { return availableFeatures_.get(index); } /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @param index The index of the value to return. * @return The bytes of the availableFeatures at the given index. */ - public com.google.protobuf.ByteString - getAvailableFeaturesBytes(int index) { + public com.google.protobuf.ByteString getAvailableFeaturesBytes(int index) { return availableFeatures_.getByteString(index); } public static final int TYPE_FIELD_NUMBER = 4; private int type_; /** + * + * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; + * * @return The type. */ - @java.lang.Override public com.google.cloud.datafusion.v1.Version.Type getType() { + @java.lang.Override + public com.google.cloud.datafusion.v1.Version.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Version.Type result = com.google.cloud.datafusion.v1.Version.Type.valueOf(type_); + com.google.cloud.datafusion.v1.Version.Type result = + com.google.cloud.datafusion.v1.Version.Type.valueOf(type_); return result == null ? com.google.cloud.datafusion.v1.Version.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -416,8 +476,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(versionNumber_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, versionNumber_); } @@ -443,8 +502,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, versionNumber_); } if (defaultVersion_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, defaultVersion_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, defaultVersion_); } { int dataSize = 0; @@ -455,8 +513,7 @@ public int getSerializedSize() { size += 1 * getAvailableFeaturesList().size(); } if (type_ != com.google.cloud.datafusion.v1.Version.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -466,19 +523,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.datafusion.v1.Version)) { return super.equals(obj); } com.google.cloud.datafusion.v1.Version other = (com.google.cloud.datafusion.v1.Version) obj; - if (!getVersionNumber() - .equals(other.getVersionNumber())) return false; - if (getDefaultVersion() - != other.getDefaultVersion()) return false; - if (!getAvailableFeaturesList() - .equals(other.getAvailableFeaturesList())) return false; + if (!getVersionNumber().equals(other.getVersionNumber())) return false; + if (getDefaultVersion() != other.getDefaultVersion()) return false; + if (!getAvailableFeaturesList().equals(other.getAvailableFeaturesList())) return false; if (type_ != other.type_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -494,8 +548,7 @@ public int hashCode() { hash = (37 * hash) + VERSION_NUMBER_FIELD_NUMBER; hash = (53 * hash) + getVersionNumber().hashCode(); hash = (37 * hash) + DEFAULT_VERSION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDefaultVersion()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDefaultVersion()); if (getAvailableFeaturesCount() > 0) { hash = (37 * hash) + AVAILABLE_FEATURES_FIELD_NUMBER; hash = (53 * hash) + getAvailableFeaturesList().hashCode(); @@ -507,97 +560,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1.Version parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1.Version parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.Version 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.datafusion.v1.Version parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.Version parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1.Version parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1.Version 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.datafusion.v1.Version 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.datafusion.v1.Version 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.datafusion.v1.Version parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1.Version 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.datafusion.v1.Version 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.datafusion.v1.Version 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.datafusion.v1.Version 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 Data Fusion version. This proto message stores information about certain
    * Data Fusion version, which is used for Data Fusion version upgrade.
@@ -605,21 +665,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datafusion.v1.Version}
    */
-  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.datafusion.v1.Version)
       com.google.cloud.datafusion.v1.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datafusion.v1.Datafusion
+          .internal_static_google_cloud_datafusion_v1_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Version_fieldAccessorTable
+      return com.google.cloud.datafusion.v1.Datafusion
+          .internal_static_google_cloud_datafusion_v1_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1.Version.class, com.google.cloud.datafusion.v1.Version.Builder.class);
+              com.google.cloud.datafusion.v1.Version.class,
+              com.google.cloud.datafusion.v1.Version.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1.Version.newBuilder()
@@ -627,16 +689,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();
@@ -652,9 +713,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datafusion.v1.Datafusion.internal_static_google_cloud_datafusion_v1_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datafusion.v1.Datafusion
+          .internal_static_google_cloud_datafusion_v1_Version_descriptor;
     }
 
     @java.lang.Override
@@ -673,7 +734,8 @@ public com.google.cloud.datafusion.v1.Version build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1.Version buildPartial() {
-      com.google.cloud.datafusion.v1.Version result = new com.google.cloud.datafusion.v1.Version(this);
+      com.google.cloud.datafusion.v1.Version result =
+          new com.google.cloud.datafusion.v1.Version(this);
       int from_bitField0_ = bitField0_;
       result.versionNumber_ = versionNumber_;
       result.defaultVersion_ = defaultVersion_;
@@ -691,38 +753,39 @@ public com.google.cloud.datafusion.v1.Version 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.datafusion.v1.Version) {
-        return mergeFrom((com.google.cloud.datafusion.v1.Version)other);
+        return mergeFrom((com.google.cloud.datafusion.v1.Version) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -779,22 +842,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object versionNumber_ = "";
     /**
+     *
+     *
      * 
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; + * * @return The versionNumber. */ public java.lang.String getVersionNumber() { java.lang.Object ref = versionNumber_; 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(); versionNumber_ = s; return s; @@ -803,20 +869,21 @@ public java.lang.String getVersionNumber() { } } /** + * + * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; + * * @return The bytes for versionNumber. */ - public com.google.protobuf.ByteString - getVersionNumberBytes() { + public com.google.protobuf.ByteString getVersionNumberBytes() { java.lang.Object ref = versionNumber_; 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); versionNumber_ = b; return b; } else { @@ -824,66 +891,76 @@ public java.lang.String getVersionNumber() { } } /** + * + * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; + * * @param value The versionNumber to set. * @return This builder for chaining. */ - public Builder setVersionNumber( - java.lang.String value) { + public Builder setVersionNumber(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + versionNumber_ = value; onChanged(); return this; } /** + * + * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; + * * @return This builder for chaining. */ public Builder clearVersionNumber() { - + versionNumber_ = getDefaultInstance().getVersionNumber(); onChanged(); return this; } /** + * + * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; + * * @param value The bytes for versionNumber to set. * @return This builder for chaining. */ - public Builder setVersionNumberBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionNumberBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + versionNumber_ = value; onChanged(); return this; } - private boolean defaultVersion_ ; + private boolean defaultVersion_; /** + * + * *
      * Whether this is currently the default version for Cloud Data Fusion
      * 
* * bool default_version = 2; + * * @return The defaultVersion. */ @java.lang.Override @@ -891,71 +968,87 @@ public boolean getDefaultVersion() { return defaultVersion_; } /** + * + * *
      * Whether this is currently the default version for Cloud Data Fusion
      * 
* * bool default_version = 2; + * * @param value The defaultVersion to set. * @return This builder for chaining. */ public Builder setDefaultVersion(boolean value) { - + defaultVersion_ = value; onChanged(); return this; } /** + * + * *
      * Whether this is currently the default version for Cloud Data Fusion
      * 
* * bool default_version = 2; + * * @return This builder for chaining. */ public Builder clearDefaultVersion() { - + defaultVersion_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList availableFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList availableFeatures_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAvailableFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { availableFeatures_ = new com.google.protobuf.LazyStringArrayList(availableFeatures_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @return A list containing the availableFeatures. */ - public com.google.protobuf.ProtocolStringList - getAvailableFeaturesList() { + public com.google.protobuf.ProtocolStringList getAvailableFeaturesList() { return availableFeatures_.getUnmodifiableView(); } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @return The count of availableFeatures. */ public int getAvailableFeaturesCount() { return availableFeatures_.size(); } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @param index The index of the element to return. * @return The availableFeatures at the given index. */ @@ -963,80 +1056,90 @@ public java.lang.String getAvailableFeatures(int index) { return availableFeatures_.get(index); } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @param index The index of the value to return. * @return The bytes of the availableFeatures at the given index. */ - public com.google.protobuf.ByteString - getAvailableFeaturesBytes(int index) { + public com.google.protobuf.ByteString getAvailableFeaturesBytes(int index) { return availableFeatures_.getByteString(index); } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @param index The index to set the value at. * @param value The availableFeatures to set. * @return This builder for chaining. */ - public Builder setAvailableFeatures( - int index, java.lang.String value) { + public Builder setAvailableFeatures(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableFeaturesIsMutable(); + throw new NullPointerException(); + } + ensureAvailableFeaturesIsMutable(); availableFeatures_.set(index, value); onChanged(); return this; } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @param value The availableFeatures to add. * @return This builder for chaining. */ - public Builder addAvailableFeatures( - java.lang.String value) { + public Builder addAvailableFeatures(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableFeaturesIsMutable(); + throw new NullPointerException(); + } + ensureAvailableFeaturesIsMutable(); availableFeatures_.add(value); onChanged(); return this; } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @param values The availableFeatures to add. * @return This builder for chaining. */ - public Builder addAllAvailableFeatures( - java.lang.Iterable values) { + public Builder addAllAvailableFeatures(java.lang.Iterable values) { ensureAvailableFeaturesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, availableFeatures_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableFeatures_); onChanged(); return this; } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @return This builder for chaining. */ public Builder clearAvailableFeatures() { @@ -1046,20 +1149,22 @@ public Builder clearAvailableFeatures() { return this; } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @param value The bytes of the availableFeatures to add. * @return This builder for chaining. */ - public Builder addAvailableFeaturesBytes( - com.google.protobuf.ByteString value) { + public Builder addAvailableFeaturesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAvailableFeaturesIsMutable(); availableFeatures_.add(value); onChanged(); @@ -1068,51 +1173,65 @@ public Builder addAvailableFeaturesBytes( private int type_ = 0; /** + * + * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; + * * @return The type. */ @java.lang.Override public com.google.cloud.datafusion.v1.Version.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1.Version.Type result = com.google.cloud.datafusion.v1.Version.Type.valueOf(type_); + com.google.cloud.datafusion.v1.Version.Type result = + com.google.cloud.datafusion.v1.Version.Type.valueOf(type_); return result == null ? com.google.cloud.datafusion.v1.Version.Type.UNRECOGNIZED : result; } /** + * + * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1120,28 +1239,31 @@ public Builder setType(com.google.cloud.datafusion.v1.Version.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 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); } @@ -1151,12 +1273,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1.Version) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1.Version) private static final com.google.cloud.datafusion.v1.Version DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1.Version(); } @@ -1165,16 +1287,16 @@ public static com.google.cloud.datafusion.v1.Version getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1189,6 +1311,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java index 8dbd3bf4..a5cdeedb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java @@ -1,98 +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/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface VersionOrBuilder extends +public interface VersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.Version) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; + * * @return The versionNumber. */ java.lang.String getVersionNumber(); /** + * + * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; + * * @return The bytes for versionNumber. */ - com.google.protobuf.ByteString - getVersionNumberBytes(); + com.google.protobuf.ByteString getVersionNumberBytes(); /** + * + * *
    * Whether this is currently the default version for Cloud Data Fusion
    * 
* * bool default_version = 2; + * * @return The defaultVersion. */ boolean getDefaultVersion(); /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @return A list containing the availableFeatures. */ - java.util.List - getAvailableFeaturesList(); + java.util.List getAvailableFeaturesList(); /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @return The count of availableFeatures. */ int getAvailableFeaturesCount(); /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @param index The index of the element to return. * @return The availableFeatures at the given index. */ java.lang.String getAvailableFeatures(int index); /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @param index The index of the value to return. * @return The bytes of the availableFeatures at the given index. */ - com.google.protobuf.ByteString - getAvailableFeaturesBytes(int index); + com.google.protobuf.ByteString getAvailableFeaturesBytes(int index); /** + * + * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1.Version.Type type = 4; + * * @return The type. */ com.google.cloud.datafusion.v1.Version.Type getType(); diff --git a/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/proto/google/cloud/datafusion/v1/datafusion.proto b/proto-google-cloud-data-fusion-v1/src/main/proto/google/cloud/datafusion/v1/datafusion.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/proto/google/cloud/datafusion/v1/datafusion.proto rename to proto-google-cloud-data-fusion-v1/src/main/proto/google/cloud/datafusion/v1/datafusion.proto diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.java index 9070bb7e..3983243a 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Identifies Data Fusion accelerators for an instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Accelerator} */ -public final class Accelerator extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Accelerator extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.Accelerator) AcceleratorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Accelerator.newBuilder() to construct. private Accelerator(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Accelerator() { acceleratorType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Accelerator(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Accelerator( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private Accelerator( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - acceleratorType_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + acceleratorType_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,27 +91,31 @@ private Accelerator( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Accelerator.class, com.google.cloud.datafusion.v1beta1.Accelerator.Builder.class); + com.google.cloud.datafusion.v1beta1.Accelerator.class, + com.google.cloud.datafusion.v1beta1.Accelerator.Builder.class); } /** + * + * *
    * Each type represents an Accelerator (Add-On) supported by Cloud Data Fusion
    * service.
@@ -101,9 +123,10 @@ private Accelerator(
    *
    * Protobuf enum {@code google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType}
    */
-  public enum AcceleratorType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default value, if unspecified.
      * 
@@ -112,6 +135,8 @@ public enum AcceleratorType */ ACCELERATOR_TYPE_UNSPECIFIED(0), /** + * + * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -120,6 +145,8 @@ public enum AcceleratorType */ CDC(1), /** + * + * *
      * Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud
      * Healthcare specific CDF plugins developed by Healthcare team.
@@ -132,6 +159,8 @@ public enum AcceleratorType
     ;
 
     /**
+     *
+     *
      * 
      * Default value, if unspecified.
      * 
@@ -140,6 +169,8 @@ public enum AcceleratorType */ public static final int ACCELERATOR_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -148,6 +179,8 @@ public enum AcceleratorType */ public static final int CDC_VALUE = 1; /** + * + * *
      * Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud
      * Healthcare specific CDF plugins developed by Healthcare team.
@@ -157,7 +190,6 @@ public enum AcceleratorType
      */
     public static final int HEALTHCARE_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -182,39 +214,42 @@ public static AcceleratorType valueOf(int value) {
      */
     public static AcceleratorType forNumber(int value) {
       switch (value) {
-        case 0: return ACCELERATOR_TYPE_UNSPECIFIED;
-        case 1: return CDC;
-        case 2: return HEALTHCARE;
-        default: return null;
+        case 0:
+          return ACCELERATOR_TYPE_UNSPECIFIED;
+        case 1:
+          return CDC;
+        case 2:
+          return HEALTHCARE;
+        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<
-        AcceleratorType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public AcceleratorType findValueByNumber(int number) {
-              return AcceleratorType.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 AcceleratorType findValueByNumber(int number) {
+                return AcceleratorType.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() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.datafusion.v1beta1.Accelerator.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -223,8 +258,7 @@ public AcceleratorType findValueByNumber(int number) {
     public static AcceleratorType 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;
@@ -244,31 +278,43 @@ private AcceleratorType(int value) {
   public static final int ACCELERATOR_TYPE_FIELD_NUMBER = 1;
   private int acceleratorType_;
   /**
+   *
+   *
    * 
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; + * * @return The enum numeric value on the wire for acceleratorType. */ - @java.lang.Override public int getAcceleratorTypeValue() { + @java.lang.Override + public int getAcceleratorTypeValue() { return acceleratorType_; } /** + * + * *
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; + * * @return The acceleratorType. */ - @java.lang.Override public com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType getAcceleratorType() { + @java.lang.Override + public com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType getAcceleratorType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType result = com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.valueOf(acceleratorType_); - return result == null ? com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.UNRECOGNIZED : result; + com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType result = + com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.valueOf(acceleratorType_); + return result == null + ? com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,9 +326,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (acceleratorType_ != com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.ACCELERATOR_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (acceleratorType_ + != com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType + .ACCELERATOR_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, acceleratorType_); } unknownFields.writeTo(output); @@ -294,9 +342,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (acceleratorType_ != com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.ACCELERATOR_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, acceleratorType_); + if (acceleratorType_ + != com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType + .ACCELERATOR_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, acceleratorType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -306,12 +356,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.datafusion.v1beta1.Accelerator)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.Accelerator other = (com.google.cloud.datafusion.v1beta1.Accelerator) obj; + com.google.cloud.datafusion.v1beta1.Accelerator other = + (com.google.cloud.datafusion.v1beta1.Accelerator) obj; if (acceleratorType_ != other.acceleratorType_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -332,118 +383,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1beta1.Accelerator parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1beta1.Accelerator parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.Accelerator parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.Accelerator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.Accelerator parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator 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; } /** + * + * *
    * Identifies Data Fusion accelerators for an instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Accelerator} */ - 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.datafusion.v1beta1.Accelerator) com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Accelerator.class, com.google.cloud.datafusion.v1beta1.Accelerator.Builder.class); + com.google.cloud.datafusion.v1beta1.Accelerator.class, + com.google.cloud.datafusion.v1beta1.Accelerator.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.Accelerator.newBuilder() @@ -451,16 +511,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(); @@ -470,9 +529,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; } @java.lang.Override @@ -491,7 +550,8 @@ public com.google.cloud.datafusion.v1beta1.Accelerator build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.Accelerator buildPartial() { - com.google.cloud.datafusion.v1beta1.Accelerator result = new com.google.cloud.datafusion.v1beta1.Accelerator(this); + com.google.cloud.datafusion.v1beta1.Accelerator result = + new com.google.cloud.datafusion.v1beta1.Accelerator(this); result.acceleratorType_ = acceleratorType_; onBuilt(); return result; @@ -501,38 +561,39 @@ public com.google.cloud.datafusion.v1beta1.Accelerator 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.datafusion.v1beta1.Accelerator) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.Accelerator)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.Accelerator) other); } else { super.mergeFrom(other); return this; @@ -540,7 +601,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.Accelerator other) { - if (other == com.google.cloud.datafusion.v1beta1.Accelerator.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.Accelerator.getDefaultInstance()) + return this; if (other.acceleratorType_ != 0) { setAcceleratorTypeValue(other.getAcceleratorTypeValue()); } @@ -575,80 +637,105 @@ public Builder mergeFrom( private int acceleratorType_ = 0; /** + * + * *
      * The type of an accelator for a CDF instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; + * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; + * + * * @return The enum numeric value on the wire for acceleratorType. */ - @java.lang.Override public int getAcceleratorTypeValue() { + @java.lang.Override + public int getAcceleratorTypeValue() { return acceleratorType_; } /** + * + * *
      * The type of an accelator for a CDF instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; + * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; + * + * * @param value The enum numeric value on the wire for acceleratorType to set. * @return This builder for chaining. */ public Builder setAcceleratorTypeValue(int value) { - + acceleratorType_ = value; onChanged(); return this; } /** + * + * *
      * The type of an accelator for a CDF instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; + * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; + * + * * @return The acceleratorType. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType getAcceleratorType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType result = com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.valueOf(acceleratorType_); - return result == null ? com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.UNRECOGNIZED : result; + com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType result = + com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.valueOf(acceleratorType_); + return result == null + ? com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of an accelator for a CDF instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; + * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; + * + * * @param value The acceleratorType to set. * @return This builder for chaining. */ - public Builder setAcceleratorType(com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType value) { + public Builder setAcceleratorType( + com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType value) { if (value == null) { throw new NullPointerException(); } - + acceleratorType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of an accelator for a CDF instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; + * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; + * + * * @return This builder for chaining. */ public Builder clearAcceleratorType() { - + acceleratorType_ = 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); } @@ -658,12 +745,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.Accelerator) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.Accelerator) private static final com.google.cloud.datafusion.v1beta1.Accelerator DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.Accelerator(); } @@ -672,16 +759,16 @@ public static com.google.cloud.datafusion.v1beta1.Accelerator getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Accelerator parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Accelerator(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Accelerator parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Accelerator(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -696,6 +783,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.Accelerator getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.java similarity index 57% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.java index 52cdbade..6fbaaed5 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface AcceleratorOrBuilder extends +public interface AcceleratorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.Accelerator) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; + * * @return The enum numeric value on the wire for acceleratorType. */ int getAcceleratorTypeValue(); /** + * + * *
    * The type of an accelator for a CDF instance.
    * 
* * .google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType accelerator_type = 1; + * * @return The acceleratorType. */ com.google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType getAcceleratorType(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.java index c70cae79..fa1d2c28 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Request message to create dns peering.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.AddDnsPeeringRequest} */ -public final class AddDnsPeeringRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AddDnsPeeringRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) AddDnsPeeringRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AddDnsPeeringRequest.newBuilder() to construct. private AddDnsPeeringRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AddDnsPeeringRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AddDnsPeeringRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AddDnsPeeringRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,36 @@ private AddDnsPeeringRequest( 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.datafusion.v1beta1.DnsPeering.Builder subBuilder = null; - if (dnsPeering_ != null) { - subBuilder = dnsPeering_.toBuilder(); + parent_ = s; + break; } - dnsPeering_ = input.readMessage(com.google.cloud.datafusion.v1beta1.DnsPeering.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dnsPeering_); - dnsPeering_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.datafusion.v1beta1.DnsPeering.Builder subBuilder = null; + if (dnsPeering_ != null) { + subBuilder = dnsPeering_.toBuilder(); + } + dnsPeering_ = + input.readMessage( + com.google.cloud.datafusion.v1beta1.DnsPeering.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dnsPeering_); + dnsPeering_ = 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,34 +107,41 @@ private AddDnsPeeringRequest( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.class, com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.class, + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource on which DNS peering will be created.
    * 
* - * 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 @@ -122,29 +150,31 @@ 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 resource on which DNS peering will be created.
    * 
* - * 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 { @@ -155,11 +185,14 @@ public java.lang.String getParent() { public static final int DNS_PEERING_FIELD_NUMBER = 2; private com.google.cloud.datafusion.v1beta1.DnsPeering dnsPeering_; /** + * + * *
    * Dns peering config.
    * 
* * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; + * * @return Whether the dnsPeering field is set. */ @java.lang.Override @@ -167,18 +200,25 @@ public boolean hasDnsPeering() { return dnsPeering_ != null; } /** + * + * *
    * Dns peering config.
    * 
* * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; + * * @return The dnsPeering. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.DnsPeering getDnsPeering() { - return dnsPeering_ == null ? com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance() : dnsPeering_; + return dnsPeering_ == null + ? com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance() + : dnsPeering_; } /** + * + * *
    * Dns peering config.
    * 
@@ -191,6 +231,7 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringOrBu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +243,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_); } @@ -223,8 +263,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (dnsPeering_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDnsPeering()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDnsPeering()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,19 +273,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.datafusion.v1beta1.AddDnsPeeringRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest other = (com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) obj; + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest other = + (com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasDnsPeering() != other.hasDnsPeering()) return false; if (hasDnsPeering()) { - if (!getDnsPeering() - .equals(other.getDnsPeering())) return false; + if (!getDnsPeering().equals(other.getDnsPeering())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -271,117 +309,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest 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 message to create dns peering.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.AddDnsPeeringRequest} */ - 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.datafusion.v1beta1.AddDnsPeeringRequest) com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.class, com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.class, + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.newBuilder() @@ -389,16 +437,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(); @@ -414,9 +461,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; } @java.lang.Override @@ -435,7 +482,8 @@ public com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest result = new com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest(this); + com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest result = + new com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest(this); result.parent_ = parent_; if (dnsPeeringBuilder_ == null) { result.dnsPeering_ = dnsPeering_; @@ -450,38 +498,39 @@ public com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest 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.datafusion.v1beta1.AddDnsPeeringRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) other); } else { super.mergeFrom(other); return this; @@ -489,7 +538,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -516,7 +566,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,18 +579,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource on which DNS peering will be created.
      * 
* - * 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; @@ -548,20 +603,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource on which DNS peering will be created.
      * 
* - * 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 { @@ -569,54 +627,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource on which DNS peering will be created.
      * 
* - * 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 resource on which DNS peering will be created.
      * 
* - * 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 resource on which DNS peering will be created.
      * 
* - * 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; @@ -624,34 +695,47 @@ public Builder setParentBytes( private com.google.cloud.datafusion.v1beta1.DnsPeering dnsPeering_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.DnsPeering, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> dnsPeeringBuilder_; + com.google.cloud.datafusion.v1beta1.DnsPeering, + com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, + com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> + dnsPeeringBuilder_; /** + * + * *
      * Dns peering config.
      * 
* * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; + * * @return Whether the dnsPeering field is set. */ public boolean hasDnsPeering() { return dnsPeeringBuilder_ != null || dnsPeering_ != null; } /** + * + * *
      * Dns peering config.
      * 
* * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; + * * @return The dnsPeering. */ public com.google.cloud.datafusion.v1beta1.DnsPeering getDnsPeering() { if (dnsPeeringBuilder_ == null) { - return dnsPeering_ == null ? com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance() : dnsPeering_; + return dnsPeering_ == null + ? com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance() + : dnsPeering_; } else { return dnsPeeringBuilder_.getMessage(); } } /** + * + * *
      * Dns peering config.
      * 
@@ -672,6 +756,8 @@ public Builder setDnsPeering(com.google.cloud.datafusion.v1beta1.DnsPeering valu return this; } /** + * + * *
      * Dns peering config.
      * 
@@ -690,6 +776,8 @@ public Builder setDnsPeering( return this; } /** + * + * *
      * Dns peering config.
      * 
@@ -700,7 +788,9 @@ public Builder mergeDnsPeering(com.google.cloud.datafusion.v1beta1.DnsPeering va if (dnsPeeringBuilder_ == null) { if (dnsPeering_ != null) { dnsPeering_ = - com.google.cloud.datafusion.v1beta1.DnsPeering.newBuilder(dnsPeering_).mergeFrom(value).buildPartial(); + com.google.cloud.datafusion.v1beta1.DnsPeering.newBuilder(dnsPeering_) + .mergeFrom(value) + .buildPartial(); } else { dnsPeering_ = value; } @@ -712,6 +802,8 @@ public Builder mergeDnsPeering(com.google.cloud.datafusion.v1beta1.DnsPeering va return this; } /** + * + * *
      * Dns peering config.
      * 
@@ -730,6 +822,8 @@ public Builder clearDnsPeering() { return this; } /** + * + * *
      * Dns peering config.
      * 
@@ -737,11 +831,13 @@ public Builder clearDnsPeering() { * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; */ public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder getDnsPeeringBuilder() { - + onChanged(); return getDnsPeeringFieldBuilder().getBuilder(); } /** + * + * *
      * Dns peering config.
      * 
@@ -752,11 +848,14 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringOrBu if (dnsPeeringBuilder_ != null) { return dnsPeeringBuilder_.getMessageOrBuilder(); } else { - return dnsPeering_ == null ? - com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance() : dnsPeering_; + return dnsPeering_ == null + ? com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance() + : dnsPeering_; } } /** + * + * *
      * Dns peering config.
      * 
@@ -764,21 +863,24 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringOrBu * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.DnsPeering, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> + com.google.cloud.datafusion.v1beta1.DnsPeering, + com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, + com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> getDnsPeeringFieldBuilder() { if (dnsPeeringBuilder_ == null) { - dnsPeeringBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.DnsPeering, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder>( - getDnsPeering(), - getParentForChildren(), - isClean()); + dnsPeeringBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.DnsPeering, + com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, + com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder>( + getDnsPeering(), getParentForChildren(), isClean()); dnsPeering_ = null; } return dnsPeeringBuilder_; } + @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); } @@ -788,12 +890,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) private static final com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest(); } @@ -802,16 +904,16 @@ public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddDnsPeeringRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddDnsPeeringRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddDnsPeeringRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddDnsPeeringRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,6 +928,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java index 7f87cf3f..209c0ac9 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java @@ -1,51 +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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface AddDnsPeeringRequestOrBuilder extends +public interface AddDnsPeeringRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource on which DNS peering will be created.
    * 
* - * 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 resource on which DNS peering will be created.
    * 
* - * 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(); /** + * + * *
    * Dns peering config.
    * 
* * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; + * * @return Whether the dnsPeering field is set. */ boolean hasDnsPeering(); /** + * + * *
    * Dns peering config.
    * 
* * .google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2; + * * @return The dnsPeering. */ com.google.cloud.datafusion.v1beta1.DnsPeering getDnsPeering(); /** + * + * *
    * Dns peering config.
    * 
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.java index 3c47fff2..802cec51 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Response message for set dns peering method.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.AddDnsPeeringResponse} */ -public final class AddDnsPeeringResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AddDnsPeeringResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) AddDnsPeeringResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AddDnsPeeringResponse.newBuilder() to construct. private AddDnsPeeringResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AddDnsPeeringResponse() { - } + + private AddDnsPeeringResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AddDnsPeeringResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AddDnsPeeringResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private AddDnsPeeringResponse( 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 AddDnsPeeringResponse( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.class, com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.class, + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.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.datafusion.v1beta1.AddDnsPeeringResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse other = (com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) obj; + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse other = + (com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse 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 message for set dns peering method.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.AddDnsPeeringResponse} */ - 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.datafusion.v1beta1.AddDnsPeeringResponse) com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.class, com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.class, + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse buildPartial() { - com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse result = new com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse(this); + com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse result = + new com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse 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.datafusion.v1beta1.AddDnsPeeringResponse) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) 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.datafusion.v1beta1.AddDnsPeeringResponse other) { - if (other == com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse.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.datafusion.v1beta1.AddDnsPeeringResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) 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.datafusion.v1beta1.AddDnsPeeringResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) private static final com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse(); } @@ -400,16 +432,16 @@ public static com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddDnsPeeringResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddDnsPeeringResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddDnsPeeringResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddDnsPeeringResponse(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.datafusion.v1beta1.AddDnsPeeringResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java new file mode 100644 index 00000000..0fe85cf2 --- /dev/null +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.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/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface AddDnsPeeringResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.AddDnsPeeringResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.java index 40e8bc05..e0535437 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Request message for creating a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.CreateInstanceRequest} */ -public final class CreateInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.CreateInstanceRequest) CreateInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateInstanceRequest.newBuilder() to construct. private CreateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -26,16 +44,15 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateInstanceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - instanceId_ = s; - break; - } - case 26: { - com.google.cloud.datafusion.v1beta1.Instance.Builder subBuilder = null; - if (instance_ != null) { - subBuilder = instance_.toBuilder(); + parent_ = s; + break; } - instance_ = input.readMessage(com.google.cloud.datafusion.v1beta1.Instance.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(instance_); - instance_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + instanceId_ = s; + break; } + case 26: + { + com.google.cloud.datafusion.v1beta1.Instance.Builder subBuilder = null; + if (instance_ != null) { + subBuilder = instance_.toBuilder(); + } + instance_ = + input.readMessage( + com.google.cloud.datafusion.v1beta1.Instance.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(instance_); + instance_ = 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,35 +115,42 @@ private CreateInstanceRequest( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.class, com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.class, + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * 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 @@ -130,30 +159,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 instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * 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 { @@ -164,11 +195,14 @@ public java.lang.String getParent() { public static final int INSTANCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceId_; /** + * + * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ @java.lang.Override @@ -177,29 +211,29 @@ public java.lang.String getInstanceId() { 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(); instanceId_ = s; return s; } } /** + * + * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceIdBytes() { + public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; 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); instanceId_ = b; return b; } else { @@ -210,11 +244,14 @@ public java.lang.String getInstanceId() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.datafusion.v1beta1.Instance instance_; /** + * + * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 3; + * * @return Whether the instance field is set. */ @java.lang.Override @@ -222,18 +259,25 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 3; + * * @return The instance. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.Instance getInstance() { - return instance_ == null ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * An instance resource.
    * 
@@ -246,6 +290,7 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,8 +302,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_); } @@ -284,8 +328,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceId_); } if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInstance()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstance()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,21 +338,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.datafusion.v1beta1.CreateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest other = (com.google.cloud.datafusion.v1beta1.CreateInstanceRequest) obj; + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest other = + (com.google.cloud.datafusion.v1beta1.CreateInstanceRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getInstanceId() - .equals(other.getInstanceId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getInstanceId().equals(other.getInstanceId())) return false; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance() - .equals(other.getInstance())) return false; + if (!getInstance().equals(other.getInstance())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -336,117 +377,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest 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 message for creating a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.CreateInstanceRequest} */ - 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.datafusion.v1beta1.CreateInstanceRequest) com.google.cloud.datafusion.v1beta1.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.class, com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.class, + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.newBuilder() @@ -454,16 +505,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(); @@ -481,9 +531,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -502,7 +552,8 @@ public com.google.cloud.datafusion.v1beta1.CreateInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.CreateInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.CreateInstanceRequest result = new com.google.cloud.datafusion.v1beta1.CreateInstanceRequest(this); + com.google.cloud.datafusion.v1beta1.CreateInstanceRequest result = + new com.google.cloud.datafusion.v1beta1.CreateInstanceRequest(this); result.parent_ = parent_; result.instanceId_ = instanceId_; if (instanceBuilder_ == null) { @@ -518,38 +569,39 @@ public com.google.cloud.datafusion.v1beta1.CreateInstanceRequest 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.datafusion.v1beta1.CreateInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.CreateInstanceRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.CreateInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -557,7 +609,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.CreateInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.CreateInstanceRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -588,7 +641,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.CreateInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.CreateInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,19 +654,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * 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; @@ -621,21 +679,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * 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 { @@ -643,57 +704,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * 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 instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * 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 instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* - * 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; @@ -701,18 +775,20 @@ public Builder setParentBytes( private java.lang.Object instanceId_ = ""; /** + * + * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; 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(); instanceId_ = s; return s; @@ -721,20 +797,21 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString - getInstanceIdBytes() { + public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; 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); instanceId_ = b; return b; } else { @@ -742,54 +819,61 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId( - java.lang.String value) { + public Builder setInstanceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceId() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** + * + * *
      * Required. The name of the instance to create.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceId_ = value; onChanged(); return this; @@ -797,34 +881,47 @@ public Builder setInstanceIdBytes( private com.google.cloud.datafusion.v1beta1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> instanceBuilder_; + com.google.cloud.datafusion.v1beta1.Instance, + com.google.cloud.datafusion.v1beta1.Instance.Builder, + com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> + instanceBuilder_; /** + * + * *
      * An instance resource.
      * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 3; + * * @return Whether the instance field is set. */ public boolean hasInstance() { return instanceBuilder_ != null || instance_ != null; } /** + * + * *
      * An instance resource.
      * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 3; + * * @return The instance. */ public com.google.cloud.datafusion.v1beta1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * An instance resource.
      * 
@@ -845,6 +942,8 @@ public Builder setInstance(com.google.cloud.datafusion.v1beta1.Instance value) { return this; } /** + * + * *
      * An instance resource.
      * 
@@ -863,6 +962,8 @@ public Builder setInstance( return this; } /** + * + * *
      * An instance resource.
      * 
@@ -873,7 +974,9 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1beta1.Instance value) if (instanceBuilder_ == null) { if (instance_ != null) { instance_ = - com.google.cloud.datafusion.v1beta1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); + com.google.cloud.datafusion.v1beta1.Instance.newBuilder(instance_) + .mergeFrom(value) + .buildPartial(); } else { instance_ = value; } @@ -885,6 +988,8 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1beta1.Instance value) return this; } /** + * + * *
      * An instance resource.
      * 
@@ -903,6 +1008,8 @@ public Builder clearInstance() { return this; } /** + * + * *
      * An instance resource.
      * 
@@ -910,11 +1017,13 @@ public Builder clearInstance() { * .google.cloud.datafusion.v1beta1.Instance instance = 3; */ public com.google.cloud.datafusion.v1beta1.Instance.Builder getInstanceBuilder() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * An instance resource.
      * 
@@ -925,11 +1034,14 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * An instance resource.
      * 
@@ -937,21 +1049,24 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde * .google.cloud.datafusion.v1beta1.Instance instance = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> + com.google.cloud.datafusion.v1beta1.Instance, + com.google.cloud.datafusion.v1beta1.Instance.Builder, + com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.Instance, + com.google.cloud.datafusion.v1beta1.Instance.Builder, + com.google.cloud.datafusion.v1beta1.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; } + @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); } @@ -961,12 +1076,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.CreateInstanceRequest) private static final com.google.cloud.datafusion.v1beta1.CreateInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.CreateInstanceRequest(); } @@ -975,16 +1090,16 @@ public static com.google.cloud.datafusion.v1beta1.CreateInstanceRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -999,6 +1114,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java index 1d39526e..8ca8b502 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java @@ -1,73 +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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface CreateInstanceRequestOrBuilder extends +public interface CreateInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * 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 instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* - * 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(); /** + * + * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ java.lang.String getInstanceId(); /** + * + * *
    * Required. The name of the instance to create.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString - getInstanceIdBytes(); + com.google.protobuf.ByteString getInstanceIdBytes(); /** + * + * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 3; + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * An instance resource.
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 3; + * * @return The instance. */ com.google.cloud.datafusion.v1beta1.Instance getInstance(); /** + * + * *
    * An instance resource.
    * 
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.java similarity index 70% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.java index d5bfa984..d32b7530 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * The crypto key configuration. This field is used by the Customer-managed
  * encryption keys (CMEK) feature.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1beta1.CryptoKeyConfig}
  */
-public final class CryptoKeyConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CryptoKeyConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.CryptoKeyConfig)
     CryptoKeyConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CryptoKeyConfig.newBuilder() to construct.
   private CryptoKeyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CryptoKeyConfig() {
     keyReference_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CryptoKeyConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CryptoKeyConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private CryptoKeyConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            keyReference_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              keyReference_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,29 +92,33 @@ private CryptoKeyConfig(
     } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datafusion.v1beta1.V1Beta1
+        .internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable
+    return com.google.cloud.datafusion.v1beta1.V1Beta1
+        .internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.class, com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder.class);
+            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.class,
+            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder.class);
   }
 
   public static final int KEY_REFERENCE_FIELD_NUMBER = 1;
   private volatile java.lang.Object keyReference_;
   /**
+   *
+   *
    * 
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -104,6 +126,7 @@ private CryptoKeyConfig(
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @return The keyReference. */ @java.lang.Override @@ -112,14 +135,15 @@ public java.lang.String getKeyReference() { 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(); keyReference_ = s; return s; } } /** + * + * *
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -127,16 +151,15 @@ public java.lang.String getKeyReference() {
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for keyReference. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyReferenceBytes() { + public com.google.protobuf.ByteString getKeyReferenceBytes() { java.lang.Object ref = keyReference_; 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); keyReference_ = b; return b; } else { @@ -145,6 +168,7 @@ public java.lang.String getKeyReference() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +180,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(keyReference_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyReference_); } @@ -181,15 +204,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.datafusion.v1beta1.CryptoKeyConfig)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.CryptoKeyConfig other = (com.google.cloud.datafusion.v1beta1.CryptoKeyConfig) obj; + com.google.cloud.datafusion.v1beta1.CryptoKeyConfig other = + (com.google.cloud.datafusion.v1beta1.CryptoKeyConfig) obj; - if (!getKeyReference() - .equals(other.getKeyReference())) return false; + if (!getKeyReference().equals(other.getKeyReference())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -209,96 +232,103 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig 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 crypto key configuration. This field is used by the Customer-managed
    * encryption keys (CMEK) feature.
@@ -306,21 +336,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datafusion.v1beta1.CryptoKeyConfig}
    */
-  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.datafusion.v1beta1.CryptoKeyConfig)
       com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.class, com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder.class);
+              com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.class,
+              com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.newBuilder()
@@ -328,16 +360,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();
@@ -347,9 +378,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor;
     }
 
     @java.lang.Override
@@ -368,7 +399,8 @@ public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig buildPartial() {
-      com.google.cloud.datafusion.v1beta1.CryptoKeyConfig result = new com.google.cloud.datafusion.v1beta1.CryptoKeyConfig(this);
+      com.google.cloud.datafusion.v1beta1.CryptoKeyConfig result =
+          new com.google.cloud.datafusion.v1beta1.CryptoKeyConfig(this);
       result.keyReference_ = keyReference_;
       onBuilt();
       return result;
@@ -378,38 +410,39 @@ public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig 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.datafusion.v1beta1.CryptoKeyConfig) {
-        return mergeFrom((com.google.cloud.datafusion.v1beta1.CryptoKeyConfig)other);
+        return mergeFrom((com.google.cloud.datafusion.v1beta1.CryptoKeyConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -417,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.CryptoKeyConfig other) {
-      if (other == com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance())
+        return this;
       if (!other.getKeyReference().isEmpty()) {
         keyReference_ = other.keyReference_;
         onChanged();
@@ -441,7 +475,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.datafusion.v1beta1.CryptoKeyConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.datafusion.v1beta1.CryptoKeyConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -453,6 +488,8 @@ public Builder mergeFrom(
 
     private java.lang.Object keyReference_ = "";
     /**
+     *
+     *
      * 
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -460,13 +497,13 @@ public Builder mergeFrom(
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @return The keyReference. */ public java.lang.String getKeyReference() { java.lang.Object ref = keyReference_; 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(); keyReference_ = s; return s; @@ -475,6 +512,8 @@ public java.lang.String getKeyReference() { } } /** + * + * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -482,15 +521,14 @@ public java.lang.String getKeyReference() {
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for keyReference. */ - public com.google.protobuf.ByteString - getKeyReferenceBytes() { + public com.google.protobuf.ByteString getKeyReferenceBytes() { java.lang.Object ref = keyReference_; 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); keyReference_ = b; return b; } else { @@ -498,6 +536,8 @@ public java.lang.String getKeyReference() { } } /** + * + * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -505,20 +545,22 @@ public java.lang.String getKeyReference() {
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @param value The keyReference to set. * @return This builder for chaining. */ - public Builder setKeyReference( - java.lang.String value) { + public Builder setKeyReference(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + keyReference_ = value; onChanged(); return this; } /** + * + * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -526,15 +568,18 @@ public Builder setKeyReference(
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearKeyReference() { - + keyReference_ = getDefaultInstance().getKeyReference(); onChanged(); return this; } /** + * + * *
      * The name of the key which is used to encrypt/decrypt customer data. For key
      * in Cloud KMS, the key should be in the format of
@@ -542,23 +587,23 @@ public Builder clearKeyReference() {
      * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for keyReference to set. * @return This builder for chaining. */ - public Builder setKeyReferenceBytes( - com.google.protobuf.ByteString value) { + public Builder setKeyReferenceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + keyReference_ = 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); } @@ -568,12 +613,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.CryptoKeyConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.CryptoKeyConfig) private static final com.google.cloud.datafusion.v1beta1.CryptoKeyConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.CryptoKeyConfig(); } @@ -582,16 +627,16 @@ public static com.google.cloud.datafusion.v1beta1.CryptoKeyConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CryptoKeyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CryptoKeyConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CryptoKeyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CryptoKeyConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -606,6 +651,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.java similarity index 60% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.java index 77e5168b..f60505c5 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface CryptoKeyConfigOrBuilder extends +public interface CryptoKeyConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.CryptoKeyConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -15,10 +33,13 @@ public interface CryptoKeyConfigOrBuilder extends
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @return The keyReference. */ java.lang.String getKeyReference(); /** + * + * *
    * The name of the key which is used to encrypt/decrypt customer data. For key
    * in Cloud KMS, the key should be in the format of
@@ -26,8 +47,8 @@ public interface CryptoKeyConfigOrBuilder extends
    * 
* * string key_reference = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for keyReference. */ - com.google.protobuf.ByteString - getKeyReferenceBytes(); + com.google.protobuf.ByteString getKeyReferenceBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.java index 920e9c03..21d86a26 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Request message for deleting a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.DeleteInstanceRequest} */ -public final class DeleteInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.DeleteInstanceRequest) DeleteInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteInstanceRequest.newBuilder() to construct. private DeleteInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteInstanceRequest( 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 DeleteInstanceRequest( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.class, com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.class, + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * 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 instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * 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.datafusion.v1beta1.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest other = (com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) obj; + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest other = + (com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) 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,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest 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 message for deleting a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.DeleteInstanceRequest} */ - 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.datafusion.v1beta1.DeleteInstanceRequest) com.google.cloud.datafusion.v1beta1.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.class, com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.class, + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.newBuilder() @@ -324,16 +361,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(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest result = new com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest(this); + com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest result = + new com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest 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.datafusion.v1beta1.DeleteInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.DeleteInstanceRequest) private static final com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java new file mode 100644 index 00000000..5f9ee3e7 --- /dev/null +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.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/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface DeleteInstanceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.DeleteInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * 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/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.java similarity index 72% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.java index 193f71a5..f46f7391 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * DNS peering configuration. These configurations are used to create
  * DNS peering with the customer Cloud DNS.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1beta1.DnsPeering}
  */
-public final class DnsPeering extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DnsPeering extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.DnsPeering)
     DnsPeeringOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DnsPeering.newBuilder() to construct.
   private DnsPeering(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DnsPeering() {
     zone_ = "";
     domain_ = "";
@@ -30,16 +48,15 @@ private DnsPeering() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DnsPeering();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DnsPeering(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,43 +75,48 @@ private DnsPeering(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            zone_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              zone_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            domain_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              domain_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            description_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              description_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            targetProject_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              targetProject_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            targetNetwork_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              targetNetwork_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -102,34 +124,39 @@ private DnsPeering(
     } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datafusion.v1beta1.V1Beta1
+        .internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable
+    return com.google.cloud.datafusion.v1beta1.V1Beta1
+        .internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1beta1.DnsPeering.class, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder.class);
+            com.google.cloud.datafusion.v1beta1.DnsPeering.class,
+            com.google.cloud.datafusion.v1beta1.DnsPeering.Builder.class);
   }
 
   public static final int ZONE_FIELD_NUMBER = 1;
   private volatile java.lang.Object zone_;
   /**
+   *
+   *
    * 
    * Required. Name of the zone.
    * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ @java.lang.Override @@ -138,29 +165,29 @@ public java.lang.String getZone() { 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(); zone_ = s; return s; } } /** + * + * *
    * Required. Name of the zone.
    * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -171,11 +198,14 @@ public java.lang.String getZone() { public static final int DOMAIN_FIELD_NUMBER = 2; private volatile java.lang.Object domain_; /** + * + * *
    * Required. Name of the dns.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domain. */ @java.lang.Override @@ -184,29 +214,29 @@ public java.lang.String getDomain() { 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(); domain_ = s; return s; } } /** + * + * *
    * Required. Name of the dns.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; 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); domain_ = b; return b; } else { @@ -217,11 +247,14 @@ public java.lang.String getDomain() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Optional. Optional description of the dns zone.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -230,29 +263,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** + * + * *
    * Optional. Optional description of the dns zone.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -263,11 +296,14 @@ public java.lang.String getDescription() { public static final int TARGET_PROJECT_FIELD_NUMBER = 4; private volatile java.lang.Object targetProject_; /** + * + * *
    * Optional. Optional target project to which dns peering should happen.
    * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The targetProject. */ @java.lang.Override @@ -276,29 +312,29 @@ public java.lang.String getTargetProject() { 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(); targetProject_ = s; return s; } } /** + * + * *
    * Optional. Optional target project to which dns peering should happen.
    * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for targetProject. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetProjectBytes() { + public com.google.protobuf.ByteString getTargetProjectBytes() { java.lang.Object ref = targetProject_; 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); targetProject_ = b; return b; } else { @@ -309,11 +345,14 @@ public java.lang.String getTargetProject() { public static final int TARGET_NETWORK_FIELD_NUMBER = 5; private volatile java.lang.Object targetNetwork_; /** + * + * *
    * Optional. Optional target network to which dns peering should happen.
    * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The targetNetwork. */ @java.lang.Override @@ -322,29 +361,29 @@ public java.lang.String getTargetNetwork() { 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(); targetNetwork_ = s; return s; } } /** + * + * *
    * Optional. Optional target network to which dns peering should happen.
    * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for targetNetwork. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetNetworkBytes() { + public com.google.protobuf.ByteString getTargetNetworkBytes() { java.lang.Object ref = targetNetwork_; 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); targetNetwork_ = b; return b; } else { @@ -353,6 +392,7 @@ public java.lang.String getTargetNetwork() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -364,8 +404,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(zone_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zone_); } @@ -413,23 +452,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.datafusion.v1beta1.DnsPeering)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.DnsPeering other = (com.google.cloud.datafusion.v1beta1.DnsPeering) obj; - - if (!getZone() - .equals(other.getZone())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getTargetProject() - .equals(other.getTargetProject())) return false; - if (!getTargetNetwork() - .equals(other.getTargetNetwork())) return false; + com.google.cloud.datafusion.v1beta1.DnsPeering other = + (com.google.cloud.datafusion.v1beta1.DnsPeering) obj; + + if (!getZone().equals(other.getZone())) return false; + if (!getDomain().equals(other.getDomain())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getTargetProject().equals(other.getTargetProject())) return false; + if (!getTargetNetwork().equals(other.getTargetNetwork())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -456,97 +491,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1beta1.DnsPeering parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1beta1.DnsPeering parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.DnsPeering parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.DnsPeering parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.DnsPeering parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering 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; } /** + * + * *
    * DNS peering configuration. These configurations are used to create
    * DNS peering with the customer Cloud DNS.
@@ -554,21 +596,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datafusion.v1beta1.DnsPeering}
    */
-  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.datafusion.v1beta1.DnsPeering)
       com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1beta1.DnsPeering.class, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder.class);
+              com.google.cloud.datafusion.v1beta1.DnsPeering.class,
+              com.google.cloud.datafusion.v1beta1.DnsPeering.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1beta1.DnsPeering.newBuilder()
@@ -576,16 +620,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();
@@ -603,9 +646,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor;
     }
 
     @java.lang.Override
@@ -624,7 +667,8 @@ public com.google.cloud.datafusion.v1beta1.DnsPeering build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1beta1.DnsPeering buildPartial() {
-      com.google.cloud.datafusion.v1beta1.DnsPeering result = new com.google.cloud.datafusion.v1beta1.DnsPeering(this);
+      com.google.cloud.datafusion.v1beta1.DnsPeering result =
+          new com.google.cloud.datafusion.v1beta1.DnsPeering(this);
       result.zone_ = zone_;
       result.domain_ = domain_;
       result.description_ = description_;
@@ -638,38 +682,39 @@ public com.google.cloud.datafusion.v1beta1.DnsPeering 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.datafusion.v1beta1.DnsPeering) {
-        return mergeFrom((com.google.cloud.datafusion.v1beta1.DnsPeering)other);
+        return mergeFrom((com.google.cloud.datafusion.v1beta1.DnsPeering) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -729,18 +774,20 @@ public Builder mergeFrom(
 
     private java.lang.Object zone_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the zone.
      * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -749,20 +796,21 @@ public java.lang.String getZone() { } } /** + * + * *
      * Required. Name of the zone.
      * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for zone. */ - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -770,54 +818,61 @@ public java.lang.String getZone() { } } /** + * + * *
      * Required. Name of the zone.
      * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone( - java.lang.String value) { + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the zone.
      * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Name of the zone.
      * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -825,18 +880,20 @@ public Builder setZoneBytes( private java.lang.Object domain_ = ""; /** + * + * *
      * Required. Name of the dns.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; 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(); domain_ = s; return s; @@ -845,20 +902,21 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required. Name of the dns.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domain. */ - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; 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); domain_ = b; return b; } else { @@ -866,54 +924,61 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required. Name of the dns.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain( - java.lang.String value) { + public Builder setDomain(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the dns.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** + * + * *
      * Required. Name of the dns.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = value; onChanged(); return this; @@ -921,18 +986,20 @@ public Builder setDomainBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Optional description of the dns zone.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -941,20 +1008,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Optional description of the dns zone.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -962,54 +1030,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Optional description of the dns zone.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Optional description of the dns zone.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Optional. Optional description of the dns zone.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1017,18 +1092,20 @@ public Builder setDescriptionBytes( private java.lang.Object targetProject_ = ""; /** + * + * *
      * Optional. Optional target project to which dns peering should happen.
      * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The targetProject. */ public java.lang.String getTargetProject() { java.lang.Object ref = targetProject_; 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(); targetProject_ = s; return s; @@ -1037,20 +1114,21 @@ public java.lang.String getTargetProject() { } } /** + * + * *
      * Optional. Optional target project to which dns peering should happen.
      * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for targetProject. */ - public com.google.protobuf.ByteString - getTargetProjectBytes() { + public com.google.protobuf.ByteString getTargetProjectBytes() { java.lang.Object ref = targetProject_; 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); targetProject_ = b; return b; } else { @@ -1058,54 +1136,61 @@ public java.lang.String getTargetProject() { } } /** + * + * *
      * Optional. Optional target project to which dns peering should happen.
      * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The targetProject to set. * @return This builder for chaining. */ - public Builder setTargetProject( - java.lang.String value) { + public Builder setTargetProject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetProject_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Optional target project to which dns peering should happen.
      * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearTargetProject() { - + targetProject_ = getDefaultInstance().getTargetProject(); onChanged(); return this; } /** + * + * *
      * Optional. Optional target project to which dns peering should happen.
      * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for targetProject to set. * @return This builder for chaining. */ - public Builder setTargetProjectBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetProjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetProject_ = value; onChanged(); return this; @@ -1113,18 +1198,20 @@ public Builder setTargetProjectBytes( private java.lang.Object targetNetwork_ = ""; /** + * + * *
      * Optional. Optional target network to which dns peering should happen.
      * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The targetNetwork. */ public java.lang.String getTargetNetwork() { java.lang.Object ref = targetNetwork_; 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(); targetNetwork_ = s; return s; @@ -1133,20 +1220,21 @@ public java.lang.String getTargetNetwork() { } } /** + * + * *
      * Optional. Optional target network to which dns peering should happen.
      * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for targetNetwork. */ - public com.google.protobuf.ByteString - getTargetNetworkBytes() { + public com.google.protobuf.ByteString getTargetNetworkBytes() { java.lang.Object ref = targetNetwork_; 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); targetNetwork_ = b; return b; } else { @@ -1154,61 +1242,68 @@ public java.lang.String getTargetNetwork() { } } /** + * + * *
      * Optional. Optional target network to which dns peering should happen.
      * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The targetNetwork to set. * @return This builder for chaining. */ - public Builder setTargetNetwork( - java.lang.String value) { + public Builder setTargetNetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetNetwork_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Optional target network to which dns peering should happen.
      * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearTargetNetwork() { - + targetNetwork_ = getDefaultInstance().getTargetNetwork(); onChanged(); return this; } /** + * + * *
      * Optional. Optional target network to which dns peering should happen.
      * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for targetNetwork to set. * @return This builder for chaining. */ - public Builder setTargetNetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetNetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetNetwork_ = 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); } @@ -1218,12 +1313,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.DnsPeering) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.DnsPeering) private static final com.google.cloud.datafusion.v1beta1.DnsPeering DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.DnsPeering(); } @@ -1232,16 +1327,16 @@ public static com.google.cloud.datafusion.v1beta1.DnsPeering getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DnsPeering parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DnsPeering(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DnsPeering parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DnsPeering(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1256,6 +1351,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.DnsPeering getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java similarity index 70% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java index e4d1f3ee..e54f9512 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java @@ -1,109 +1,150 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface DnsPeeringOrBuilder extends +public interface DnsPeeringOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.DnsPeering) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the zone.
    * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ java.lang.String getZone(); /** + * + * *
    * Required. Name of the zone.
    * 
* * string zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for zone. */ - com.google.protobuf.ByteString - getZoneBytes(); + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Name of the dns.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domain. */ java.lang.String getDomain(); /** + * + * *
    * Required. Name of the dns.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domain. */ - com.google.protobuf.ByteString - getDomainBytes(); + com.google.protobuf.ByteString getDomainBytes(); /** + * + * *
    * Optional. Optional description of the dns zone.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Optional description of the dns zone.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Optional. Optional target project to which dns peering should happen.
    * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The targetProject. */ java.lang.String getTargetProject(); /** + * + * *
    * Optional. Optional target project to which dns peering should happen.
    * 
* * string target_project = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for targetProject. */ - com.google.protobuf.ByteString - getTargetProjectBytes(); + com.google.protobuf.ByteString getTargetProjectBytes(); /** + * + * *
    * Optional. Optional target network to which dns peering should happen.
    * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The targetNetwork. */ java.lang.String getTargetNetwork(); /** + * + * *
    * Optional. Optional target network to which dns peering should happen.
    * 
* * string target_network = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for targetNetwork. */ - com.google.protobuf.ByteString - getTargetNetworkBytes(); + com.google.protobuf.ByteString getTargetNetworkBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.java index c5484536..a0c6703c 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Request message for getting details about a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.GetInstanceRequest} */ -public final class GetInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.GetInstanceRequest) GetInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetInstanceRequest.newBuilder() to construct. private GetInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetInstanceRequest( 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 GetInstanceRequest( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.GetInstanceRequest.class, com.google.cloud.datafusion.v1beta1.GetInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.GetInstanceRequest.class, + com.google.cloud.datafusion.v1beta1.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * 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 instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * 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.datafusion.v1beta1.GetInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.GetInstanceRequest other = (com.google.cloud.datafusion.v1beta1.GetInstanceRequest) obj; + com.google.cloud.datafusion.v1beta1.GetInstanceRequest other = + (com.google.cloud.datafusion.v1beta1.GetInstanceRequest) 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,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.GetInstanceRequest 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 message for getting details about a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.GetInstanceRequest} */ - 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.datafusion.v1beta1.GetInstanceRequest) com.google.cloud.datafusion.v1beta1.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.GetInstanceRequest.class, com.google.cloud.datafusion.v1beta1.GetInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.GetInstanceRequest.class, + com.google.cloud.datafusion.v1beta1.GetInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.GetInstanceRequest.newBuilder() @@ -324,16 +361,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(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.datafusion.v1beta1.GetInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.GetInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.GetInstanceRequest result = new com.google.cloud.datafusion.v1beta1.GetInstanceRequest(this); + com.google.cloud.datafusion.v1beta1.GetInstanceRequest result = + new com.google.cloud.datafusion.v1beta1.GetInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.datafusion.v1beta1.GetInstanceRequest 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.datafusion.v1beta1.GetInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.GetInstanceRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.GetInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.GetInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.GetInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.GetInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.GetInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.GetInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * 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 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * 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 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * 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 instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * 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,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.GetInstanceRequest) private static final com.google.cloud.datafusion.v1beta1.GetInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.GetInstanceRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.datafusion.v1beta1.GetInstanceRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java new file mode 100644 index 00000000..f0cfbb44 --- /dev/null +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.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/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface GetInstanceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.GetInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The instance resource name in the format
+   * projects/{project}/locations/{location}/instances/{instance}.
+   * 
+ * + * + * 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/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.java similarity index 72% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.java index c46f9f65..2e43a981 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * IAMPolicy encapsulates the IAM policy name, definition and status of
  * policy fetching.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1beta1.IAMPolicy}
  */
-public final class IAMPolicy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class IAMPolicy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.IAMPolicy)
     IAMPolicyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use IAMPolicy.newBuilder() to construct.
   private IAMPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private IAMPolicy() {
-  }
+
+  private IAMPolicy() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new IAMPolicy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private IAMPolicy(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,39 +69,41 @@ private IAMPolicy(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.iam.v1.Policy.Builder subBuilder = null;
-            if (policy_ != null) {
-              subBuilder = policy_.toBuilder();
-            }
-            policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(policy_);
-              policy_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 18: {
-            com.google.rpc.Status.Builder subBuilder = null;
-            if (status_ != null) {
-              subBuilder = status_.toBuilder();
+          case 10:
+            {
+              com.google.iam.v1.Policy.Builder subBuilder = null;
+              if (policy_ != null) {
+                subBuilder = policy_.toBuilder();
+              }
+              policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(policy_);
+                policy_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(status_);
-              status_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.rpc.Status.Builder subBuilder = null;
+              if (status_ != null) {
+                subBuilder = status_.toBuilder();
+              }
+              status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(status_);
+                status_ = 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,35 +111,40 @@ private IAMPolicy(
     } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datafusion.v1beta1.V1Beta1
+        .internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable
+    return com.google.cloud.datafusion.v1beta1.V1Beta1
+        .internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1beta1.IAMPolicy.class, com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder.class);
+            com.google.cloud.datafusion.v1beta1.IAMPolicy.class,
+            com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder.class);
   }
 
   public static final int POLICY_FIELD_NUMBER = 1;
   private com.google.iam.v1.Policy policy_;
   /**
+   *
+   *
    * 
    * Policy definition if IAM policy fetching is successful,
    * otherwise empty.
    * 
* * .google.iam.v1.Policy policy = 1; + * * @return Whether the policy field is set. */ @java.lang.Override @@ -129,12 +152,15 @@ public boolean hasPolicy() { return policy_ != null; } /** + * + * *
    * Policy definition if IAM policy fetching is successful,
    * otherwise empty.
    * 
* * .google.iam.v1.Policy policy = 1; + * * @return The policy. */ @java.lang.Override @@ -142,6 +168,8 @@ public com.google.iam.v1.Policy getPolicy() { return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; } /** + * + * *
    * Policy definition if IAM policy fetching is successful,
    * otherwise empty.
@@ -157,11 +185,14 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
   public static final int STATUS_FIELD_NUMBER = 2;
   private com.google.rpc.Status status_;
   /**
+   *
+   *
    * 
    * Status of iam policy fetching.
    * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ @java.lang.Override @@ -169,11 +200,14 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * Status of iam policy fetching.
    * 
* * .google.rpc.Status status = 2; + * * @return The status. */ @java.lang.Override @@ -181,6 +215,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
    * Status of iam policy fetching.
    * 
@@ -193,6 +229,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +241,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 (policy_ != null) { output.writeMessage(1, getPolicy()); } @@ -222,12 +258,10 @@ public int getSerializedSize() { size = 0; if (policy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); } if (status_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,22 +271,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.datafusion.v1beta1.IAMPolicy)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.IAMPolicy other = (com.google.cloud.datafusion.v1beta1.IAMPolicy) obj; + com.google.cloud.datafusion.v1beta1.IAMPolicy other = + (com.google.cloud.datafusion.v1beta1.IAMPolicy) obj; if (hasPolicy() != other.hasPolicy()) return false; if (hasPolicy()) { - if (!getPolicy() - .equals(other.getPolicy())) return false; + if (!getPolicy().equals(other.getPolicy())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus() - .equals(other.getStatus())) return false; + if (!getStatus().equals(other.getStatus())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -278,97 +311,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1beta1.IAMPolicy parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1beta1.IAMPolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.IAMPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.IAMPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.IAMPolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy 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; } /** + * + * *
    * IAMPolicy encapsulates the IAM policy name, definition and status of
    * policy fetching.
@@ -376,21 +416,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datafusion.v1beta1.IAMPolicy}
    */
-  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.datafusion.v1beta1.IAMPolicy)
       com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1beta1.IAMPolicy.class, com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder.class);
+              com.google.cloud.datafusion.v1beta1.IAMPolicy.class,
+              com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1beta1.IAMPolicy.newBuilder()
@@ -398,16 +440,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();
@@ -427,9 +468,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -448,7 +489,8 @@ public com.google.cloud.datafusion.v1beta1.IAMPolicy build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1beta1.IAMPolicy buildPartial() {
-      com.google.cloud.datafusion.v1beta1.IAMPolicy result = new com.google.cloud.datafusion.v1beta1.IAMPolicy(this);
+      com.google.cloud.datafusion.v1beta1.IAMPolicy result =
+          new com.google.cloud.datafusion.v1beta1.IAMPolicy(this);
       if (policyBuilder_ == null) {
         result.policy_ = policy_;
       } else {
@@ -467,38 +509,39 @@ public com.google.cloud.datafusion.v1beta1.IAMPolicy 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.datafusion.v1beta1.IAMPolicy) {
-        return mergeFrom((com.google.cloud.datafusion.v1beta1.IAMPolicy)other);
+        return mergeFrom((com.google.cloud.datafusion.v1beta1.IAMPolicy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -544,26 +587,35 @@ public Builder mergeFrom(
 
     private com.google.iam.v1.Policy policy_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> policyBuilder_;
+            com.google.iam.v1.Policy,
+            com.google.iam.v1.Policy.Builder,
+            com.google.iam.v1.PolicyOrBuilder>
+        policyBuilder_;
     /**
+     *
+     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
      * 
* * .google.iam.v1.Policy policy = 1; + * * @return Whether the policy field is set. */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; } /** + * + * *
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
      * 
* * .google.iam.v1.Policy policy = 1; + * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -574,6 +626,8 @@ public com.google.iam.v1.Policy getPolicy() { } } /** + * + * *
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -595,6 +649,8 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -602,8 +658,7 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
      *
      * .google.iam.v1.Policy policy = 1;
      */
-    public Builder setPolicy(
-        com.google.iam.v1.Policy.Builder builderForValue) {
+    public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       if (policyBuilder_ == null) {
         policy_ = builderForValue.build();
         onChanged();
@@ -614,6 +669,8 @@ public Builder setPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -624,8 +681,7 @@ public Builder setPolicy(
     public Builder mergePolicy(com.google.iam.v1.Policy value) {
       if (policyBuilder_ == null) {
         if (policy_ != null) {
-          policy_ =
-            com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
+          policy_ = com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
         } else {
           policy_ = value;
         }
@@ -637,6 +693,8 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -656,6 +714,8 @@ public Builder clearPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -664,11 +724,13 @@ public Builder clearPolicy() {
      * .google.iam.v1.Policy policy = 1;
      */
     public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
-      
+
       onChanged();
       return getPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -680,11 +742,12 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
       if (policyBuilder_ != null) {
         return policyBuilder_.getMessageOrBuilder();
       } else {
-        return policy_ == null ?
-            com.google.iam.v1.Policy.getDefaultInstance() : policy_;
+        return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_;
       }
     }
     /**
+     *
+     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -693,14 +756,16 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
      * .google.iam.v1.Policy policy = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
+            com.google.iam.v1.Policy,
+            com.google.iam.v1.Policy.Builder,
+            com.google.iam.v1.PolicyOrBuilder>
         getPolicyFieldBuilder() {
       if (policyBuilder_ == null) {
-        policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
-                getPolicy(),
-                getParentForChildren(),
-                isClean());
+        policyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.iam.v1.Policy,
+                com.google.iam.v1.Policy.Builder,
+                com.google.iam.v1.PolicyOrBuilder>(getPolicy(), getParentForChildren(), isClean());
         policy_ = null;
       }
       return policyBuilder_;
@@ -708,24 +773,31 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
 
     private com.google.rpc.Status status_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        statusBuilder_;
     /**
+     *
+     *
      * 
      * Status of iam policy fetching.
      * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
      * Status of iam policy fetching.
      * 
* * .google.rpc.Status status = 2; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -736,6 +808,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
      * Status of iam policy fetching.
      * 
@@ -756,14 +830,15 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Status of iam policy fetching.
      * 
* * .google.rpc.Status status = 2; */ - public Builder setStatus( - com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -774,6 +849,8 @@ public Builder setStatus( return this; } /** + * + * *
      * Status of iam policy fetching.
      * 
@@ -783,8 +860,7 @@ public Builder setStatus( public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = - com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -796,6 +872,8 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Status of iam policy fetching.
      * 
@@ -814,6 +892,8 @@ public Builder clearStatus() { return this; } /** + * + * *
      * Status of iam policy fetching.
      * 
@@ -821,11 +901,13 @@ public Builder clearStatus() { * .google.rpc.Status status = 2; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Status of iam policy fetching.
      * 
@@ -836,11 +918,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? - com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } } /** + * + * *
      * Status of iam policy fetching.
      * 
@@ -848,21 +931,21 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } + @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); } @@ -872,12 +955,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.IAMPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.IAMPolicy) private static final com.google.cloud.datafusion.v1beta1.IAMPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.IAMPolicy(); } @@ -886,16 +969,16 @@ public static com.google.cloud.datafusion.v1beta1.IAMPolicy getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IAMPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IAMPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IAMPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IAMPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -910,6 +993,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.IAMPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.java index d2c3bfa0..c60e2bd0 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface IAMPolicyOrBuilder extends +public interface IAMPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.IAMPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Policy definition if IAM policy fetching is successful,
    * otherwise empty.
    * 
* * .google.iam.v1.Policy policy = 1; + * * @return Whether the policy field is set. */ boolean hasPolicy(); /** + * + * *
    * Policy definition if IAM policy fetching is successful,
    * otherwise empty.
    * 
* * .google.iam.v1.Policy policy = 1; + * * @return The policy. */ com.google.iam.v1.Policy getPolicy(); /** + * + * *
    * Policy definition if IAM policy fetching is successful,
    * otherwise empty.
@@ -38,24 +62,32 @@ public interface IAMPolicyOrBuilder extends
   com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * Status of iam policy fetching.
    * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
    * Status of iam policy fetching.
    * 
* * .google.rpc.Status status = 2; + * * @return The status. */ com.google.rpc.Status getStatus(); /** + * + * *
    * Status of iam policy fetching.
    * 
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.java similarity index 71% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.java index e02d5de3..78b9e129 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Represents a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Instance} */ -public final class Instance extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Instance extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.Instance) InstanceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Instance.newBuilder() to construct. private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Instance() { name_ = ""; description_ = ""; @@ -42,16 +60,15 @@ private Instance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Instance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Instance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,242 +88,278 @@ private Instance( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 32: { - - enableStackdriverLogging_ = input.readBool(); - break; - } - case 40: { - - enableStackdriverMonitoring_ = input.readBool(); - break; - } - case 48: { - - privateInstance_ = input.readBool(); - break; - } - case 58: { - com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder subBuilder = null; - if (networkConfig_ != null) { - subBuilder = networkConfig_.toBuilder(); + name_ = s; + break; } - networkConfig_ = input.readMessage(com.google.cloud.datafusion.v1beta1.NetworkConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(networkConfig_); - networkConfig_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; } + case 24: + { + int rawValue = input.readEnum(); - break; - } - case 66: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + type_ = rawValue; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 74: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - options_ = com.google.protobuf.MapField.newMapField( - OptionsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + case 32: + { + enableStackdriverLogging_ = input.readBool(); + break; } - com.google.protobuf.MapEntry - options__ = input.readMessage( - OptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - options_.getMutableMap().put( - options__.getKey(), options__.getValue()); - break; - } - case 82: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 40: + { + enableStackdriverMonitoring_ = input.readBool(); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 48: + { + privateInstance_ = input.readBool(); + break; } + case 58: + { + com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder subBuilder = null; + if (networkConfig_ != null) { + subBuilder = networkConfig_.toBuilder(); + } + networkConfig_ = + input.readMessage( + com.google.cloud.datafusion.v1beta1.NetworkConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networkConfig_); + networkConfig_ = subBuilder.buildPartial(); + } - break; - } - case 90: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 66: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } + case 74: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + options_ = + com.google.protobuf.MapField.newMapField( + OptionsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry options__ = + input.readMessage( + OptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + options_.getMutableMap().put(options__.getKey(), options__.getValue()); + break; + } + case 82: + { + 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 96: { - int rawValue = input.readEnum(); + break; + } + case 90: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - state_ = rawValue; - break; - } - case 106: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 96: + { + int rawValue = input.readEnum(); - stateMessage_ = s; - break; - } - case 114: { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); - serviceEndpoint_ = s; - break; - } - case 122: { - java.lang.String s = input.readStringRequireUtf8(); + stateMessage_ = s; + break; + } + case 114: + { + java.lang.String s = input.readStringRequireUtf8(); - zone_ = s; - break; - } - case 130: { - java.lang.String s = input.readStringRequireUtf8(); + serviceEndpoint_ = s; + break; + } + case 122: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 138: { - java.lang.String s = input.readStringRequireUtf8(); + zone_ = s; + break; + } + case 130: + { + java.lang.String s = input.readStringRequireUtf8(); - serviceAccount_ = s; - break; - } - case 146: { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 138: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 154: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - availableVersion_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + serviceAccount_ = s; + break; } - availableVersion_.add( - input.readMessage(com.google.cloud.datafusion.v1beta1.Version.parser(), extensionRegistry)); - break; - } - case 162: { - java.lang.String s = input.readStringRequireUtf8(); + case 146: + { + java.lang.String s = input.readStringRequireUtf8(); - apiEndpoint_ = s; - break; - } - case 170: { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 154: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + availableVersion_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + availableVersion_.add( + input.readMessage( + com.google.cloud.datafusion.v1beta1.Version.parser(), extensionRegistry)); + break; + } + case 162: + { + java.lang.String s = input.readStringRequireUtf8(); - gcsBucket_ = s; - break; - } - case 178: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - accelerators_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + apiEndpoint_ = s; + break; } - accelerators_.add( - input.readMessage(com.google.cloud.datafusion.v1beta1.Accelerator.parser(), extensionRegistry)); - break; - } - case 186: { - java.lang.String s = input.readStringRequireUtf8(); + case 170: + { + java.lang.String s = input.readStringRequireUtf8(); - p4ServiceAccount_ = s; - break; - } - case 194: { - java.lang.String s = input.readStringRequireUtf8(); + gcsBucket_ = s; + break; + } + case 178: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + accelerators_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + accelerators_.add( + input.readMessage( + com.google.cloud.datafusion.v1beta1.Accelerator.parser(), extensionRegistry)); + break; + } + case 186: + { + java.lang.String s = input.readStringRequireUtf8(); - tenantProjectId_ = s; - break; - } - case 202: { - java.lang.String s = input.readStringRequireUtf8(); + p4ServiceAccount_ = s; + break; + } + case 194: + { + java.lang.String s = input.readStringRequireUtf8(); - dataprocServiceAccount_ = s; - break; - } - case 208: { + tenantProjectId_ = s; + break; + } + case 202: + { + java.lang.String s = input.readStringRequireUtf8(); - enableRbac_ = input.readBool(); - break; - } - case 218: { - com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder subBuilder = null; - if (cryptoKeyConfig_ != null) { - subBuilder = cryptoKeyConfig_.toBuilder(); + dataprocServiceAccount_ = s; + break; } - cryptoKeyConfig_ = input.readMessage(com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cryptoKeyConfig_); - cryptoKeyConfig_ = subBuilder.buildPartial(); + case 208: + { + enableRbac_ = input.readBool(); + break; } + case 218: + { + com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder subBuilder = null; + if (cryptoKeyConfig_ != null) { + subBuilder = cryptoKeyConfig_.toBuilder(); + } + cryptoKeyConfig_ = + input.readMessage( + com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cryptoKeyConfig_); + cryptoKeyConfig_ = subBuilder.buildPartial(); + } - break; - } - case 224: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - disabledReason_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + break; } - disabledReason_.add(rawValue); - break; - } - case 226: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 224: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000010) != 0)) { disabledReason_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } disabledReason_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 226: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + disabledReason_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + disabledReason_.add(rawValue); + } + input.popLimit(oldLimit); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -314,8 +367,7 @@ private Instance( } 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_ & 0x00000004) != 0)) { availableVersion_ = java.util.Collections.unmodifiableList(availableVersion_); @@ -330,34 +382,38 @@ private Instance( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Instance_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 8: return internalGetLabels(); case 9: return internalGetOptions(); 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Instance.class, com.google.cloud.datafusion.v1beta1.Instance.Builder.class); + com.google.cloud.datafusion.v1beta1.Instance.class, + com.google.cloud.datafusion.v1beta1.Instance.Builder.class); } /** + * + * *
    * Represents the type of Data Fusion instance. Each type is configured with
    * the default settings for processing and memory.
@@ -365,9 +421,10 @@ protected com.google.protobuf.MapField internalGetMapField(
    *
    * Protobuf enum {@code google.cloud.datafusion.v1beta1.Instance.Type}
    */
-  public enum Type
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * No type specified. The instance creation will fail.
      * 
@@ -376,6 +433,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Basic Data Fusion instance. In Basic type, the user will be able to
      * create data pipelines using point and click UI. However, there are
@@ -387,6 +446,8 @@ public enum Type
      */
     BASIC(1),
     /**
+     *
+     *
      * 
      * Enterprise Data Fusion instance. In Enterprise type, the user will have
      * all features available, such as support for streaming pipelines,
@@ -397,6 +458,8 @@ public enum Type
      */
     ENTERPRISE(2),
     /**
+     *
+     *
      * 
      * Developer Data Fusion instance. In Developer type, the user will have all
      * features available but with restrictive capabilities. This is to help
@@ -411,6 +474,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * No type specified. The instance creation will fail.
      * 
@@ -419,6 +484,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Basic Data Fusion instance. In Basic type, the user will be able to
      * create data pipelines using point and click UI. However, there are
@@ -430,6 +497,8 @@ public enum Type
      */
     public static final int BASIC_VALUE = 1;
     /**
+     *
+     *
      * 
      * Enterprise Data Fusion instance. In Enterprise type, the user will have
      * all features available, such as support for streaming pipelines,
@@ -440,6 +509,8 @@ public enum Type
      */
     public static final int ENTERPRISE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Developer Data Fusion instance. In Developer type, the user will have all
      * features available but with restrictive capabilities. This is to help
@@ -451,7 +522,6 @@ public enum Type
      */
     public static final int DEVELOPER_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -476,50 +546,51 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0: return TYPE_UNSPECIFIED;
-        case 1: return BASIC;
-        case 2: return ENTERPRISE;
-        case 3: return DEVELOPER;
-        default: return null;
+        case 0:
+          return TYPE_UNSPECIFIED;
+        case 1:
+          return BASIC;
+        case 2:
+          return ENTERPRISE;
+        case 3:
+          return DEVELOPER;
+        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() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.datafusion.v1beta1.Instance.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;
@@ -537,15 +608,18 @@ private Type(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Represents the state of a Data Fusion instance
    * 
* * Protobuf enum {@code google.cloud.datafusion.v1beta1.Instance.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Instance does not have a state yet
      * 
@@ -554,6 +628,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Instance is being created
      * 
@@ -562,6 +638,8 @@ public enum State */ CREATING(1), /** + * + * *
      * Instance is running and ready for requests
      * 
@@ -570,6 +648,8 @@ public enum State */ RUNNING(2), /** + * + * *
      * Instance creation failed
      * 
@@ -578,6 +658,8 @@ public enum State */ FAILED(3), /** + * + * *
      * Instance is being deleted
      * 
@@ -586,6 +668,8 @@ public enum State */ DELETING(4), /** + * + * *
      * Instance is being upgraded
      * 
@@ -594,6 +678,8 @@ public enum State */ UPGRADING(5), /** + * + * *
      * Instance is being restarted
      * 
@@ -602,6 +688,8 @@ public enum State */ RESTARTING(6), /** + * + * *
      * Instance is being updated on customer request
      * 
@@ -610,6 +698,8 @@ public enum State */ UPDATING(7), /** + * + * *
      * Instance is being auto-updated
      * 
@@ -618,6 +708,8 @@ public enum State */ AUTO_UPDATING(8), /** + * + * *
      * Instance is being auto-upgraded
      * 
@@ -626,6 +718,8 @@ public enum State */ AUTO_UPGRADING(9), /** + * + * *
      * Instance is disabled
      * 
@@ -637,6 +731,8 @@ public enum State ; /** + * + * *
      * Instance does not have a state yet
      * 
@@ -645,6 +741,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Instance is being created
      * 
@@ -653,6 +751,8 @@ public enum State */ public static final int CREATING_VALUE = 1; /** + * + * *
      * Instance is running and ready for requests
      * 
@@ -661,6 +761,8 @@ public enum State */ public static final int RUNNING_VALUE = 2; /** + * + * *
      * Instance creation failed
      * 
@@ -669,6 +771,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * Instance is being deleted
      * 
@@ -677,6 +781,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
      * Instance is being upgraded
      * 
@@ -685,6 +791,8 @@ public enum State */ public static final int UPGRADING_VALUE = 5; /** + * + * *
      * Instance is being restarted
      * 
@@ -693,6 +801,8 @@ public enum State */ public static final int RESTARTING_VALUE = 6; /** + * + * *
      * Instance is being updated on customer request
      * 
@@ -701,6 +811,8 @@ public enum State */ public static final int UPDATING_VALUE = 7; /** + * + * *
      * Instance is being auto-updated
      * 
@@ -709,6 +821,8 @@ public enum State */ public static final int AUTO_UPDATING_VALUE = 8; /** + * + * *
      * Instance is being auto-upgraded
      * 
@@ -717,6 +831,8 @@ public enum State */ public static final int AUTO_UPGRADING_VALUE = 9; /** + * + * *
      * Instance is disabled
      * 
@@ -725,7 +841,6 @@ public enum State */ public static final int DISABLED_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -750,57 +865,65 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return CREATING; - case 2: return RUNNING; - case 3: return FAILED; - case 4: return DELETING; - case 5: return UPGRADING; - case 6: return RESTARTING; - case 7: return UPDATING; - case 8: return AUTO_UPDATING; - case 9: return AUTO_UPGRADING; - case 10: return DISABLED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return CREATING; + case 2: + return RUNNING; + case 3: + return FAILED; + case 4: + return DELETING; + case 5: + return UPGRADING; + case 6: + return RESTARTING; + case 7: + return UPDATING; + case 8: + return AUTO_UPDATING; + case 9: + return AUTO_UPGRADING; + case 10: + return DISABLED; + 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.datafusion.v1beta1.Instance.getDescriptor().getEnumTypes().get(1); } 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; @@ -818,15 +941,18 @@ private State(int value) { } /** + * + * *
    * The reason for disabling the instance if the state is DISABLED.
    * 
* * Protobuf enum {@code google.cloud.datafusion.v1beta1.Instance.DisabledReason} */ - public enum DisabledReason - implements com.google.protobuf.ProtocolMessageEnum { + public enum DisabledReason implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * This is an unknown reason for disabling.
      * 
@@ -835,6 +961,8 @@ public enum DisabledReason */ DISABLED_REASON_UNSPECIFIED(0), /** + * + * *
      * The KMS key used by the instance is either revoked or denied access to
      * 
@@ -846,6 +974,8 @@ public enum DisabledReason ; /** + * + * *
      * This is an unknown reason for disabling.
      * 
@@ -854,6 +984,8 @@ public enum DisabledReason */ public static final int DISABLED_REASON_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The KMS key used by the instance is either revoked or denied access to
      * 
@@ -862,7 +994,6 @@ public enum DisabledReason */ public static final int KMS_KEY_ISSUE_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -887,48 +1018,47 @@ public static DisabledReason valueOf(int value) { */ public static DisabledReason forNumber(int value) { switch (value) { - case 0: return DISABLED_REASON_UNSPECIFIED; - case 1: return KMS_KEY_ISSUE; - default: return null; + case 0: + return DISABLED_REASON_UNSPECIFIED; + case 1: + return KMS_KEY_ISSUE; + 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< - DisabledReason> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DisabledReason findValueByNumber(int number) { - return DisabledReason.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 DisabledReason findValueByNumber(int number) { + return DisabledReason.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.datafusion.v1beta1.Instance.getDescriptor().getEnumTypes().get(2); } private static final DisabledReason[] VALUES = values(); - public static DisabledReason valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DisabledReason 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; @@ -948,12 +1078,17 @@ private DisabledReason(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -962,30 +1097,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; } } /** + * + * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -996,11 +1133,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * A description of this instance.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -1009,29 +1149,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** + * + * *
    * A description of this instance.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1042,38 +1182,54 @@ public java.lang.String getDescription() { public static final int TYPE_FIELD_NUMBER = 3; private int type_; /** + * + * *
    * Required. Instance type.
    * 
* - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. Instance type.
    * 
* - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.datafusion.v1beta1.Instance.Type getType() { + @java.lang.Override + public com.google.cloud.datafusion.v1beta1.Instance.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Instance.Type result = com.google.cloud.datafusion.v1beta1.Instance.Type.valueOf(type_); + com.google.cloud.datafusion.v1beta1.Instance.Type result = + com.google.cloud.datafusion.v1beta1.Instance.Type.valueOf(type_); return result == null ? com.google.cloud.datafusion.v1beta1.Instance.Type.UNRECOGNIZED : result; } public static final int ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER = 4; private boolean enableStackdriverLogging_; /** + * + * *
    * Option to enable Stackdriver Logging.
    * 
* * bool enable_stackdriver_logging = 4; + * * @return The enableStackdriverLogging. */ @java.lang.Override @@ -1084,11 +1240,14 @@ public boolean getEnableStackdriverLogging() { public static final int ENABLE_STACKDRIVER_MONITORING_FIELD_NUMBER = 5; private boolean enableStackdriverMonitoring_; /** + * + * *
    * Option to enable Stackdriver Monitoring.
    * 
* * bool enable_stackdriver_monitoring = 5; + * * @return The enableStackdriverMonitoring. */ @java.lang.Override @@ -1099,6 +1258,8 @@ public boolean getEnableStackdriverMonitoring() { public static final int PRIVATE_INSTANCE_FIELD_NUMBER = 6; private boolean privateInstance_; /** + * + * *
    * Specifies whether the Data Fusion instance should be private. If set to
    * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -1106,6 +1267,7 @@ public boolean getEnableStackdriverMonitoring() {
    * 
* * bool private_instance = 6; + * * @return The privateInstance. */ @java.lang.Override @@ -1116,12 +1278,15 @@ public boolean getPrivateInstance() { public static final int NETWORK_CONFIG_FIELD_NUMBER = 7; private com.google.cloud.datafusion.v1beta1.NetworkConfig networkConfig_; /** + * + * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7; + * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -1129,19 +1294,26 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** + * + * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7; + * * @return The networkConfig. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.NetworkConfig getNetworkConfig() { - return networkConfig_ == null ? com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance() + : networkConfig_; } /** + * + * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
@@ -1155,24 +1327,23 @@ public com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder getNetworkConf
   }
 
   public static final int LABELS_FIELD_NUMBER = 8;
+
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_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.datafusion.v1beta1.V1Beta1
+                .internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> labels_;
-  private com.google.protobuf.MapField
-  internalGetLabels() {
+
+  private com.google.protobuf.MapField labels_;
+
+  private com.google.protobuf.MapField internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -1181,6 +1352,8 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1189,22 +1362,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 8;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1214,11 +1387,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1228,16 +1402,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -1247,12 +1421,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1260,24 +1433,23 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int OPTIONS_FIELD_NUMBER = 9;
+
   private static final class OptionsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_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.datafusion.v1beta1.V1Beta1
+                .internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> options_;
-  private com.google.protobuf.MapField
-  internalGetOptions() {
+
+  private com.google.protobuf.MapField options_;
+
+  private com.google.protobuf.MapField internalGetOptions() {
     if (options_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          OptionsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(OptionsDefaultEntryHolder.defaultEntry);
     }
     return options_;
   }
@@ -1286,6 +1458,8 @@ public int getOptionsCount() {
     return internalGetOptions().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1293,22 +1467,22 @@ public int getOptionsCount() {
    *
    * map<string, string> options = 9;
    */
-
   @java.lang.Override
-  public boolean containsOptions(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsOptions(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetOptions().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getOptionsMap()} instead.
-   */
+  /** Use {@link #getOptionsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getOptions() {
     return getOptionsMap();
   }
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1317,11 +1491,12 @@ public java.util.Map getOptions() {
    * map<string, string> options = 9;
    */
   @java.lang.Override
-
   public java.util.Map getOptionsMap() {
     return internalGetOptions().getMap();
   }
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1330,16 +1505,16 @@ public java.util.Map getOptionsMap() {
    * map<string, string> options = 9;
    */
   @java.lang.Override
-
-  public java.lang.String getOptionsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetOptions().getMap();
+  public java.lang.String getOptionsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetOptions().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1348,12 +1523,11 @@ public java.lang.String getOptionsOrDefault(
    * map<string, string> options = 9;
    */
   @java.lang.Override
-
-  public java.lang.String getOptionsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetOptions().getMap();
+  public java.lang.String getOptionsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetOptions().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1363,11 +1537,15 @@ public java.lang.String getOptionsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 10;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1375,11 +1553,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1387,11 +1569,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1401,11 +1586,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1413,11 +1602,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1425,11 +1618,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1439,39 +1635,57 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 12; private int state_; /** + * + * *
    * Output only. The current state of this Data Fusion instance.
    * 
* - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.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 this Data Fusion instance.
    * 
* - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.datafusion.v1beta1.Instance.State getState() { + @java.lang.Override + public com.google.cloud.datafusion.v1beta1.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Instance.State result = com.google.cloud.datafusion.v1beta1.Instance.State.valueOf(state_); - return result == null ? com.google.cloud.datafusion.v1beta1.Instance.State.UNRECOGNIZED : result; + com.google.cloud.datafusion.v1beta1.Instance.State result = + com.google.cloud.datafusion.v1beta1.Instance.State.valueOf(state_); + return result == null + ? com.google.cloud.datafusion.v1beta1.Instance.State.UNRECOGNIZED + : result; } public static final int STATE_MESSAGE_FIELD_NUMBER = 13; private volatile java.lang.Object stateMessage_; /** + * + * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateMessage. */ @java.lang.Override @@ -1480,30 +1694,30 @@ public java.lang.String getStateMessage() { 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(); stateMessage_ = s; return s; } } /** + * + * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateMessageBytes() { + public com.google.protobuf.ByteString getStateMessageBytes() { java.lang.Object ref = stateMessage_; 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); stateMessage_ = b; return b; } else { @@ -1514,11 +1728,14 @@ public java.lang.String getStateMessage() { public static final int SERVICE_ENDPOINT_FIELD_NUMBER = 14; private volatile java.lang.Object serviceEndpoint_; /** + * + * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceEndpoint. */ @java.lang.Override @@ -1527,29 +1744,29 @@ public java.lang.String getServiceEndpoint() { 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(); serviceEndpoint_ = s; return s; } } /** + * + * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceEndpointBytes() { + public com.google.protobuf.ByteString getServiceEndpointBytes() { java.lang.Object ref = serviceEndpoint_; 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); serviceEndpoint_ = b; return b; } else { @@ -1560,12 +1777,15 @@ public java.lang.String getServiceEndpoint() { public static final int ZONE_FIELD_NUMBER = 15; private volatile java.lang.Object zone_; /** + * + * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; + * * @return The zone. */ @java.lang.Override @@ -1574,30 +1794,30 @@ public java.lang.String getZone() { 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(); zone_ = s; return s; } } /** + * + * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; + * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -1608,11 +1828,14 @@ public java.lang.String getZone() { public static final int VERSION_FIELD_NUMBER = 16; private volatile java.lang.Object version_; /** + * + * *
    * Current version of Data Fusion.
    * 
* * string version = 16; + * * @return The version. */ @java.lang.Override @@ -1621,29 +1844,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** + * + * *
    * Current version of Data Fusion.
    * 
* * string version = 16; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -1654,46 +1877,55 @@ public java.lang.String getVersion() { public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 17; private volatile java.lang.Object serviceAccount_; /** + * + * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @return The serviceAccount. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getServiceAccount() { + @java.lang.Deprecated + public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; } } /** + * + * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @return The bytes for serviceAccount. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getServiceAccountBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -1704,11 +1936,14 @@ public java.lang.String getVersion() { public static final int DISPLAY_NAME_FIELD_NUMBER = 18; private volatile java.lang.Object displayName_; /** + * + * *
    * Display name for an instance.
    * 
* * string display_name = 18; + * * @return The displayName. */ @java.lang.Override @@ -1717,29 +1952,29 @@ 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; } } /** + * + * *
    * Display name for an instance.
    * 
* * string display_name = 18; + * * @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 { @@ -1750,6 +1985,8 @@ public java.lang.String getDisplayName() { public static final int AVAILABLE_VERSION_FIELD_NUMBER = 19; private java.util.List availableVersion_; /** + * + * *
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1762,6 +1999,8 @@ public java.util.List getAvailableV
     return availableVersion_;
   }
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1770,11 +2009,13 @@ public java.util.List getAvailableV
    * repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAvailableVersionOrBuilderList() {
     return availableVersion_;
   }
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1787,6 +2028,8 @@ public int getAvailableVersionCount() {
     return availableVersion_.size();
   }
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1799,6 +2042,8 @@ public com.google.cloud.datafusion.v1beta1.Version getAvailableVersion(int index
     return availableVersion_.get(index);
   }
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1815,11 +2060,14 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionO
   public static final int API_ENDPOINT_FIELD_NUMBER = 20;
   private volatile java.lang.Object apiEndpoint_;
   /**
+   *
+   *
    * 
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiEndpoint. */ @java.lang.Override @@ -1828,29 +2076,29 @@ public java.lang.String getApiEndpoint() { 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(); apiEndpoint_ = s; return s; } } /** + * + * *
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiEndpointBytes() { + public com.google.protobuf.ByteString getApiEndpointBytes() { java.lang.Object ref = apiEndpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiEndpoint_ = b; return b; } else { @@ -1861,11 +2109,14 @@ public java.lang.String getApiEndpoint() { public static final int GCS_BUCKET_FIELD_NUMBER = 21; private volatile java.lang.Object gcsBucket_; /** + * + * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The gcsBucket. */ @java.lang.Override @@ -1874,29 +2125,29 @@ public java.lang.String getGcsBucket() { 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(); gcsBucket_ = s; return s; } } /** + * + * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for gcsBucket. */ @java.lang.Override - public com.google.protobuf.ByteString - getGcsBucketBytes() { + public com.google.protobuf.ByteString getGcsBucketBytes() { java.lang.Object ref = gcsBucket_; 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); gcsBucket_ = b; return b; } else { @@ -1907,6 +2158,8 @@ public java.lang.String getGcsBucket() { public static final int ACCELERATORS_FIELD_NUMBER = 22; private java.util.List accelerators_; /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1918,6 +2171,8 @@ public java.util.List getAccele return accelerators_; } /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1925,11 +2180,13 @@ public java.util.List getAccele * repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22; */ @java.lang.Override - public java.util.List + public java.util.List getAcceleratorsOrBuilderList() { return accelerators_; } /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1941,6 +2198,8 @@ public int getAcceleratorsCount() { return accelerators_.size(); } /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1952,6 +2211,8 @@ public com.google.cloud.datafusion.v1beta1.Accelerator getAccelerators(int index return accelerators_.get(index); } /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1967,11 +2228,14 @@ public com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsO public static final int P4_SERVICE_ACCOUNT_FIELD_NUMBER = 23; private volatile java.lang.Object p4ServiceAccount_; /** + * + * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The p4ServiceAccount. */ @java.lang.Override @@ -1980,29 +2244,29 @@ public java.lang.String getP4ServiceAccount() { 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(); p4ServiceAccount_ = s; return s; } } /** + * + * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for p4ServiceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getP4ServiceAccountBytes() { + public com.google.protobuf.ByteString getP4ServiceAccountBytes() { java.lang.Object ref = p4ServiceAccount_; 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); p4ServiceAccount_ = b; return b; } else { @@ -2013,11 +2277,14 @@ public java.lang.String getP4ServiceAccount() { public static final int TENANT_PROJECT_ID_FIELD_NUMBER = 24; private volatile java.lang.Object tenantProjectId_; /** + * + * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tenantProjectId. */ @java.lang.Override @@ -2026,29 +2293,29 @@ public java.lang.String getTenantProjectId() { 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(); tenantProjectId_ = s; return s; } } /** + * + * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tenantProjectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTenantProjectIdBytes() { + public com.google.protobuf.ByteString getTenantProjectIdBytes() { java.lang.Object ref = tenantProjectId_; 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); tenantProjectId_ = b; return b; } else { @@ -2059,6 +2326,8 @@ public java.lang.String getTenantProjectId() { public static final int DATAPROC_SERVICE_ACCOUNT_FIELD_NUMBER = 25; private volatile java.lang.Object dataprocServiceAccount_; /** + * + * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -2067,6 +2336,7 @@ public java.lang.String getTenantProjectId() {
    * 
* * string dataproc_service_account = 25; + * * @return The dataprocServiceAccount. */ @java.lang.Override @@ -2075,14 +2345,15 @@ public java.lang.String getDataprocServiceAccount() { 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(); dataprocServiceAccount_ = s; return s; } } /** + * + * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -2091,16 +2362,15 @@ public java.lang.String getDataprocServiceAccount() {
    * 
* * string dataproc_service_account = 25; + * * @return The bytes for dataprocServiceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataprocServiceAccountBytes() { + public com.google.protobuf.ByteString getDataprocServiceAccountBytes() { java.lang.Object ref = dataprocServiceAccount_; 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); dataprocServiceAccount_ = b; return b; } else { @@ -2111,11 +2381,14 @@ public java.lang.String getDataprocServiceAccount() { public static final int ENABLE_RBAC_FIELD_NUMBER = 26; private boolean enableRbac_; /** + * + * *
    * Option to enable granular role-based access control.
    * 
* * bool enable_rbac = 26; + * * @return The enableRbac. */ @java.lang.Override @@ -2126,12 +2399,15 @@ public boolean getEnableRbac() { public static final int CRYPTO_KEY_CONFIG_FIELD_NUMBER = 27; private com.google.cloud.datafusion.v1beta1.CryptoKeyConfig cryptoKeyConfig_; /** + * + * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27; + * * @return Whether the cryptoKeyConfig field is set. */ @java.lang.Override @@ -2139,19 +2415,26 @@ public boolean hasCryptoKeyConfig() { return cryptoKeyConfig_ != null; } /** + * + * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27; + * * @return The cryptoKeyConfig. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig getCryptoKeyConfig() { - return cryptoKeyConfig_ == null ? com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance() : cryptoKeyConfig_; + return cryptoKeyConfig_ == null + ? com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance() + : cryptoKeyConfig_; } /** + * + * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
@@ -2160,41 +2443,59 @@ public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig getCryptoKeyConfig()
    * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;
    */
   @java.lang.Override
-  public com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder() {
+  public com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder
+      getCryptoKeyConfigOrBuilder() {
     return getCryptoKeyConfig();
   }
 
   public static final int DISABLED_REASON_FIELD_NUMBER = 28;
   private java.util.List disabledReason_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-      java.lang.Integer, com.google.cloud.datafusion.v1beta1.Instance.DisabledReason> disabledReason_converter_ =
+          java.lang.Integer, com.google.cloud.datafusion.v1beta1.Instance.DisabledReason>
+      disabledReason_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.datafusion.v1beta1.Instance.DisabledReason>() {
-            public com.google.cloud.datafusion.v1beta1.Instance.DisabledReason convert(java.lang.Integer from) {
+            public com.google.cloud.datafusion.v1beta1.Instance.DisabledReason convert(
+                java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.datafusion.v1beta1.Instance.DisabledReason result = com.google.cloud.datafusion.v1beta1.Instance.DisabledReason.valueOf(from);
-              return result == null ? com.google.cloud.datafusion.v1beta1.Instance.DisabledReason.UNRECOGNIZED : result;
+              com.google.cloud.datafusion.v1beta1.Instance.DisabledReason result =
+                  com.google.cloud.datafusion.v1beta1.Instance.DisabledReason.valueOf(from);
+              return result == null
+                  ? com.google.cloud.datafusion.v1beta1.Instance.DisabledReason.UNRECOGNIZED
+                  : result;
             }
           };
   /**
+   *
+   *
    * 
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the disabledReason. */ @java.lang.Override - public java.util.List getDisabledReasonList() { + public java.util.List + getDisabledReasonList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datafusion.v1beta1.Instance.DisabledReason>(disabledReason_, disabledReason_converter_); + java.lang.Integer, com.google.cloud.datafusion.v1beta1.Instance.DisabledReason>( + disabledReason_, disabledReason_converter_); } /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of disabledReason. */ @java.lang.Override @@ -2202,11 +2503,16 @@ public int getDisabledReasonCount() { return disabledReason_.size(); } /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The disabledReason at the given index. */ @@ -2215,24 +2521,33 @@ public com.google.cloud.datafusion.v1beta1.Instance.DisabledReason getDisabledRe return disabledReason_converter_.convert(disabledReason_.get(index)); } /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for disabledReason. */ @java.lang.Override - public java.util.List - getDisabledReasonValueList() { + public java.util.List getDisabledReasonValueList() { return disabledReason_; } /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. */ @@ -2240,9 +2555,11 @@ public com.google.cloud.datafusion.v1beta1.Instance.DisabledReason getDisabledRe public int getDisabledReasonValue(int index) { return disabledReason_.get(index); } + private int disabledReasonMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2254,8 +2571,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -2278,25 +2594,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (networkConfig_ != null) { output.writeMessage(7, getNetworkConfig()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 8); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetOptions(), - OptionsDefaultEntryHolder.defaultEntry, - 9); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetOptions(), OptionsDefaultEntryHolder.defaultEntry, 9); if (createTime_ != null) { output.writeMessage(10, getCreateTime()); } if (updateTime_ != null) { output.writeMessage(11, getUpdateTime()); } - if (state_ != com.google.cloud.datafusion.v1beta1.Instance.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.datafusion.v1beta1.Instance.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(12, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateMessage_)) { @@ -2367,56 +2676,50 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (type_ != com.google.cloud.datafusion.v1beta1.Instance.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); } if (enableStackdriverLogging_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, enableStackdriverLogging_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, enableStackdriverLogging_); } if (enableStackdriverMonitoring_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, enableStackdriverMonitoring_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableStackdriverMonitoring_); } if (privateInstance_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, privateInstance_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, privateInstance_); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getNetworkConfig()); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, labels__); - } - for (java.util.Map.Entry entry - : internalGetOptions().getMap().entrySet()) { - com.google.protobuf.MapEntry - options__ = OptionsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, options__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getNetworkConfig()); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, labels__); + } + for (java.util.Map.Entry entry : + internalGetOptions().getMap().entrySet()) { + com.google.protobuf.MapEntry options__ = + OptionsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, options__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); } - if (state_ != com.google.cloud.datafusion.v1beta1.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(12, state_); + if (state_ + != com.google.cloud.datafusion.v1beta1.Instance.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, stateMessage_); @@ -2437,8 +2740,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, displayName_); } for (int i = 0; i < availableVersion_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, availableVersion_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(19, availableVersion_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiEndpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, apiEndpoint_); @@ -2447,8 +2750,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, gcsBucket_); } for (int i = 0; i < accelerators_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, accelerators_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, accelerators_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(p4ServiceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, p4ServiceAccount_); @@ -2460,24 +2762,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, dataprocServiceAccount_); } if (enableRbac_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(26, enableRbac_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(26, enableRbac_); } if (cryptoKeyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, getCryptoKeyConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getCryptoKeyConfig()); } { int dataSize = 0; for (int i = 0; i < disabledReason_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(disabledReason_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(disabledReason_.get(i)); } size += dataSize; - if (!getDisabledReasonList().isEmpty()) { size += 2; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }disabledReasonMemoizedSerializedSize = dataSize; + if (!getDisabledReasonList().isEmpty()) { + size += 2; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + disabledReasonMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2487,76 +2788,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.datafusion.v1beta1.Instance)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.Instance other = (com.google.cloud.datafusion.v1beta1.Instance) obj; + com.google.cloud.datafusion.v1beta1.Instance other = + (com.google.cloud.datafusion.v1beta1.Instance) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (type_ != other.type_) return false; - if (getEnableStackdriverLogging() - != other.getEnableStackdriverLogging()) return false; - if (getEnableStackdriverMonitoring() - != other.getEnableStackdriverMonitoring()) return false; - if (getPrivateInstance() - != other.getPrivateInstance()) return false; + if (getEnableStackdriverLogging() != other.getEnableStackdriverLogging()) return false; + if (getEnableStackdriverMonitoring() != other.getEnableStackdriverMonitoring()) return false; + if (getPrivateInstance() != other.getPrivateInstance()) return false; if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig() - .equals(other.getNetworkConfig())) return false; + if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!internalGetOptions().equals( - other.internalGetOptions())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetOptions().equals(other.internalGetOptions())) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (state_ != other.state_) return false; - if (!getStateMessage() - .equals(other.getStateMessage())) return false; - if (!getServiceEndpoint() - .equals(other.getServiceEndpoint())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getAvailableVersionList() - .equals(other.getAvailableVersionList())) return false; - if (!getApiEndpoint() - .equals(other.getApiEndpoint())) return false; - if (!getGcsBucket() - .equals(other.getGcsBucket())) return false; - if (!getAcceleratorsList() - .equals(other.getAcceleratorsList())) return false; - if (!getP4ServiceAccount() - .equals(other.getP4ServiceAccount())) return false; - if (!getTenantProjectId() - .equals(other.getTenantProjectId())) return false; - if (!getDataprocServiceAccount() - .equals(other.getDataprocServiceAccount())) return false; - if (getEnableRbac() - != other.getEnableRbac()) return false; + if (!getStateMessage().equals(other.getStateMessage())) return false; + if (!getServiceEndpoint().equals(other.getServiceEndpoint())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getAvailableVersionList().equals(other.getAvailableVersionList())) return false; + if (!getApiEndpoint().equals(other.getApiEndpoint())) return false; + if (!getGcsBucket().equals(other.getGcsBucket())) return false; + if (!getAcceleratorsList().equals(other.getAcceleratorsList())) return false; + if (!getP4ServiceAccount().equals(other.getP4ServiceAccount())) return false; + if (!getTenantProjectId().equals(other.getTenantProjectId())) return false; + if (!getDataprocServiceAccount().equals(other.getDataprocServiceAccount())) return false; + if (getEnableRbac() != other.getEnableRbac()) return false; if (hasCryptoKeyConfig() != other.hasCryptoKeyConfig()) return false; if (hasCryptoKeyConfig()) { - if (!getCryptoKeyConfig() - .equals(other.getCryptoKeyConfig())) return false; + if (!getCryptoKeyConfig().equals(other.getCryptoKeyConfig())) return false; } if (!disabledReason_.equals(other.disabledReason_)) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -2577,14 +2854,11 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableStackdriverLogging()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableStackdriverLogging()); hash = (37 * hash) + ENABLE_STACKDRIVER_MONITORING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableStackdriverMonitoring()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableStackdriverMonitoring()); hash = (37 * hash) + PRIVATE_INSTANCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPrivateInstance()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPrivateInstance()); if (hasNetworkConfig()) { hash = (37 * hash) + NETWORK_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getNetworkConfig().hashCode(); @@ -2638,8 +2912,7 @@ public int hashCode() { hash = (37 * hash) + DATAPROC_SERVICE_ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getDataprocServiceAccount().hashCode(); hash = (37 * hash) + ENABLE_RBAC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableRbac()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableRbac()); if (hasCryptoKeyConfig()) { hash = (37 * hash) + CRYPTO_KEY_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getCryptoKeyConfig().hashCode(); @@ -2653,144 +2926,151 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1beta1.Instance parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1beta1.Instance parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.Instance parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.Instance parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance 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 Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Instance} */ - 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.datafusion.v1beta1.Instance) com.google.cloud.datafusion.v1beta1.InstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 8: return internalGetLabels(); case 9: return internalGetOptions(); 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 8: return internalGetMutableLabels(); case 9: return internalGetMutableOptions(); 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Instance.class, com.google.cloud.datafusion.v1beta1.Instance.Builder.class); + com.google.cloud.datafusion.v1beta1.Instance.class, + com.google.cloud.datafusion.v1beta1.Instance.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.Instance.newBuilder() @@ -2798,18 +3078,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) { getAvailableVersionFieldBuilder(); getAcceleratorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -2895,9 +3175,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor; } @java.lang.Override @@ -2916,7 +3196,8 @@ public com.google.cloud.datafusion.v1beta1.Instance build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.Instance buildPartial() { - com.google.cloud.datafusion.v1beta1.Instance result = new com.google.cloud.datafusion.v1beta1.Instance(this); + com.google.cloud.datafusion.v1beta1.Instance result = + new com.google.cloud.datafusion.v1beta1.Instance(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.description_ = description_; @@ -2992,38 +3273,39 @@ public com.google.cloud.datafusion.v1beta1.Instance 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.datafusion.v1beta1.Instance) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.Instance)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.Instance) other); } else { super.mergeFrom(other); return this; @@ -3055,10 +3337,8 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.Instance other) { if (other.hasNetworkConfig()) { mergeNetworkConfig(other.getNetworkConfig()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); - internalGetMutableOptions().mergeFrom( - other.internalGetOptions()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableOptions().mergeFrom(other.internalGetOptions()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -3110,9 +3390,10 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.Instance other) { availableVersionBuilder_ = null; availableVersion_ = other.availableVersion_; bitField0_ = (bitField0_ & ~0x00000004); - availableVersionBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAvailableVersionFieldBuilder() : null; + availableVersionBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAvailableVersionFieldBuilder() + : null; } else { availableVersionBuilder_.addAllMessages(other.availableVersion_); } @@ -3144,9 +3425,10 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.Instance other) { acceleratorsBuilder_ = null; accelerators_ = other.accelerators_; bitField0_ = (bitField0_ & ~0x00000008); - acceleratorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAcceleratorsFieldBuilder() : null; + acceleratorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAcceleratorsFieldBuilder() + : null; } else { acceleratorsBuilder_.addAllMessages(other.accelerators_); } @@ -3208,23 +3490,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -3233,21 +3520,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -3255,57 +3545,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; } /** + * + * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The name of this instance is in the form of
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -3313,18 +3616,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * A description of this instance.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -3333,20 +3638,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of this instance.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -3354,54 +3660,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of this instance.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * A description of this instance.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * A description of this instance.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -3409,51 +3722,75 @@ public Builder setDescriptionBytes( private int type_ = 0; /** + * + * *
      * Required. Instance type.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. Instance type.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @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; } /** + * + * *
      * Required. Instance type.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.Instance.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Instance.Type result = com.google.cloud.datafusion.v1beta1.Instance.Type.valueOf(type_); - return result == null ? com.google.cloud.datafusion.v1beta1.Instance.Type.UNRECOGNIZED : result; + com.google.cloud.datafusion.v1beta1.Instance.Type result = + com.google.cloud.datafusion.v1beta1.Instance.Type.valueOf(type_); + return result == null + ? com.google.cloud.datafusion.v1beta1.Instance.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Instance type.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -3461,33 +3798,41 @@ public Builder setType(com.google.cloud.datafusion.v1beta1.Instance.Type value) if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. Instance type.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private boolean enableStackdriverLogging_ ; + private boolean enableStackdriverLogging_; /** + * + * *
      * Option to enable Stackdriver Logging.
      * 
* * bool enable_stackdriver_logging = 4; + * * @return The enableStackdriverLogging. */ @java.lang.Override @@ -3495,42 +3840,51 @@ public boolean getEnableStackdriverLogging() { return enableStackdriverLogging_; } /** + * + * *
      * Option to enable Stackdriver Logging.
      * 
* * bool enable_stackdriver_logging = 4; + * * @param value The enableStackdriverLogging to set. * @return This builder for chaining. */ public Builder setEnableStackdriverLogging(boolean value) { - + enableStackdriverLogging_ = value; onChanged(); return this; } /** + * + * *
      * Option to enable Stackdriver Logging.
      * 
* * bool enable_stackdriver_logging = 4; + * * @return This builder for chaining. */ public Builder clearEnableStackdriverLogging() { - + enableStackdriverLogging_ = false; onChanged(); return this; } - private boolean enableStackdriverMonitoring_ ; + private boolean enableStackdriverMonitoring_; /** + * + * *
      * Option to enable Stackdriver Monitoring.
      * 
* * bool enable_stackdriver_monitoring = 5; + * * @return The enableStackdriverMonitoring. */ @java.lang.Override @@ -3538,37 +3892,45 @@ public boolean getEnableStackdriverMonitoring() { return enableStackdriverMonitoring_; } /** + * + * *
      * Option to enable Stackdriver Monitoring.
      * 
* * bool enable_stackdriver_monitoring = 5; + * * @param value The enableStackdriverMonitoring to set. * @return This builder for chaining. */ public Builder setEnableStackdriverMonitoring(boolean value) { - + enableStackdriverMonitoring_ = value; onChanged(); return this; } /** + * + * *
      * Option to enable Stackdriver Monitoring.
      * 
* * bool enable_stackdriver_monitoring = 5; + * * @return This builder for chaining. */ public Builder clearEnableStackdriverMonitoring() { - + enableStackdriverMonitoring_ = false; onChanged(); return this; } - private boolean privateInstance_ ; + private boolean privateInstance_; /** + * + * *
      * Specifies whether the Data Fusion instance should be private. If set to
      * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -3576,6 +3938,7 @@ public Builder clearEnableStackdriverMonitoring() {
      * 
* * bool private_instance = 6; + * * @return The privateInstance. */ @java.lang.Override @@ -3583,6 +3946,8 @@ public boolean getPrivateInstance() { return privateInstance_; } /** + * + * *
      * Specifies whether the Data Fusion instance should be private. If set to
      * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -3590,16 +3955,19 @@ public boolean getPrivateInstance() {
      * 
* * bool private_instance = 6; + * * @param value The privateInstance to set. * @return This builder for chaining. */ public Builder setPrivateInstance(boolean value) { - + privateInstance_ = value; onChanged(); return this; } /** + * + * *
      * Specifies whether the Data Fusion instance should be private. If set to
      * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -3607,10 +3975,11 @@ public Builder setPrivateInstance(boolean value) {
      * 
* * bool private_instance = 6; + * * @return This builder for chaining. */ public Builder clearPrivateInstance() { - + privateInstance_ = false; onChanged(); return this; @@ -3618,36 +3987,49 @@ public Builder clearPrivateInstance() { private com.google.cloud.datafusion.v1beta1.NetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.NetworkConfig, com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder, com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder> networkConfigBuilder_; + com.google.cloud.datafusion.v1beta1.NetworkConfig, + com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder, + com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder> + networkConfigBuilder_; /** + * + * *
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
      * 
* * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7; + * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return networkConfigBuilder_ != null || networkConfig_ != null; } /** + * + * *
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
      * 
* * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7; + * * @return The networkConfig. */ public com.google.cloud.datafusion.v1beta1.NetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null ? com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance() + : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** + * + * *
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3669,6 +4051,8 @@ public Builder setNetworkConfig(com.google.cloud.datafusion.v1beta1.NetworkConfi
       return this;
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3688,6 +4072,8 @@ public Builder setNetworkConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3699,7 +4085,9 @@ public Builder mergeNetworkConfig(com.google.cloud.datafusion.v1beta1.NetworkCon
       if (networkConfigBuilder_ == null) {
         if (networkConfig_ != null) {
           networkConfig_ =
-            com.google.cloud.datafusion.v1beta1.NetworkConfig.newBuilder(networkConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.datafusion.v1beta1.NetworkConfig.newBuilder(networkConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           networkConfig_ = value;
         }
@@ -3711,6 +4099,8 @@ public Builder mergeNetworkConfig(com.google.cloud.datafusion.v1beta1.NetworkCon
       return this;
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3730,6 +4120,8 @@ public Builder clearNetworkConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3738,11 +4130,13 @@ public Builder clearNetworkConfig() {
      * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7;
      */
     public com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder getNetworkConfigBuilder() {
-      
+
       onChanged();
       return getNetworkConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3754,11 +4148,14 @@ public com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder getNetworkConf
       if (networkConfigBuilder_ != null) {
         return networkConfigBuilder_.getMessageOrBuilder();
       } else {
-        return networkConfig_ == null ?
-            com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance() : networkConfig_;
+        return networkConfig_ == null
+            ? com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance()
+            : networkConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3767,35 +4164,37 @@ public com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder getNetworkConf
      * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datafusion.v1beta1.NetworkConfig, com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder, com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder> 
+            com.google.cloud.datafusion.v1beta1.NetworkConfig,
+            com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder,
+            com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder>
         getNetworkConfigFieldBuilder() {
       if (networkConfigBuilder_ == null) {
-        networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datafusion.v1beta1.NetworkConfig, com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder, com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder>(
-                getNetworkConfig(),
-                getParentForChildren(),
-                isClean());
+        networkConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datafusion.v1beta1.NetworkConfig,
+                com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder,
+                com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder>(
+                getNetworkConfig(), getParentForChildren(), isClean());
         networkConfig_ = null;
       }
       return networkConfigBuilder_;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> labels_;
-    private com.google.protobuf.MapField
-    internalGetLabels() {
+    private com.google.protobuf.MapField labels_;
+
+    private com.google.protobuf.MapField internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableLabels() {
-      onChanged();;
+        internalGetMutableLabels() {
+      onChanged();
+      ;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -3807,6 +4206,8 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -3815,22 +4216,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 8;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -3840,11 +4241,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -3854,16 +4256,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -3873,12 +4276,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 8;
      */
     @java.lang.Override
-
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3886,11 +4288,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -3899,23 +4302,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 8;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -3924,19 +4325,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 8;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for instance to use to annotate any related underlying
      * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -3945,30 +4347,26 @@ public Builder putLabels(
      *
      * map<string, string> labels = 8;
      */
-
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       return this;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> options_;
-    private com.google.protobuf.MapField
-    internalGetOptions() {
+    private com.google.protobuf.MapField options_;
+
+    private com.google.protobuf.MapField internalGetOptions() {
       if (options_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            OptionsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(OptionsDefaultEntryHolder.defaultEntry);
       }
       return options_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableOptions() {
-      onChanged();;
+        internalGetMutableOptions() {
+      onChanged();
+      ;
       if (options_ == null) {
-        options_ = com.google.protobuf.MapField.newMapField(
-            OptionsDefaultEntryHolder.defaultEntry);
+        options_ = com.google.protobuf.MapField.newMapField(OptionsDefaultEntryHolder.defaultEntry);
       }
       if (!options_.isMutable()) {
         options_ = options_.copy();
@@ -3980,6 +4378,8 @@ public int getOptionsCount() {
       return internalGetOptions().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -3987,22 +4387,22 @@ public int getOptionsCount() {
      *
      * map<string, string> options = 9;
      */
-
     @java.lang.Override
-    public boolean containsOptions(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsOptions(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetOptions().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getOptionsMap()} instead.
-     */
+    /** Use {@link #getOptionsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getOptions() {
       return getOptionsMap();
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4011,11 +4411,12 @@ public java.util.Map getOptions() {
      * map<string, string> options = 9;
      */
     @java.lang.Override
-
     public java.util.Map getOptionsMap() {
       return internalGetOptions().getMap();
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4024,16 +4425,17 @@ public java.util.Map getOptionsMap() {
      * map<string, string> options = 9;
      */
     @java.lang.Override
-
     public java.lang.String getOptionsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetOptions().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetOptions().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4042,12 +4444,11 @@ public java.lang.String getOptionsOrDefault(
      * map<string, string> options = 9;
      */
     @java.lang.Override
-
-    public java.lang.String getOptionsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetOptions().getMap();
+    public java.lang.String getOptionsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetOptions().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4055,11 +4456,12 @@ public java.lang.String getOptionsOrThrow(
     }
 
     public Builder clearOptions() {
-      internalGetMutableOptions().getMutableMap()
-          .clear();
+      internalGetMutableOptions().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4067,23 +4469,21 @@ public Builder clearOptions() {
      *
      * map<string, string> options = 9;
      */
-
-    public Builder removeOptions(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableOptions().getMutableMap()
-          .remove(key);
+    public Builder removeOptions(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableOptions().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableOptions() {
+    public java.util.Map getMutableOptions() {
       return internalGetMutableOptions().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4091,19 +4491,20 @@ public Builder removeOptions(
      *
      * map<string, string> options = 9;
      */
-    public Builder putOptions(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putOptions(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");
+      }
 
-      internalGetMutableOptions().getMutableMap()
-          .put(key, value);
+      internalGetMutableOptions().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4111,49 +4512,65 @@ public Builder putOptions(
      *
      * map<string, string> options = 9;
      */
-
-    public Builder putAllOptions(
-        java.util.Map values) {
-      internalGetMutableOptions().getMutableMap()
-          .putAll(values);
+    public Builder putAllOptions(java.util.Map values) {
+      internalGetMutableOptions().getMutableMap().putAll(values);
       return this;
     }
 
     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_;
     /**
+     *
+     *
      * 
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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(); } } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -4169,14 +4586,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - 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(); @@ -4187,17 +4607,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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; } @@ -4209,11 +4633,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -4227,48 +4655,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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_; } } /** + * + * *
      * Output only. The time the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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_; @@ -4276,39 +4720,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -4324,14 +4787,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -4342,17 +4808,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -4364,11 +4834,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -4382,48 +4856,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The time the instance was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4431,51 +4921,75 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. The current state of this Data Fusion instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.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 this Data Fusion instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.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 this Data Fusion instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Instance.State result = com.google.cloud.datafusion.v1beta1.Instance.State.valueOf(state_); - return result == null ? com.google.cloud.datafusion.v1beta1.Instance.State.UNRECOGNIZED : result; + com.google.cloud.datafusion.v1beta1.Instance.State result = + com.google.cloud.datafusion.v1beta1.Instance.State.valueOf(state_); + return result == null + ? com.google.cloud.datafusion.v1beta1.Instance.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The current state of this Data Fusion instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -4483,21 +4997,26 @@ public Builder setState(com.google.cloud.datafusion.v1beta1.Instance.State value if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The current state of this Data Fusion instance.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -4505,19 +5024,21 @@ public Builder clearState() { private java.lang.Object stateMessage_ = ""; /** + * + * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateMessage. */ public java.lang.String getStateMessage() { java.lang.Object ref = stateMessage_; 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(); stateMessage_ = s; return s; @@ -4526,21 +5047,22 @@ public java.lang.String getStateMessage() { } } /** + * + * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateMessage. */ - public com.google.protobuf.ByteString - getStateMessageBytes() { + public com.google.protobuf.ByteString getStateMessageBytes() { java.lang.Object ref = stateMessage_; 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); stateMessage_ = b; return b; } else { @@ -4548,57 +5070,64 @@ public java.lang.String getStateMessage() { } } /** + * + * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessage( - java.lang.String value) { + public Builder setStateMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateMessage_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStateMessage() { - + stateMessage_ = getDefaultInstance().getStateMessage(); onChanged(); return this; } /** + * + * *
      * Output only. Additional information about the current state of this Data
      * Fusion instance if available.
      * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateMessage_ = value; onChanged(); return this; @@ -4606,18 +5135,20 @@ public Builder setStateMessageBytes( private java.lang.Object serviceEndpoint_ = ""; /** + * + * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceEndpoint. */ public java.lang.String getServiceEndpoint() { java.lang.Object ref = serviceEndpoint_; 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(); serviceEndpoint_ = s; return s; @@ -4626,20 +5157,21 @@ public java.lang.String getServiceEndpoint() { } } /** + * + * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceEndpoint. */ - public com.google.protobuf.ByteString - getServiceEndpointBytes() { + public com.google.protobuf.ByteString getServiceEndpointBytes() { java.lang.Object ref = serviceEndpoint_; 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); serviceEndpoint_ = b; return b; } else { @@ -4647,54 +5179,61 @@ public java.lang.String getServiceEndpoint() { } } /** + * + * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The serviceEndpoint to set. * @return This builder for chaining. */ - public Builder setServiceEndpoint( - java.lang.String value) { + public Builder setServiceEndpoint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceEndpoint_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearServiceEndpoint() { - + serviceEndpoint_ = getDefaultInstance().getServiceEndpoint(); onChanged(); return this; } /** + * + * *
      * Output only. Endpoint on which the Data Fusion UI is accessible.
      * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for serviceEndpoint to set. * @return This builder for chaining. */ - public Builder setServiceEndpointBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceEndpointBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceEndpoint_ = value; onChanged(); return this; @@ -4702,19 +5241,21 @@ public Builder setServiceEndpointBytes( private java.lang.Object zone_ = ""; /** + * + * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; + * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -4723,21 +5264,22 @@ public java.lang.String getZone() { } } /** + * + * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; + * * @return The bytes for zone. */ - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -4745,57 +5287,64 @@ public java.lang.String getZone() { } } /** + * + * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; + * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone( - java.lang.String value) { + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; + * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Name of the zone in which the Data Fusion instance will be created. Only
      * DEVELOPER instances use this field.
      * 
* * string zone = 15; + * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -4803,18 +5352,20 @@ public Builder setZoneBytes( private java.lang.Object version_ = ""; /** + * + * *
      * Current version of Data Fusion.
      * 
* * string version = 16; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -4823,20 +5374,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Current version of Data Fusion.
      * 
* * string version = 16; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -4844,54 +5396,61 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Current version of Data Fusion.
      * 
* * string version = 16; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Current version of Data Fusion.
      * 
* * string version = 16; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * Current version of Data Fusion.
      * 
* * string version = 16; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -4899,20 +5458,25 @@ public Builder setVersionBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @return The serviceAccount. */ - @java.lang.Deprecated public java.lang.String getServiceAccount() { + @java.lang.Deprecated + public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -4921,22 +5485,26 @@ public Builder setVersionBytes( } } /** + * + * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getServiceAccountBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -4944,60 +5512,76 @@ public Builder setVersionBytes( } } /** + * + * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @param value The serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setServiceAccount( - java.lang.String value) { + @java.lang.Deprecated + public Builder setServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearServiceAccount() { - + @java.lang.Deprecated + public Builder clearServiceAccount() { + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** + * + * *
      * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
      * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -5005,18 +5589,20 @@ public Builder setVersionBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Display name for an instance.
      * 
* * string display_name = 18; + * * @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; @@ -5025,20 +5611,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for an instance.
      * 
* * string display_name = 18; + * * @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 { @@ -5046,72 +5633,86 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for an instance.
      * 
* * string display_name = 18; + * * @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; } /** + * + * *
      * Display name for an instance.
      * 
* * string display_name = 18; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Display name for an instance.
      * 
* * string display_name = 18; + * * @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 java.util.List availableVersion_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAvailableVersionIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - availableVersion_ = new java.util.ArrayList(availableVersion_); + availableVersion_ = + new java.util.ArrayList(availableVersion_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Version, com.google.cloud.datafusion.v1beta1.Version.Builder, com.google.cloud.datafusion.v1beta1.VersionOrBuilder> availableVersionBuilder_; + com.google.cloud.datafusion.v1beta1.Version, + com.google.cloud.datafusion.v1beta1.Version.Builder, + com.google.cloud.datafusion.v1beta1.VersionOrBuilder> + availableVersionBuilder_; /** + * + * *
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5127,6 +5728,8 @@ public java.util.List getAvailableV
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5142,6 +5745,8 @@ public int getAvailableVersionCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5157,6 +5762,8 @@ public com.google.cloud.datafusion.v1beta1.Version getAvailableVersion(int index
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5179,6 +5786,8 @@ public Builder setAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5198,6 +5807,8 @@ public Builder setAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5219,6 +5830,8 @@ public Builder addAvailableVersion(com.google.cloud.datafusion.v1beta1.Version v
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5241,6 +5854,8 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5260,6 +5875,8 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5279,6 +5896,8 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5290,8 +5909,7 @@ public Builder addAllAvailableVersion(
         java.lang.Iterable values) {
       if (availableVersionBuilder_ == null) {
         ensureAvailableVersionIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, availableVersion_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableVersion_);
         onChanged();
       } else {
         availableVersionBuilder_.addAllMessages(values);
@@ -5299,6 +5917,8 @@ public Builder addAllAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5317,6 +5937,8 @@ public Builder clearAvailableVersion() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5335,6 +5957,8 @@ public Builder removeAvailableVersion(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5347,6 +5971,8 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder getAvailableVersionBu
       return getAvailableVersionFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5357,11 +5983,14 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder getAvailableVersionBu
     public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionOrBuilder(
         int index) {
       if (availableVersionBuilder_ == null) {
-        return availableVersion_.get(index);  } else {
+        return availableVersion_.get(index);
+      } else {
         return availableVersionBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5369,8 +5998,8 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionO
      *
      * repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
      */
-    public java.util.List 
-         getAvailableVersionOrBuilderList() {
+    public java.util.List
+        getAvailableVersionOrBuilderList() {
       if (availableVersionBuilder_ != null) {
         return availableVersionBuilder_.getMessageOrBuilderList();
       } else {
@@ -5378,6 +6007,8 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionO
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5386,10 +6017,12 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionO
      * repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
      */
     public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionBuilder() {
-      return getAvailableVersionFieldBuilder().addBuilder(
-          com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance());
+      return getAvailableVersionFieldBuilder()
+          .addBuilder(com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5399,10 +6032,12 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionBu
      */
     public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionBuilder(
         int index) {
-      return getAvailableVersionFieldBuilder().addBuilder(
-          index, com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance());
+      return getAvailableVersionFieldBuilder()
+          .addBuilder(index, com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5410,16 +6045,22 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionBu
      *
      * repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
      */
-    public java.util.List 
-         getAvailableVersionBuilderList() {
+    public java.util.List
+        getAvailableVersionBuilderList() {
       return getAvailableVersionFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datafusion.v1beta1.Version, com.google.cloud.datafusion.v1beta1.Version.Builder, com.google.cloud.datafusion.v1beta1.VersionOrBuilder> 
+            com.google.cloud.datafusion.v1beta1.Version,
+            com.google.cloud.datafusion.v1beta1.Version.Builder,
+            com.google.cloud.datafusion.v1beta1.VersionOrBuilder>
         getAvailableVersionFieldBuilder() {
       if (availableVersionBuilder_ == null) {
-        availableVersionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datafusion.v1beta1.Version, com.google.cloud.datafusion.v1beta1.Version.Builder, com.google.cloud.datafusion.v1beta1.VersionOrBuilder>(
+        availableVersionBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.datafusion.v1beta1.Version,
+                com.google.cloud.datafusion.v1beta1.Version.Builder,
+                com.google.cloud.datafusion.v1beta1.VersionOrBuilder>(
                 availableVersion_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -5431,18 +6072,20 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionBu
 
     private java.lang.Object apiEndpoint_ = "";
     /**
+     *
+     *
      * 
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiEndpoint. */ public java.lang.String getApiEndpoint() { java.lang.Object ref = apiEndpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiEndpoint_ = s; return s; @@ -5451,20 +6094,21 @@ public java.lang.String getApiEndpoint() { } } /** + * + * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiEndpoint. */ - public com.google.protobuf.ByteString - getApiEndpointBytes() { + public com.google.protobuf.ByteString getApiEndpointBytes() { java.lang.Object ref = apiEndpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiEndpoint_ = b; return b; } else { @@ -5472,54 +6116,61 @@ public java.lang.String getApiEndpoint() { } } /** + * + * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The apiEndpoint to set. * @return This builder for chaining. */ - public Builder setApiEndpoint( - java.lang.String value) { + public Builder setApiEndpoint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiEndpoint_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearApiEndpoint() { - + apiEndpoint_ = getDefaultInstance().getApiEndpoint(); onChanged(); return this; } /** + * + * *
      * Output only. Endpoint on which the REST APIs is accessible.
      * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for apiEndpoint to set. * @return This builder for chaining. */ - public Builder setApiEndpointBytes( - com.google.protobuf.ByteString value) { + public Builder setApiEndpointBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiEndpoint_ = value; onChanged(); return this; @@ -5527,18 +6178,20 @@ public Builder setApiEndpointBytes( private java.lang.Object gcsBucket_ = ""; /** + * + * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The gcsBucket. */ public java.lang.String getGcsBucket() { java.lang.Object ref = gcsBucket_; 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(); gcsBucket_ = s; return s; @@ -5547,20 +6200,21 @@ public java.lang.String getGcsBucket() { } } /** + * + * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for gcsBucket. */ - public com.google.protobuf.ByteString - getGcsBucketBytes() { + public com.google.protobuf.ByteString getGcsBucketBytes() { java.lang.Object ref = gcsBucket_; 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); gcsBucket_ = b; return b; } else { @@ -5568,72 +6222,86 @@ public java.lang.String getGcsBucket() { } } /** + * + * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The gcsBucket to set. * @return This builder for chaining. */ - public Builder setGcsBucket( - java.lang.String value) { + public Builder setGcsBucket(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gcsBucket_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearGcsBucket() { - + gcsBucket_ = getDefaultInstance().getGcsBucket(); onChanged(); return this; } /** + * + * *
      * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
      * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for gcsBucket to set. * @return This builder for chaining. */ - public Builder setGcsBucketBytes( - com.google.protobuf.ByteString value) { + public Builder setGcsBucketBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gcsBucket_ = value; onChanged(); return this; } private java.util.List accelerators_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAcceleratorsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - accelerators_ = new java.util.ArrayList(accelerators_); + accelerators_ = + new java.util.ArrayList(accelerators_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Accelerator, com.google.cloud.datafusion.v1beta1.Accelerator.Builder, com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder> acceleratorsBuilder_; + com.google.cloud.datafusion.v1beta1.Accelerator, + com.google.cloud.datafusion.v1beta1.Accelerator.Builder, + com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder> + acceleratorsBuilder_; /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5648,6 +6316,8 @@ public java.util.List getAccele } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5662,6 +6332,8 @@ public int getAcceleratorsCount() { } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5676,6 +6348,8 @@ public com.google.cloud.datafusion.v1beta1.Accelerator getAccelerators(int index } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5697,6 +6371,8 @@ public Builder setAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5715,6 +6391,8 @@ public Builder setAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5735,6 +6413,8 @@ public Builder addAccelerators(com.google.cloud.datafusion.v1beta1.Accelerator v return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5756,6 +6436,8 @@ public Builder addAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5774,6 +6456,8 @@ public Builder addAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5792,6 +6476,8 @@ public Builder addAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5802,8 +6488,7 @@ public Builder addAllAccelerators( java.lang.Iterable values) { if (acceleratorsBuilder_ == null) { ensureAcceleratorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, accelerators_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accelerators_); onChanged(); } else { acceleratorsBuilder_.addAllMessages(values); @@ -5811,6 +6496,8 @@ public Builder addAllAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5828,6 +6515,8 @@ public Builder clearAccelerators() { return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5845,6 +6534,8 @@ public Builder removeAccelerators(int index) { return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5856,6 +6547,8 @@ public com.google.cloud.datafusion.v1beta1.Accelerator.Builder getAcceleratorsBu return getAcceleratorsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5865,19 +6558,22 @@ public com.google.cloud.datafusion.v1beta1.Accelerator.Builder getAcceleratorsBu public com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsOrBuilder( int index) { if (acceleratorsBuilder_ == null) { - return accelerators_.get(index); } else { + return accelerators_.get(index); + } else { return acceleratorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22; */ - public java.util.List - getAcceleratorsOrBuilderList() { + public java.util.List + getAcceleratorsOrBuilderList() { if (acceleratorsBuilder_ != null) { return acceleratorsBuilder_.getMessageOrBuilderList(); } else { @@ -5885,6 +6581,8 @@ public com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsO } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5892,10 +6590,12 @@ public com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsO * repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22; */ public com.google.cloud.datafusion.v1beta1.Accelerator.Builder addAcceleratorsBuilder() { - return getAcceleratorsFieldBuilder().addBuilder( - com.google.cloud.datafusion.v1beta1.Accelerator.getDefaultInstance()); + return getAcceleratorsFieldBuilder() + .addBuilder(com.google.cloud.datafusion.v1beta1.Accelerator.getDefaultInstance()); } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5904,30 +6604,35 @@ public com.google.cloud.datafusion.v1beta1.Accelerator.Builder addAcceleratorsBu */ public com.google.cloud.datafusion.v1beta1.Accelerator.Builder addAcceleratorsBuilder( int index) { - return getAcceleratorsFieldBuilder().addBuilder( - index, com.google.cloud.datafusion.v1beta1.Accelerator.getDefaultInstance()); + return getAcceleratorsFieldBuilder() + .addBuilder(index, com.google.cloud.datafusion.v1beta1.Accelerator.getDefaultInstance()); } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22; */ - public java.util.List - getAcceleratorsBuilderList() { + public java.util.List + getAcceleratorsBuilderList() { return getAcceleratorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Accelerator, com.google.cloud.datafusion.v1beta1.Accelerator.Builder, com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder> + com.google.cloud.datafusion.v1beta1.Accelerator, + com.google.cloud.datafusion.v1beta1.Accelerator.Builder, + com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder> getAcceleratorsFieldBuilder() { if (acceleratorsBuilder_ == null) { - acceleratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Accelerator, com.google.cloud.datafusion.v1beta1.Accelerator.Builder, com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder>( - accelerators_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + acceleratorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.Accelerator, + com.google.cloud.datafusion.v1beta1.Accelerator.Builder, + com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder>( + accelerators_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); accelerators_ = null; } return acceleratorsBuilder_; @@ -5935,18 +6640,20 @@ public com.google.cloud.datafusion.v1beta1.Accelerator.Builder addAcceleratorsBu private java.lang.Object p4ServiceAccount_ = ""; /** + * + * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The p4ServiceAccount. */ public java.lang.String getP4ServiceAccount() { java.lang.Object ref = p4ServiceAccount_; 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(); p4ServiceAccount_ = s; return s; @@ -5955,20 +6662,21 @@ public java.lang.String getP4ServiceAccount() { } } /** + * + * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for p4ServiceAccount. */ - public com.google.protobuf.ByteString - getP4ServiceAccountBytes() { + public com.google.protobuf.ByteString getP4ServiceAccountBytes() { java.lang.Object ref = p4ServiceAccount_; 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); p4ServiceAccount_ = b; return b; } else { @@ -5976,54 +6684,61 @@ public java.lang.String getP4ServiceAccount() { } } /** + * + * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The p4ServiceAccount to set. * @return This builder for chaining. */ - public Builder setP4ServiceAccount( - java.lang.String value) { + public Builder setP4ServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + p4ServiceAccount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearP4ServiceAccount() { - + p4ServiceAccount_ = getDefaultInstance().getP4ServiceAccount(); onChanged(); return this; } /** + * + * *
      * Output only. P4 service account for the customer project.
      * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for p4ServiceAccount to set. * @return This builder for chaining. */ - public Builder setP4ServiceAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setP4ServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + p4ServiceAccount_ = value; onChanged(); return this; @@ -6031,18 +6746,20 @@ public Builder setP4ServiceAccountBytes( private java.lang.Object tenantProjectId_ = ""; /** + * + * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tenantProjectId. */ public java.lang.String getTenantProjectId() { java.lang.Object ref = tenantProjectId_; 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(); tenantProjectId_ = s; return s; @@ -6051,20 +6768,21 @@ public java.lang.String getTenantProjectId() { } } /** + * + * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tenantProjectId. */ - public com.google.protobuf.ByteString - getTenantProjectIdBytes() { + public com.google.protobuf.ByteString getTenantProjectIdBytes() { java.lang.Object ref = tenantProjectId_; 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); tenantProjectId_ = b; return b; } else { @@ -6072,54 +6790,61 @@ public java.lang.String getTenantProjectId() { } } /** + * + * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The tenantProjectId to set. * @return This builder for chaining. */ - public Builder setTenantProjectId( - java.lang.String value) { + public Builder setTenantProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tenantProjectId_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTenantProjectId() { - + tenantProjectId_ = getDefaultInstance().getTenantProjectId(); onChanged(); return this; } /** + * + * *
      * Output only. The name of the tenant project.
      * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for tenantProjectId to set. * @return This builder for chaining. */ - public Builder setTenantProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTenantProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantProjectId_ = value; onChanged(); return this; @@ -6127,6 +6852,8 @@ public Builder setTenantProjectIdBytes( private java.lang.Object dataprocServiceAccount_ = ""; /** + * + * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6135,13 +6862,13 @@ public Builder setTenantProjectIdBytes(
      * 
* * string dataproc_service_account = 25; + * * @return The dataprocServiceAccount. */ public java.lang.String getDataprocServiceAccount() { java.lang.Object ref = dataprocServiceAccount_; 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(); dataprocServiceAccount_ = s; return s; @@ -6150,6 +6877,8 @@ public java.lang.String getDataprocServiceAccount() { } } /** + * + * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6158,15 +6887,14 @@ public java.lang.String getDataprocServiceAccount() {
      * 
* * string dataproc_service_account = 25; + * * @return The bytes for dataprocServiceAccount. */ - public com.google.protobuf.ByteString - getDataprocServiceAccountBytes() { + public com.google.protobuf.ByteString getDataprocServiceAccountBytes() { java.lang.Object ref = dataprocServiceAccount_; 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); dataprocServiceAccount_ = b; return b; } else { @@ -6174,6 +6902,8 @@ public java.lang.String getDataprocServiceAccount() { } } /** + * + * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6182,20 +6912,22 @@ public java.lang.String getDataprocServiceAccount() {
      * 
* * string dataproc_service_account = 25; + * * @param value The dataprocServiceAccount to set. * @return This builder for chaining. */ - public Builder setDataprocServiceAccount( - java.lang.String value) { + public Builder setDataprocServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataprocServiceAccount_ = value; onChanged(); return this; } /** + * + * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6204,15 +6936,18 @@ public Builder setDataprocServiceAccount(
      * 
* * string dataproc_service_account = 25; + * * @return This builder for chaining. */ public Builder clearDataprocServiceAccount() { - + dataprocServiceAccount_ = getDefaultInstance().getDataprocServiceAccount(); onChanged(); return this; } /** + * + * *
      * User-managed service account to set on Dataproc when Cloud Data Fusion
      * creates Dataproc to run data processing pipelines.
@@ -6221,28 +6956,31 @@ public Builder clearDataprocServiceAccount() {
      * 
* * string dataproc_service_account = 25; + * * @param value The bytes for dataprocServiceAccount to set. * @return This builder for chaining. */ - public Builder setDataprocServiceAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setDataprocServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataprocServiceAccount_ = value; onChanged(); return this; } - private boolean enableRbac_ ; + private boolean enableRbac_; /** + * + * *
      * Option to enable granular role-based access control.
      * 
* * bool enable_rbac = 26; + * * @return The enableRbac. */ @java.lang.Override @@ -6250,30 +6988,36 @@ public boolean getEnableRbac() { return enableRbac_; } /** + * + * *
      * Option to enable granular role-based access control.
      * 
* * bool enable_rbac = 26; + * * @param value The enableRbac to set. * @return This builder for chaining. */ public Builder setEnableRbac(boolean value) { - + enableRbac_ = value; onChanged(); return this; } /** + * + * *
      * Option to enable granular role-based access control.
      * 
* * bool enable_rbac = 26; + * * @return This builder for chaining. */ public Builder clearEnableRbac() { - + enableRbac_ = false; onChanged(); return this; @@ -6281,36 +7025,49 @@ public Builder clearEnableRbac() { private com.google.cloud.datafusion.v1beta1.CryptoKeyConfig cryptoKeyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.CryptoKeyConfig, com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder, com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder> cryptoKeyConfigBuilder_; + com.google.cloud.datafusion.v1beta1.CryptoKeyConfig, + com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder, + com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder> + cryptoKeyConfigBuilder_; /** + * + * *
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
      * 
* * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27; + * * @return Whether the cryptoKeyConfig field is set. */ public boolean hasCryptoKeyConfig() { return cryptoKeyConfigBuilder_ != null || cryptoKeyConfig_ != null; } /** + * + * *
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
      * 
* * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27; + * * @return The cryptoKeyConfig. */ public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig getCryptoKeyConfig() { if (cryptoKeyConfigBuilder_ == null) { - return cryptoKeyConfig_ == null ? com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance() : cryptoKeyConfig_; + return cryptoKeyConfig_ == null + ? com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance() + : cryptoKeyConfig_; } else { return cryptoKeyConfigBuilder_.getMessage(); } } /** + * + * *
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6332,6 +7089,8 @@ public Builder setCryptoKeyConfig(com.google.cloud.datafusion.v1beta1.CryptoKeyC
       return this;
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6351,6 +7110,8 @@ public Builder setCryptoKeyConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6362,7 +7123,9 @@ public Builder mergeCryptoKeyConfig(com.google.cloud.datafusion.v1beta1.CryptoKe
       if (cryptoKeyConfigBuilder_ == null) {
         if (cryptoKeyConfig_ != null) {
           cryptoKeyConfig_ =
-            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.newBuilder(cryptoKeyConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.newBuilder(cryptoKeyConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           cryptoKeyConfig_ = value;
         }
@@ -6374,6 +7137,8 @@ public Builder mergeCryptoKeyConfig(com.google.cloud.datafusion.v1beta1.CryptoKe
       return this;
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6393,6 +7158,8 @@ public Builder clearCryptoKeyConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6401,11 +7168,13 @@ public Builder clearCryptoKeyConfig() {
      * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;
      */
     public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder getCryptoKeyConfigBuilder() {
-      
+
       onChanged();
       return getCryptoKeyConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6413,15 +7182,19 @@ public com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder getCryptoKeyC
      *
      * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;
      */
-    public com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder() {
+    public com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder
+        getCryptoKeyConfigOrBuilder() {
       if (cryptoKeyConfigBuilder_ != null) {
         return cryptoKeyConfigBuilder_.getMessageOrBuilder();
       } else {
-        return cryptoKeyConfig_ == null ?
-            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance() : cryptoKeyConfig_;
+        return cryptoKeyConfig_ == null
+            ? com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.getDefaultInstance()
+            : cryptoKeyConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6430,21 +7203,24 @@ public com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder getCryptoKey
      * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datafusion.v1beta1.CryptoKeyConfig, com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder, com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder> 
+            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig,
+            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder,
+            com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder>
         getCryptoKeyConfigFieldBuilder() {
       if (cryptoKeyConfigBuilder_ == null) {
-        cryptoKeyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datafusion.v1beta1.CryptoKeyConfig, com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder, com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder>(
-                getCryptoKeyConfig(),
-                getParentForChildren(),
-                isClean());
+        cryptoKeyConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datafusion.v1beta1.CryptoKeyConfig,
+                com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder,
+                com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder>(
+                getCryptoKeyConfig(), getParentForChildren(), isClean());
         cryptoKeyConfig_ = null;
       }
       return cryptoKeyConfigBuilder_;
     }
 
-    private java.util.List disabledReason_ =
-      java.util.Collections.emptyList();
+    private java.util.List disabledReason_ = java.util.Collections.emptyList();
+
     private void ensureDisabledReasonIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
         disabledReason_ = new java.util.ArrayList(disabledReason_);
@@ -6452,46 +7228,69 @@ private void ensureDisabledReasonIsMutable() {
       }
     }
     /**
+     *
+     *
      * 
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the disabledReason. */ - public java.util.List getDisabledReasonList() { + public java.util.List + getDisabledReasonList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datafusion.v1beta1.Instance.DisabledReason>(disabledReason_, disabledReason_converter_); + java.lang.Integer, com.google.cloud.datafusion.v1beta1.Instance.DisabledReason>( + disabledReason_, disabledReason_converter_); } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of disabledReason. */ public int getDisabledReasonCount() { return disabledReason_.size(); } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The disabledReason at the given index. */ - public com.google.cloud.datafusion.v1beta1.Instance.DisabledReason getDisabledReason(int index) { + public com.google.cloud.datafusion.v1beta1.Instance.DisabledReason getDisabledReason( + int index) { return disabledReason_converter_.convert(disabledReason_.get(index)); } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The disabledReason to set. * @return This builder for chaining. @@ -6507,15 +7306,21 @@ public Builder setDisabledReason( return this; } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The disabledReason to add. * @return This builder for chaining. */ - public Builder addDisabledReason(com.google.cloud.datafusion.v1beta1.Instance.DisabledReason value) { + public Builder addDisabledReason( + com.google.cloud.datafusion.v1beta1.Instance.DisabledReason value) { if (value == null) { throw new NullPointerException(); } @@ -6525,16 +7330,22 @@ public Builder addDisabledReason(com.google.cloud.datafusion.v1beta1.Instance.Di return this; } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The disabledReason to add. * @return This builder for chaining. */ public Builder addAllDisabledReason( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureDisabledReasonIsMutable(); for (com.google.cloud.datafusion.v1beta1.Instance.DisabledReason value : values) { disabledReason_.add(value.getNumber()); @@ -6543,11 +7354,16 @@ public Builder addAllDisabledReason( return this; } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearDisabledReason() { @@ -6557,23 +7373,32 @@ public Builder clearDisabledReason() { return this; } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for disabledReason. */ - public java.util.List - getDisabledReasonValueList() { + public java.util.List getDisabledReasonValueList() { return java.util.Collections.unmodifiableList(disabledReason_); } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. */ @@ -6581,28 +7406,37 @@ public int getDisabledReasonValue(int index) { return disabledReason_.get(index); } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. * @return This builder for chaining. */ - public Builder setDisabledReasonValue( - int index, int value) { + public Builder setDisabledReasonValue(int index, int value) { ensureDisabledReasonIsMutable(); disabledReason_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for disabledReason to add. * @return This builder for chaining. */ @@ -6613,16 +7447,20 @@ public Builder addDisabledReasonValue(int value) { return this; } /** + * + * *
      * Output only. If the instance state is DISABLED, the reason for disabling the instance.
      * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The enum numeric values on the wire for disabledReason to add. * @return This builder for chaining. */ - public Builder addAllDisabledReasonValue( - java.lang.Iterable values) { + public Builder addAllDisabledReasonValue(java.lang.Iterable values) { ensureDisabledReasonIsMutable(); for (int value : values) { disabledReason_.add(value); @@ -6630,9 +7468,9 @@ public Builder addAllDisabledReasonValue( 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); } @@ -6642,12 +7480,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.Instance) private static final com.google.cloud.datafusion.v1beta1.Instance DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.Instance(); } @@ -6656,16 +7494,16 @@ public static com.google.cloud.datafusion.v1beta1.Instance getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Instance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Instance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Instance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Instance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6680,6 +7518,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceName.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceName.java similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceName.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceName.java diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java similarity index 76% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java index ccd016ac..9ec97710 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java @@ -1,94 +1,142 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface InstanceOrBuilder extends +public interface InstanceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.Instance) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of this instance is in the form of
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A description of this instance.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A description of this instance.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. Instance type.
    * 
* - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. Instance type.
    * 
* - * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.datafusion.v1beta1.Instance.Type getType(); /** + * + * *
    * Option to enable Stackdriver Logging.
    * 
* * bool enable_stackdriver_logging = 4; + * * @return The enableStackdriverLogging. */ boolean getEnableStackdriverLogging(); /** + * + * *
    * Option to enable Stackdriver Monitoring.
    * 
* * bool enable_stackdriver_monitoring = 5; + * * @return The enableStackdriverMonitoring. */ boolean getEnableStackdriverMonitoring(); /** + * + * *
    * Specifies whether the Data Fusion instance should be private. If set to
    * true, all Data Fusion nodes will have private IP addresses and will not be
@@ -96,31 +144,40 @@ public interface InstanceOrBuilder extends
    * 
* * bool private_instance = 6; + * * @return The privateInstance. */ boolean getPrivateInstance(); /** + * + * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7; + * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** + * + * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
    * 
* * .google.cloud.datafusion.v1beta1.NetworkConfig network_config = 7; + * * @return The networkConfig. */ com.google.cloud.datafusion.v1beta1.NetworkConfig getNetworkConfig(); /** + * + * *
    * Network configuration options. These are required when a private Data
    * Fusion instance is to be created.
@@ -131,6 +188,8 @@ public interface InstanceOrBuilder extends
   com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -141,6 +200,8 @@ public interface InstanceOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -149,15 +210,13 @@ public interface InstanceOrBuilder extends
    *
    * map<string, string> labels = 8;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -166,9 +225,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 8;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -179,11 +239,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The resource labels for instance to use to annotate any related underlying
    * resources such as Compute Engine VMs. The character '=' is not allowed to
@@ -192,11 +254,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 8;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -206,6 +268,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getOptionsCount();
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -213,15 +277,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> options = 9;
    */
-  boolean containsOptions(
-      java.lang.String key);
-  /**
-   * Use {@link #getOptionsMap()} instead.
-   */
+  boolean containsOptions(java.lang.String key);
+  /** Use {@link #getOptionsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getOptions();
+  java.util.Map getOptions();
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -229,9 +291,10 @@ boolean containsOptions(
    *
    * map<string, string> options = 9;
    */
-  java.util.Map
-  getOptionsMap();
+  java.util.Map getOptionsMap();
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -241,11 +304,13 @@ boolean containsOptions(
    */
 
   /* nullable */
-java.lang.String getOptionsOrDefault(
+  java.lang.String getOptionsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -253,212 +318,280 @@ java.lang.String getOptionsOrDefault(
    *
    * map<string, string> options = 9;
    */
-
-  java.lang.String getOptionsOrThrow(
-      java.lang.String key);
+  java.lang.String getOptionsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time the instance was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. The current state of this Data Fusion instance.
    * 
* - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of this Data Fusion instance.
    * 
* - * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.datafusion.v1beta1.Instance.State getState(); /** + * + * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateMessage. */ java.lang.String getStateMessage(); /** + * + * *
    * Output only. Additional information about the current state of this Data
    * Fusion instance if available.
    * 
* * string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateMessage. */ - com.google.protobuf.ByteString - getStateMessageBytes(); + com.google.protobuf.ByteString getStateMessageBytes(); /** + * + * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceEndpoint. */ java.lang.String getServiceEndpoint(); /** + * + * *
    * Output only. Endpoint on which the Data Fusion UI is accessible.
    * 
* * string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceEndpoint. */ - com.google.protobuf.ByteString - getServiceEndpointBytes(); + com.google.protobuf.ByteString getServiceEndpointBytes(); /** + * + * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; + * * @return The zone. */ java.lang.String getZone(); /** + * + * *
    * Name of the zone in which the Data Fusion instance will be created. Only
    * DEVELOPER instances use this field.
    * 
* * string zone = 15; + * * @return The bytes for zone. */ - com.google.protobuf.ByteString - getZoneBytes(); + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Current version of Data Fusion.
    * 
* * string version = 16; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Current version of Data Fusion.
    * 
* * string version = 16; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @return The serviceAccount. */ - @java.lang.Deprecated java.lang.String getServiceAccount(); + @java.lang.Deprecated + java.lang.String getServiceAccount(); /** + * + * *
    * Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
    * 
* - * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. - * See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See + * google/cloud/datafusion/v1beta1/v1beta1.proto;l=392 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getServiceAccountBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * Display name for an instance.
    * 
* * string display_name = 18; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name for an instance.
    * 
* * string display_name = 18; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -466,9 +599,10 @@ java.lang.String getOptionsOrThrow(
    *
    * repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
    */
-  java.util.List 
-      getAvailableVersionList();
+  java.util.List getAvailableVersionList();
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -478,6 +612,8 @@ java.lang.String getOptionsOrThrow(
    */
   com.google.cloud.datafusion.v1beta1.Version getAvailableVersion(int index);
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -487,6 +623,8 @@ java.lang.String getOptionsOrThrow(
    */
   int getAvailableVersionCount();
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -494,9 +632,11 @@ java.lang.String getOptionsOrThrow(
    *
    * repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
    */
-  java.util.List 
+  java.util.List
       getAvailableVersionOrBuilderList();
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -504,59 +644,71 @@ java.lang.String getOptionsOrThrow(
    *
    * repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
    */
-  com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionOrBuilder(
-      int index);
+  com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiEndpoint. */ java.lang.String getApiEndpoint(); /** + * + * *
    * Output only. Endpoint on which the REST APIs is accessible.
    * 
* * string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiEndpoint. */ - com.google.protobuf.ByteString - getApiEndpointBytes(); + com.google.protobuf.ByteString getApiEndpointBytes(); /** + * + * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The gcsBucket. */ java.lang.String getGcsBucket(); /** + * + * *
    * Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
    * 
* * string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for gcsBucket. */ - com.google.protobuf.ByteString - getGcsBucketBytes(); + com.google.protobuf.ByteString getGcsBucketBytes(); /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22; */ - java.util.List - getAcceleratorsList(); + java.util.List getAcceleratorsList(); /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -565,6 +717,8 @@ com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionOrBuilde */ com.google.cloud.datafusion.v1beta1.Accelerator getAccelerators(int index); /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -573,65 +727,80 @@ com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionOrBuilde */ int getAcceleratorsCount(); /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22; */ - java.util.List + java.util.List getAcceleratorsOrBuilderList(); /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22; */ - com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsOrBuilder( - int index); + com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsOrBuilder(int index); /** + * + * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The p4ServiceAccount. */ java.lang.String getP4ServiceAccount(); /** + * + * *
    * Output only. P4 service account for the customer project.
    * 
* * string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for p4ServiceAccount. */ - com.google.protobuf.ByteString - getP4ServiceAccountBytes(); + com.google.protobuf.ByteString getP4ServiceAccountBytes(); /** + * + * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tenantProjectId. */ java.lang.String getTenantProjectId(); /** + * + * *
    * Output only. The name of the tenant project.
    * 
* * string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tenantProjectId. */ - com.google.protobuf.ByteString - getTenantProjectIdBytes(); + com.google.protobuf.ByteString getTenantProjectIdBytes(); /** + * + * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -640,10 +809,13 @@ com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsOrBuilde
    * 
* * string dataproc_service_account = 25; + * * @return The dataprocServiceAccount. */ java.lang.String getDataprocServiceAccount(); /** + * + * *
    * User-managed service account to set on Dataproc when Cloud Data Fusion
    * creates Dataproc to run data processing pipelines.
@@ -652,42 +824,53 @@ com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsOrBuilde
    * 
* * string dataproc_service_account = 25; + * * @return The bytes for dataprocServiceAccount. */ - com.google.protobuf.ByteString - getDataprocServiceAccountBytes(); + com.google.protobuf.ByteString getDataprocServiceAccountBytes(); /** + * + * *
    * Option to enable granular role-based access control.
    * 
* * bool enable_rbac = 26; + * * @return The enableRbac. */ boolean getEnableRbac(); /** + * + * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27; + * * @return Whether the cryptoKeyConfig field is set. */ boolean hasCryptoKeyConfig(); /** + * + * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
    * 
* * .google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27; + * * @return The cryptoKeyConfig. */ com.google.cloud.datafusion.v1beta1.CryptoKeyConfig getCryptoKeyConfig(); /** + * + * *
    * The crypto key configuration. This field is used by the Customer-Managed
    * Encryption Keys (CMEK) feature.
@@ -698,49 +881,74 @@ com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsOrBuilde
   com.google.cloud.datafusion.v1beta1.CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the disabledReason. */ - java.util.List getDisabledReasonList(); + java.util.List + getDisabledReasonList(); /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of disabledReason. */ int getDisabledReasonCount(); /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The disabledReason at the given index. */ com.google.cloud.datafusion.v1beta1.Instance.DisabledReason getDisabledReason(int index); /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for disabledReason. */ - java.util.List - getDisabledReasonValueList(); + java.util.List getDisabledReasonValueList(); /** + * + * *
    * Output only. If the instance state is DISABLED, the reason for disabling the instance.
    * 
* - * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datafusion.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of disabledReason at the given index. */ diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.java index 59d8b3ec..8faa6cc8 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Request message for the list available versions request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest} */ -public final class ListAvailableVersionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAvailableVersionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) ListAvailableVersionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAvailableVersionsRequest.newBuilder() to construct. private ListAvailableVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAvailableVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListAvailableVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAvailableVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAvailableVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,35 +71,37 @@ private ListAvailableVersionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - case 32: { + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - latestPatchOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + case 32: + { + latestPatchOnly_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,35 +109,42 @@ private ListAvailableVersionsRequest( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.class, com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.class, + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * 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 @@ -127,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 project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * 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 { @@ -161,11 +189,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -176,12 +207,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -190,30 +224,30 @@ 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; } } /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @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 { @@ -224,6 +258,8 @@ public java.lang.String getPageToken() { public static final int LATEST_PATCH_ONLY_FIELD_NUMBER = 4; private boolean latestPatchOnly_; /** + * + * *
    * Whether or not to return the latest patch of every available minor version.
    * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -231,6 +267,7 @@ public java.lang.String getPageToken() {
    * 
* * bool latest_patch_only = 4; + * * @return The latestPatchOnly. */ @java.lang.Override @@ -239,6 +276,7 @@ public boolean getLatestPatchOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,8 +288,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_); } @@ -277,15 +314,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (latestPatchOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, latestPatchOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, latestPatchOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,21 +330,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.datafusion.v1beta1.ListAvailableVersionsRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest other = (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) obj; + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest other = + (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getLatestPatchOnly() - != other.getLatestPatchOnly()) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getLatestPatchOnly() != other.getLatestPatchOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,125 +360,134 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + LATEST_PATCH_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getLatestPatchOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLatestPatchOnly()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest 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.datafusion.v1beta1.ListAvailableVersionsRequest 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.datafusion.v1beta1.ListAvailableVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest 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.datafusion.v1beta1.ListAvailableVersionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest 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.datafusion.v1beta1.ListAvailableVersionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest 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.datafusion.v1beta1.ListAvailableVersionsRequest 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.datafusion.v1beta1.ListAvailableVersionsRequest 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.datafusion.v1beta1.ListAvailableVersionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest 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 message for the list available versions request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest} */ - 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.datafusion.v1beta1.ListAvailableVersionsRequest) com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.class, com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.class, + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.newBuilder() @@ -454,16 +495,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(); @@ -479,13 +519,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest getDefaultInstanceForType() { + public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest + getDefaultInstanceForType() { return com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.getDefaultInstance(); } @@ -500,7 +541,8 @@ public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest build() @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest result = new com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest(this); + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest result = + new com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -513,46 +555,50 @@ public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest buildPar 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.datafusion.v1beta1.ListAvailableVersionsRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest other) { + if (other + == com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +632,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,19 +646,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * 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; @@ -619,21 +671,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * 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 { @@ -641,69 +696,85 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}.
      * 
* - * 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; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -711,30 +782,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; + * * @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 items to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -742,19 +819,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -763,21 +842,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @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 { @@ -785,64 +865,73 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @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; } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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; } - private boolean latestPatchOnly_ ; + private boolean latestPatchOnly_; /** + * + * *
      * Whether or not to return the latest patch of every available minor version.
      * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -850,6 +939,7 @@ public Builder setPageTokenBytes(
      * 
* * bool latest_patch_only = 4; + * * @return The latestPatchOnly. */ @java.lang.Override @@ -857,6 +947,8 @@ public boolean getLatestPatchOnly() { return latestPatchOnly_; } /** + * + * *
      * Whether or not to return the latest patch of every available minor version.
      * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -864,16 +956,19 @@ public boolean getLatestPatchOnly() {
      * 
* * bool latest_patch_only = 4; + * * @param value The latestPatchOnly to set. * @return This builder for chaining. */ public Builder setLatestPatchOnly(boolean value) { - + latestPatchOnly_ = value; onChanged(); return this; } /** + * + * *
      * Whether or not to return the latest patch of every available minor version.
      * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -881,17 +976,18 @@ public Builder setLatestPatchOnly(boolean value) {
      * 
* * bool latest_patch_only = 4; + * * @return This builder for chaining. */ public Builder clearLatestPatchOnly() { - + latestPatchOnly_ = false; 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); } @@ -901,30 +997,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) - private static final com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest(); } - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest getDefaultInstance() { + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAvailableVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAvailableVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAvailableVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAvailableVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,9 +1034,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest getDefaultInstanceForType() { + public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java index e6118b82..abc6c2fe 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java @@ -1,67 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListAvailableVersionsRequestOrBuilder extends +public interface ListAvailableVersionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * 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 for which to retrieve instance information
    * in the format projects/{project}/locations/{location}.
    * 
* - * 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 maximum number of items to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Whether or not to return the latest patch of every available minor version.
    * If true, only the latest patch will be returned. Ex. if allowed versions is
@@ -69,6 +104,7 @@ public interface ListAvailableVersionsRequestOrBuilder extends
    * 
* * bool latest_patch_only = 4; + * * @return The latestPatchOnly. */ boolean getLatestPatchOnly(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.java similarity index 73% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.java index 1a30613b..22aa8054 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Response message for the list available versions request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse} */ -public final class ListAvailableVersionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAvailableVersionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) ListAvailableVersionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAvailableVersionsResponse.newBuilder() to construct. private ListAvailableVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAvailableVersionsResponse() { availableVersions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListAvailableVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAvailableVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAvailableVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListAvailableVersionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - availableVersions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + availableVersions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + availableVersions_.add( + input.readMessage( + com.google.cloud.datafusion.v1beta1.Version.parser(), extensionRegistry)); + break; } - availableVersions_.add( - input.readMessage(com.google.cloud.datafusion.v1beta1.Version.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 +105,7 @@ private ListAvailableVersionsResponse( } 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)) { availableVersions_ = java.util.Collections.unmodifiableList(availableVersions_); @@ -94,22 +114,27 @@ private ListAvailableVersionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.class, com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.class, + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.Builder.class); } public static final int AVAILABLE_VERSIONS_FIELD_NUMBER = 1; private java.util.List availableVersions_; /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -121,6 +146,8 @@ public java.util.List getAvailableV return availableVersions_; } /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -128,11 +155,13 @@ public java.util.List getAvailableV * repeated .google.cloud.datafusion.v1beta1.Version available_versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAvailableVersionsOrBuilderList() { return availableVersions_; } /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -144,6 +173,8 @@ public int getAvailableVersionsCount() { return availableVersions_.size(); } /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -155,6 +186,8 @@ public com.google.cloud.datafusion.v1beta1.Version getAvailableVersions(int inde return availableVersions_.get(index); } /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -170,12 +203,15 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +220,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; } } /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +264,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 < availableVersions_.size(); i++) { output.writeMessage(1, availableVersions_.get(i)); } @@ -245,8 +281,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < availableVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, availableVersions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, availableVersions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.datafusion.v1beta1.ListAvailableVersionsResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse other = (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) obj; + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse other = + (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) obj; - if (!getAvailableVersionsList() - .equals(other.getAvailableVersionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAvailableVersionsList().equals(other.getAvailableVersionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +328,147 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse + 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.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse 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 message for the list available versions request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse} */ - 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.datafusion.v1beta1.ListAvailableVersionsResponse) com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.class, com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.class, + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.Builder.class); } - // Construct using com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.newBuilder() + // Construct using + // com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.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) { getAvailableVersionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +484,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse getDefaultInstanceForType() { + public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse + getDefaultInstanceForType() { return com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.getDefaultInstance(); } @@ -458,7 +506,8 @@ public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse build() @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse buildPartial() { - com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse result = new com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse(this); + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse result = + new com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse(this); int from_bitField0_ = bitField0_; if (availableVersionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +527,50 @@ public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse 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.datafusion.v1beta1.ListAvailableVersionsResponse) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse other) { - if (other == com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse other) { + if (other + == com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse.getDefaultInstance()) + return this; if (availableVersionsBuilder_ == null) { if (!other.availableVersions_.isEmpty()) { if (availableVersions_.isEmpty()) { @@ -536,9 +589,10 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListAvailableVersio availableVersionsBuilder_ = null; availableVersions_ = other.availableVersions_; bitField0_ = (bitField0_ & ~0x00000001); - availableVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAvailableVersionsFieldBuilder() : null; + availableVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAvailableVersionsFieldBuilder() + : null; } else { availableVersionsBuilder_.addAllMessages(other.availableVersions_); } @@ -567,7 +621,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +632,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List availableVersions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAvailableVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - availableVersions_ = new java.util.ArrayList(availableVersions_); + availableVersions_ = + new java.util.ArrayList( + availableVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Version, com.google.cloud.datafusion.v1beta1.Version.Builder, com.google.cloud.datafusion.v1beta1.VersionOrBuilder> availableVersionsBuilder_; + com.google.cloud.datafusion.v1beta1.Version, + com.google.cloud.datafusion.v1beta1.Version.Builder, + com.google.cloud.datafusion.v1beta1.VersionOrBuilder> + availableVersionsBuilder_; /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -605,6 +670,8 @@ public java.util.List getAvailableV } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -619,6 +686,8 @@ public int getAvailableVersionsCount() { } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -633,6 +702,8 @@ public com.google.cloud.datafusion.v1beta1.Version getAvailableVersions(int inde } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -654,6 +725,8 @@ public Builder setAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -672,6 +745,8 @@ public Builder setAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -692,6 +767,8 @@ public Builder addAvailableVersions(com.google.cloud.datafusion.v1beta1.Version return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -713,6 +790,8 @@ public Builder addAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -731,6 +810,8 @@ public Builder addAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -749,6 +830,8 @@ public Builder addAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -759,8 +842,7 @@ public Builder addAllAvailableVersions( java.lang.Iterable values) { if (availableVersionsBuilder_ == null) { ensureAvailableVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, availableVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableVersions_); onChanged(); } else { availableVersionsBuilder_.addAllMessages(values); @@ -768,6 +850,8 @@ public Builder addAllAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -785,6 +869,8 @@ public Builder clearAvailableVersions() { return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -802,6 +888,8 @@ public Builder removeAvailableVersions(int index) { return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -813,6 +901,8 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder getAvailableVersionsB return getAvailableVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -822,19 +912,22 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder getAvailableVersionsB public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionsOrBuilder( int index) { if (availableVersionsBuilder_ == null) { - return availableVersions_.get(index); } else { + return availableVersions_.get(index); + } else { return availableVersionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Version available_versions = 1; */ - public java.util.List - getAvailableVersionsOrBuilderList() { + public java.util.List + getAvailableVersionsOrBuilderList() { if (availableVersionsBuilder_ != null) { return availableVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +935,8 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersions } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -849,10 +944,12 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersions * repeated .google.cloud.datafusion.v1beta1.Version available_versions = 1; */ public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionsBuilder() { - return getAvailableVersionsFieldBuilder().addBuilder( - com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance()); + return getAvailableVersionsFieldBuilder() + .addBuilder(com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance()); } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -861,26 +958,34 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionsB */ public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionsBuilder( int index) { - return getAvailableVersionsFieldBuilder().addBuilder( - index, com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance()); + return getAvailableVersionsFieldBuilder() + .addBuilder(index, com.google.cloud.datafusion.v1beta1.Version.getDefaultInstance()); } /** + * + * *
      * Represents a list of versions that are supported.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Version available_versions = 1; */ - public java.util.List - getAvailableVersionsBuilderList() { + public java.util.List + getAvailableVersionsBuilderList() { return getAvailableVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Version, com.google.cloud.datafusion.v1beta1.Version.Builder, com.google.cloud.datafusion.v1beta1.VersionOrBuilder> + com.google.cloud.datafusion.v1beta1.Version, + com.google.cloud.datafusion.v1beta1.Version.Builder, + com.google.cloud.datafusion.v1beta1.VersionOrBuilder> getAvailableVersionsFieldBuilder() { if (availableVersionsBuilder_ == null) { - availableVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Version, com.google.cloud.datafusion.v1beta1.Version.Builder, com.google.cloud.datafusion.v1beta1.VersionOrBuilder>( + availableVersionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.Version, + com.google.cloud.datafusion.v1beta1.Version.Builder, + com.google.cloud.datafusion.v1beta1.VersionOrBuilder>( availableVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +997,21 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder addAvailableVersionsB private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 +1020,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 +1043,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 +1117,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) - private static final com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse(); } - public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse getDefaultInstance() { + public static com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAvailableVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAvailableVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAvailableVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAvailableVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1154,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse getDefaultInstanceForType() { + public com.google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.java index dcaa6a08..5019936e 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListAvailableVersionsResponseOrBuilder extends +public interface ListAvailableVersionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Represents a list of versions that are supported.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Version available_versions = 1; */ - java.util.List - getAvailableVersionsList(); + java.util.List getAvailableVersionsList(); /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -25,6 +44,8 @@ public interface ListAvailableVersionsResponseOrBuilder extends */ com.google.cloud.datafusion.v1beta1.Version getAvailableVersions(int index); /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -33,43 +54,51 @@ public interface ListAvailableVersionsResponseOrBuilder extends */ int getAvailableVersionsCount(); /** + * + * *
    * Represents a list of versions that are supported.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Version available_versions = 1; */ - java.util.List + java.util.List getAvailableVersionsOrBuilderList(); /** + * + * *
    * Represents a list of versions that are supported.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Version available_versions = 1; */ - com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionsOrBuilder( - int index); + com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.java index caa569fe..ba425f1b 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * List dns peering request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest} */ -public final class ListDnsPeeringsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDnsPeeringsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) ListDnsPeeringsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDnsPeeringsRequest.newBuilder() to construct. private ListDnsPeeringsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDnsPeeringsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListDnsPeeringsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDnsPeeringsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDnsPeeringsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListDnsPeeringsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + 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) { @@ -85,34 +104,41 @@ private ListDnsPeeringsRequest( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.class, com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.class, + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource on which dns peering will be listed.
    * 
* - * 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 @@ -121,29 +147,31 @@ 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 resource on which dns peering will be listed.
    * 
* - * 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 { @@ -154,11 +182,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,12 +200,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -183,30 +217,30 @@ 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; } } /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @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 { @@ -215,6 +249,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +261,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_); } @@ -250,8 +284,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -264,19 +297,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.datafusion.v1beta1.ListDnsPeeringsRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest other = (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) obj; + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest other = + (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,117 +331,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest 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; } /** + * + * *
    * List dns peering request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest} */ - 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.datafusion.v1beta1.ListDnsPeeringsRequest) com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.class, com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.class, + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.newBuilder() @@ -418,16 +459,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(); @@ -441,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; } @java.lang.Override @@ -462,7 +502,8 @@ public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest result = new com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest(this); + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest result = + new com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -474,38 +515,39 @@ public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest 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.datafusion.v1beta1.ListDnsPeeringsRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) other); } else { super.mergeFrom(other); return this; @@ -513,7 +555,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -544,7 +587,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -556,18 +600,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource on which dns peering will be listed.
      * 
* - * 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; @@ -576,20 +624,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource on which dns peering will be listed.
      * 
* - * 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 { @@ -597,66 +648,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource on which dns peering will be listed.
      * 
* - * 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 resource on which dns peering will be listed.
      * 
* - * 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 resource on which dns peering will be listed.
      * 
* - * 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; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -664,30 +731,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; + * * @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 items to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -695,19 +768,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -716,21 +791,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @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 { @@ -738,64 +814,71 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @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; } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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); } @@ -805,12 +888,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) private static final com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest(); } @@ -819,16 +902,16 @@ public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDnsPeeringsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDnsPeeringsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDnsPeeringsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDnsPeeringsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -843,6 +926,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java index 7a61de9e..a49520b7 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java @@ -1,61 +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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListDnsPeeringsRequestOrBuilder extends +public interface ListDnsPeeringsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource on which dns peering will be listed.
    * 
* - * 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 resource on which dns peering will be listed.
    * 
* - * 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 maximum number of items to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.java similarity index 73% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.java index 4e6db3e6..b615e402 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * List dns peering response.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse} */ -public final class ListDnsPeeringsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDnsPeeringsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) ListDnsPeeringsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDnsPeeringsResponse.newBuilder() to construct. private ListDnsPeeringsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDnsPeeringsResponse() { dnsPeerings_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListDnsPeeringsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDnsPeeringsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDnsPeeringsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListDnsPeeringsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dnsPeerings_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dnsPeerings_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dnsPeerings_.add( + input.readMessage( + com.google.cloud.datafusion.v1beta1.DnsPeering.parser(), extensionRegistry)); + break; } - dnsPeerings_.add( - input.readMessage(com.google.cloud.datafusion.v1beta1.DnsPeering.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 +105,7 @@ private ListDnsPeeringsResponse( } 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)) { dnsPeerings_ = java.util.Collections.unmodifiableList(dnsPeerings_); @@ -94,22 +114,27 @@ private ListDnsPeeringsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.class, com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.class, + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.Builder.class); } public static final int DNS_PEERINGS_FIELD_NUMBER = 1; private java.util.List dnsPeerings_; /** + * + * *
    * List of dns peering configs.
    * 
@@ -121,6 +146,8 @@ public java.util.List getDnsPeer return dnsPeerings_; } /** + * + * *
    * List of dns peering configs.
    * 
@@ -128,11 +155,13 @@ public java.util.List getDnsPeer * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDnsPeeringsOrBuilderList() { return dnsPeerings_; } /** + * + * *
    * List of dns peering configs.
    * 
@@ -144,6 +173,8 @@ public int getDnsPeeringsCount() { return dnsPeerings_.size(); } /** + * + * *
    * List of dns peering configs.
    * 
@@ -155,6 +186,8 @@ public com.google.cloud.datafusion.v1beta1.DnsPeering getDnsPeerings(int index) return dnsPeerings_.get(index); } /** + * + * *
    * List of dns peering configs.
    * 
@@ -170,12 +203,15 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringsOrB public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +220,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; } } /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +264,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 < dnsPeerings_.size(); i++) { output.writeMessage(1, dnsPeerings_.get(i)); } @@ -245,8 +281,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dnsPeerings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dnsPeerings_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dnsPeerings_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +294,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.datafusion.v1beta1.ListDnsPeeringsResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse other = (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) obj; + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse other = + (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) obj; - if (!getDnsPeeringsList() - .equals(other.getDnsPeeringsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDnsPeeringsList().equals(other.getDnsPeeringsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +327,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse 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; } /** + * + * *
    * List dns peering response.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse} */ - 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.datafusion.v1beta1.ListDnsPeeringsResponse) com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.class, com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.class, + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.newBuilder() @@ -411,17 +455,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) { getDnsPeeringsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; } @java.lang.Override @@ -458,7 +502,8 @@ public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse buildPartial() { - com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse result = new com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse(this); + com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse result = + new com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse(this); int from_bitField0_ = bitField0_; if (dnsPeeringsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse 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.datafusion.v1beta1.ListDnsPeeringsResponse) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse other) { - if (other == com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse.getDefaultInstance()) + return this; if (dnsPeeringsBuilder_ == null) { if (!other.dnsPeerings_.isEmpty()) { if (dnsPeerings_.isEmpty()) { @@ -536,9 +583,10 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResp dnsPeeringsBuilder_ = null; dnsPeerings_ = other.dnsPeerings_; bitField0_ = (bitField0_ & ~0x00000001); - dnsPeeringsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDnsPeeringsFieldBuilder() : null; + dnsPeeringsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDnsPeeringsFieldBuilder() + : null; } else { dnsPeeringsBuilder_.addAllMessages(other.dnsPeerings_); } @@ -567,7 +615,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +625,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List dnsPeerings_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDnsPeeringsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dnsPeerings_ = new java.util.ArrayList(dnsPeerings_); + dnsPeerings_ = + new java.util.ArrayList(dnsPeerings_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.DnsPeering, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> dnsPeeringsBuilder_; + com.google.cloud.datafusion.v1beta1.DnsPeering, + com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, + com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> + dnsPeeringsBuilder_; /** + * + * *
      * List of dns peering configs.
      * 
@@ -605,6 +662,8 @@ public java.util.List getDnsPeer } } /** + * + * *
      * List of dns peering configs.
      * 
@@ -619,6 +678,8 @@ public int getDnsPeeringsCount() { } } /** + * + * *
      * List of dns peering configs.
      * 
@@ -633,14 +694,15 @@ public com.google.cloud.datafusion.v1beta1.DnsPeering getDnsPeerings(int index) } } /** + * + * *
      * List of dns peering configs.
      * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - public Builder setDnsPeerings( - int index, com.google.cloud.datafusion.v1beta1.DnsPeering value) { + public Builder setDnsPeerings(int index, com.google.cloud.datafusion.v1beta1.DnsPeering value) { if (dnsPeeringsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +716,8 @@ public Builder setDnsPeerings( return this; } /** + * + * *
      * List of dns peering configs.
      * 
@@ -672,6 +736,8 @@ public Builder setDnsPeerings( return this; } /** + * + * *
      * List of dns peering configs.
      * 
@@ -692,14 +758,15 @@ public Builder addDnsPeerings(com.google.cloud.datafusion.v1beta1.DnsPeering val return this; } /** + * + * *
      * List of dns peering configs.
      * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - public Builder addDnsPeerings( - int index, com.google.cloud.datafusion.v1beta1.DnsPeering value) { + public Builder addDnsPeerings(int index, com.google.cloud.datafusion.v1beta1.DnsPeering value) { if (dnsPeeringsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +780,8 @@ public Builder addDnsPeerings( return this; } /** + * + * *
      * List of dns peering configs.
      * 
@@ -731,6 +800,8 @@ public Builder addDnsPeerings( return this; } /** + * + * *
      * List of dns peering configs.
      * 
@@ -749,6 +820,8 @@ public Builder addDnsPeerings( return this; } /** + * + * *
      * List of dns peering configs.
      * 
@@ -759,8 +832,7 @@ public Builder addAllDnsPeerings( java.lang.Iterable values) { if (dnsPeeringsBuilder_ == null) { ensureDnsPeeringsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dnsPeerings_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dnsPeerings_); onChanged(); } else { dnsPeeringsBuilder_.addAllMessages(values); @@ -768,6 +840,8 @@ public Builder addAllDnsPeerings( return this; } /** + * + * *
      * List of dns peering configs.
      * 
@@ -785,6 +859,8 @@ public Builder clearDnsPeerings() { return this; } /** + * + * *
      * List of dns peering configs.
      * 
@@ -802,17 +878,20 @@ public Builder removeDnsPeerings(int index) { return this; } /** + * + * *
      * List of dns peering configs.
      * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder getDnsPeeringsBuilder( - int index) { + public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder getDnsPeeringsBuilder(int index) { return getDnsPeeringsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of dns peering configs.
      * 
@@ -822,19 +901,22 @@ public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder getDnsPeeringsBuil public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringsOrBuilder( int index) { if (dnsPeeringsBuilder_ == null) { - return dnsPeerings_.get(index); } else { + return dnsPeerings_.get(index); + } else { return dnsPeeringsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of dns peering configs.
      * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - public java.util.List - getDnsPeeringsOrBuilderList() { + public java.util.List + getDnsPeeringsOrBuilderList() { if (dnsPeeringsBuilder_ != null) { return dnsPeeringsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +924,8 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringsOrB } } /** + * + * *
      * List of dns peering configs.
      * 
@@ -849,42 +933,48 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringsOrB * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder addDnsPeeringsBuilder() { - return getDnsPeeringsFieldBuilder().addBuilder( - com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance()); + return getDnsPeeringsFieldBuilder() + .addBuilder(com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance()); } /** + * + * *
      * List of dns peering configs.
      * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder addDnsPeeringsBuilder( - int index) { - return getDnsPeeringsFieldBuilder().addBuilder( - index, com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance()); + public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder addDnsPeeringsBuilder(int index) { + return getDnsPeeringsFieldBuilder() + .addBuilder(index, com.google.cloud.datafusion.v1beta1.DnsPeering.getDefaultInstance()); } /** + * + * *
      * List of dns peering configs.
      * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - public java.util.List - getDnsPeeringsBuilderList() { + public java.util.List + getDnsPeeringsBuilderList() { return getDnsPeeringsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.DnsPeering, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> + com.google.cloud.datafusion.v1beta1.DnsPeering, + com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, + com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder> getDnsPeeringsFieldBuilder() { if (dnsPeeringsBuilder_ == null) { - dnsPeeringsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.DnsPeering, com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder>( - dnsPeerings_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + dnsPeeringsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.DnsPeering, + com.google.cloud.datafusion.v1beta1.DnsPeering.Builder, + com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder>( + dnsPeerings_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dnsPeerings_ = null; } return dnsPeeringsBuilder_; @@ -892,19 +982,21 @@ public com.google.cloud.datafusion.v1beta1.DnsPeering.Builder addDnsPeeringsBuil private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 +1005,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 +1028,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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,12 +1102,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) private static final com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse(); } @@ -1016,16 +1116,16 @@ public static com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDnsPeeringsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDnsPeeringsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDnsPeeringsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDnsPeeringsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1140,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.java index f2b15de2..cf7128bb 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListDnsPeeringsResponseOrBuilder extends +public interface ListDnsPeeringsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of dns peering configs.
    * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - java.util.List - getDnsPeeringsList(); + java.util.List getDnsPeeringsList(); /** + * + * *
    * List of dns peering configs.
    * 
@@ -25,6 +44,8 @@ public interface ListDnsPeeringsResponseOrBuilder extends */ com.google.cloud.datafusion.v1beta1.DnsPeering getDnsPeerings(int index); /** + * + * *
    * List of dns peering configs.
    * 
@@ -33,43 +54,51 @@ public interface ListDnsPeeringsResponseOrBuilder extends */ int getDnsPeeringsCount(); /** + * + * *
    * List of dns peering configs.
    * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - java.util.List + java.util.List getDnsPeeringsOrBuilderList(); /** + * + * *
    * List of dns peering configs.
    * 
* * repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1; */ - com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringsOrBuilder( - int index); + com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.java similarity index 70% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.java index a228cc76..45e7fbda 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Request message for listing Data Fusion instances.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListInstancesRequest} */ -public final class ListInstancesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInstancesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListInstancesRequest) ListInstancesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInstancesRequest.newBuilder() to construct. private ListInstancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInstancesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInstancesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListInstancesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListInstancesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +120,33 @@ private ListInstancesRequest( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListInstancesRequest.class, com.google.cloud.datafusion.v1beta1.ListInstancesRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListInstancesRequest.class, + com.google.cloud.datafusion.v1beta1.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -129,7 +154,10 @@ private ListInstancesRequest(
    * are queried, and the results are aggregated.
    * 
* - * 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 @@ -138,14 +166,15 @@ 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 for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -153,17 +182,18 @@ public java.lang.String getParent() {
    * are queried, and the results are aggregated.
    * 
* - * 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 { @@ -174,11 +204,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -189,12 +222,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -203,30 +239,30 @@ 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; } } /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @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 { @@ -237,11 +273,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * List filter.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -250,29 +289,29 @@ 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; } } /** + * + * *
    * List filter.
    * 
* * string filter = 4; + * * @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 { @@ -283,11 +322,14 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -296,29 +338,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -327,6 +369,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,8 +381,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_); } @@ -368,8 +410,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -388,23 +429,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.datafusion.v1beta1.ListInstancesRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListInstancesRequest other = (com.google.cloud.datafusion.v1beta1.ListInstancesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.datafusion.v1beta1.ListInstancesRequest other = + (com.google.cloud.datafusion.v1beta1.ListInstancesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -432,117 +469,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.ListInstancesRequest 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 message for listing Data Fusion instances.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListInstancesRequest} */ - 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.datafusion.v1beta1.ListInstancesRequest) com.google.cloud.datafusion.v1beta1.ListInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListInstancesRequest.class, com.google.cloud.datafusion.v1beta1.ListInstancesRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListInstancesRequest.class, + com.google.cloud.datafusion.v1beta1.ListInstancesRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.ListInstancesRequest.newBuilder() @@ -550,16 +597,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(); @@ -577,9 +623,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; } @java.lang.Override @@ -598,7 +644,8 @@ public com.google.cloud.datafusion.v1beta1.ListInstancesRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListInstancesRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.ListInstancesRequest result = new com.google.cloud.datafusion.v1beta1.ListInstancesRequest(this); + com.google.cloud.datafusion.v1beta1.ListInstancesRequest result = + new com.google.cloud.datafusion.v1beta1.ListInstancesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -612,38 +659,39 @@ public com.google.cloud.datafusion.v1beta1.ListInstancesRequest 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.datafusion.v1beta1.ListInstancesRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListInstancesRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListInstancesRequest) other); } else { super.mergeFrom(other); return this; @@ -651,7 +699,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListInstancesRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.ListInstancesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.ListInstancesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -690,7 +739,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.ListInstancesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.ListInstancesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -702,6 +752,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -709,14 +761,16 @@ public Builder mergeFrom(
      * are queried, and the results are aggregated.
      * 
* - * 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; @@ -725,6 +779,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -732,16 +788,17 @@ public java.lang.String getParent() {
      * are queried, and the results are aggregated.
      * 
* - * 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 { @@ -749,6 +806,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -756,21 +815,25 @@ public java.lang.String getParent() {
      * are queried, and the results are aggregated.
      * 
* - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -778,16 +841,21 @@ public Builder setParent(
      * are queried, and the results are aggregated.
      * 
* - * 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 for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -795,29 +863,34 @@ public Builder clearParent() {
      * are queried, and the results are aggregated.
      * 
* - * 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; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -825,30 +898,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; + * * @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 items to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -856,19 +935,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -877,21 +958,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @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 { @@ -899,57 +981,64 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @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; } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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; @@ -957,18 +1046,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * List filter.
      * 
* * string filter = 4; + * * @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; @@ -977,20 +1068,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * List filter.
      * 
* * string filter = 4; + * * @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 { @@ -998,54 +1090,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * List filter.
      * 
* * string filter = 4; + * * @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; } /** + * + * *
      * List filter.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * List filter.
      * 
* * string filter = 4; + * * @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; @@ -1053,18 +1152,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1073,20 +1174,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1094,61 +1196,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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 +1267,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListInstancesRequest) private static final com.google.cloud.datafusion.v1beta1.ListInstancesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListInstancesRequest(); } @@ -1172,16 +1281,16 @@ public static com.google.cloud.datafusion.v1beta1.ListInstancesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstancesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInstancesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1196,6 +1305,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.java index 35d3e645..a3c96a15 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListInstancesRequestOrBuilder extends +public interface ListInstancesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListInstancesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -15,11 +33,16 @@ public interface ListInstancesRequestOrBuilder extends
    * are queried, and the results are aggregated.
    * 
* - * 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 for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -27,81 +50,101 @@ public interface ListInstancesRequestOrBuilder extends
    * are queried, and the results are aggregated.
    * 
* - * 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 maximum number of items to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * List filter.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * List filter.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Sort results. Supported values are "name", "name desc",  or "" (unsorted).
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.java similarity index 74% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.java index 3a6c3ebc..4a618912 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Response message for the list instance request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListInstancesResponse} */ -public final class ListInstancesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInstancesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListInstancesResponse) ListInstancesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInstancesResponse.newBuilder() to construct. private ListInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInstancesResponse() { instances_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListInstancesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInstancesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListInstancesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,42 @@ private ListInstancesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - instances_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + instances_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + instances_.add( + input.readMessage( + com.google.cloud.datafusion.v1beta1.Instance.parser(), extensionRegistry)); + break; } - instances_.add( - input.readMessage(com.google.cloud.datafusion.v1beta1.Instance.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +116,7 @@ private ListInstancesResponse( } 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)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -107,22 +128,27 @@ private ListInstancesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListInstancesResponse.class, com.google.cloud.datafusion.v1beta1.ListInstancesResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListInstancesResponse.class, + com.google.cloud.datafusion.v1beta1.ListInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; private java.util.List instances_; /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -134,6 +160,8 @@ public java.util.List getInstances return instances_; } /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -141,11 +169,13 @@ public java.util.List getInstances * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -157,6 +187,8 @@ public int getInstancesCount() { return instances_.size(); } /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -168,6 +200,8 @@ public com.google.cloud.datafusion.v1beta1.Instance getInstances(int index) { return instances_.get(index); } /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -175,20 +209,22 @@ public com.google.cloud.datafusion.v1beta1.Instance getInstances(int index) { * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuilder(int index) { return instances_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +233,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; } } /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -231,34 +267,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +310,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +338,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 < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -312,8 +358,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < instances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, instances_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, instances_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +379,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.datafusion.v1beta1.ListInstancesResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListInstancesResponse other = (com.google.cloud.datafusion.v1beta1.ListInstancesResponse) obj; + com.google.cloud.datafusion.v1beta1.ListInstancesResponse other = + (com.google.cloud.datafusion.v1beta1.ListInstancesResponse) obj; - if (!getInstancesList() - .equals(other.getInstancesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getInstancesList().equals(other.getInstancesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +417,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.ListInstancesResponse 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 message for the list instance request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListInstancesResponse} */ - 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.datafusion.v1beta1.ListInstancesResponse) com.google.cloud.datafusion.v1beta1.ListInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListInstancesResponse.class, com.google.cloud.datafusion.v1beta1.ListInstancesResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListInstancesResponse.class, + com.google.cloud.datafusion.v1beta1.ListInstancesResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.ListInstancesResponse.newBuilder() @@ -492,17 +545,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) { getInstancesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +573,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; } @java.lang.Override @@ -541,7 +594,8 @@ public com.google.cloud.datafusion.v1beta1.ListInstancesResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListInstancesResponse buildPartial() { - com.google.cloud.datafusion.v1beta1.ListInstancesResponse result = new com.google.cloud.datafusion.v1beta1.ListInstancesResponse(this); + com.google.cloud.datafusion.v1beta1.ListInstancesResponse result = + new com.google.cloud.datafusion.v1beta1.ListInstancesResponse(this); int from_bitField0_ = bitField0_; if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +620,39 @@ public com.google.cloud.datafusion.v1beta1.ListInstancesResponse 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.datafusion.v1beta1.ListInstancesResponse) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListInstancesResponse)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListInstancesResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +660,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListInstancesResponse other) { - if (other == com.google.cloud.datafusion.v1beta1.ListInstancesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.ListInstancesResponse.getDefaultInstance()) + return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -624,9 +680,10 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListInstancesRespon instancesBuilder_ = null; instances_ = other.instances_; bitField0_ = (bitField0_ & ~0x00000001); - instancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getInstancesFieldBuilder() : null; + instancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getInstancesFieldBuilder() + : null; } else { instancesBuilder_.addAllMessages(other.instances_); } @@ -665,7 +722,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.ListInstancesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.ListInstancesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,21 +732,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - instances_ = new java.util.ArrayList(instances_); + instances_ = + new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> instancesBuilder_; + com.google.cloud.datafusion.v1beta1.Instance, + com.google.cloud.datafusion.v1beta1.Instance.Builder, + com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> + instancesBuilder_; /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -703,6 +769,8 @@ public java.util.List getInstances } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -717,6 +785,8 @@ public int getInstancesCount() { } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -731,14 +801,15 @@ public com.google.cloud.datafusion.v1beta1.Instance getInstances(int index) { } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - public Builder setInstances( - int index, com.google.cloud.datafusion.v1beta1.Instance value) { + public Builder setInstances(int index, com.google.cloud.datafusion.v1beta1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,6 +823,8 @@ public Builder setInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -770,6 +843,8 @@ public Builder setInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -790,14 +865,15 @@ public Builder addInstances(com.google.cloud.datafusion.v1beta1.Instance value) return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - public Builder addInstances( - int index, com.google.cloud.datafusion.v1beta1.Instance value) { + public Builder addInstances(int index, com.google.cloud.datafusion.v1beta1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,6 +887,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -829,6 +907,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -847,6 +927,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -857,8 +939,7 @@ public Builder addAllInstances( java.lang.Iterable values) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); onChanged(); } else { instancesBuilder_.addAllMessages(values); @@ -866,6 +947,8 @@ public Builder addAllInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -883,6 +966,8 @@ public Builder clearInstances() { return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -900,39 +985,44 @@ public Builder removeInstances(int index) { return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - public com.google.cloud.datafusion.v1beta1.Instance.Builder getInstancesBuilder( - int index) { + public com.google.cloud.datafusion.v1beta1.Instance.Builder getInstancesBuilder(int index) { return getInstancesFieldBuilder().getBuilder(index); } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuilder(int index) { if (instancesBuilder_ == null) { - return instances_.get(index); } else { + return instances_.get(index); + } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -940,6 +1030,8 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuild } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -947,42 +1039,48 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuild * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ public com.google.cloud.datafusion.v1beta1.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder().addBuilder( - com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance()); + return getInstancesFieldBuilder() + .addBuilder(com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance()); } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - public com.google.cloud.datafusion.v1beta1.Instance.Builder addInstancesBuilder( - int index) { - return getInstancesFieldBuilder().addBuilder( - index, com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance()); + public com.google.cloud.datafusion.v1beta1.Instance.Builder addInstancesBuilder(int index) { + return getInstancesFieldBuilder() + .addBuilder(index, com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance()); } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> + com.google.cloud.datafusion.v1beta1.Instance, + com.google.cloud.datafusion.v1beta1.Instance.Builder, + com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder>( - instances_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + instancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.Instance, + com.google.cloud.datafusion.v1beta1.Instance.Builder, + com.google.cloud.datafusion.v1beta1.InstanceOrBuilder>( + instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); instances_ = null; } return instancesBuilder_; @@ -990,19 +1088,21 @@ public com.google.cloud.datafusion.v1beta1.Instance.Builder addInstancesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -1011,21 +1111,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1033,98 +1134,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1250,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1343,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.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); } @@ -1246,12 +1376,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListInstancesResponse) private static final com.google.cloud.datafusion.v1beta1.ListInstancesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListInstancesResponse(); } @@ -1260,16 +1390,16 @@ public static com.google.cloud.datafusion.v1beta1.ListInstancesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstancesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInstancesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1414,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.java index ffe785b9..7192e421 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListInstancesResponseOrBuilder extends +public interface ListInstancesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - java.util.List - getInstancesList(); + java.util.List getInstancesList(); /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -25,6 +44,8 @@ public interface ListInstancesResponseOrBuilder extends */ com.google.cloud.datafusion.v1beta1.Instance getInstances(int index); /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -33,84 +54,102 @@ public interface ListInstancesResponseOrBuilder extends */ int getInstancesCount(); /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
* * repeated .google.cloud.datafusion.v1beta1.Instance instances = 1; */ - com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuilder( - int index); + com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.java similarity index 69% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.java index 954867b5..6539cdba 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * List namespaces request.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListNamespacesRequest} */ -public final class ListNamespacesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListNamespacesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListNamespacesRequest) ListNamespacesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListNamespacesRequest.newBuilder() to construct. private ListNamespacesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListNamespacesRequest() { parent_ = ""; pageToken_ = ""; @@ -27,16 +45,15 @@ private ListNamespacesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListNamespacesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListNamespacesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListNamespacesRequest( 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 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + pageToken_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,41 @@ private ListNamespacesRequest( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.class, com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.class, + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The instance to list its namespaces.
    * 
* - * 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 @@ -128,29 +155,31 @@ 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 instance to list its namespaces.
    * 
* - * 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 { @@ -161,11 +190,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -176,12 +208,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -190,30 +225,30 @@ 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; } } /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @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 { @@ -224,6 +259,8 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** + * + * *
    * By default, only basic information about a namespace is returned
    * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -232,12 +269,16 @@ public java.lang.String getPageToken() {
    * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * By default, only basic information about a namespace is returned
    * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -246,15 +287,19 @@ public java.lang.String getPageToken() {
    * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; + * * @return The view. */ - @java.lang.Override public com.google.cloud.datafusion.v1beta1.NamespaceView getView() { + @java.lang.Override + public com.google.cloud.datafusion.v1beta1.NamespaceView getView() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.NamespaceView result = com.google.cloud.datafusion.v1beta1.NamespaceView.valueOf(view_); + com.google.cloud.datafusion.v1beta1.NamespaceView result = + com.google.cloud.datafusion.v1beta1.NamespaceView.valueOf(view_); return result == null ? com.google.cloud.datafusion.v1beta1.NamespaceView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,8 +311,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_); } @@ -277,7 +321,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ != com.google.cloud.datafusion.v1beta1.NamespaceView.NAMESPACE_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.datafusion.v1beta1.NamespaceView.NAMESPACE_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(4, view_); } unknownFields.writeTo(output); @@ -293,15 +339,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (view_ != com.google.cloud.datafusion.v1beta1.NamespaceView.NAMESPACE_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, view_); + if (view_ + != com.google.cloud.datafusion.v1beta1.NamespaceView.NAMESPACE_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -311,19 +357,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.datafusion.v1beta1.ListNamespacesRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest other = (com.google.cloud.datafusion.v1beta1.ListNamespacesRequest) obj; + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest other = + (com.google.cloud.datafusion.v1beta1.ListNamespacesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -350,117 +394,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest 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; } /** + * + * *
    * List namespaces request.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListNamespacesRequest} */ - 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.datafusion.v1beta1.ListNamespacesRequest) com.google.cloud.datafusion.v1beta1.ListNamespacesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.class, com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.class, + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.newBuilder() @@ -468,16 +522,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(); @@ -493,9 +546,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; } @java.lang.Override @@ -514,7 +567,8 @@ public com.google.cloud.datafusion.v1beta1.ListNamespacesRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListNamespacesRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.ListNamespacesRequest result = new com.google.cloud.datafusion.v1beta1.ListNamespacesRequest(this); + com.google.cloud.datafusion.v1beta1.ListNamespacesRequest result = + new com.google.cloud.datafusion.v1beta1.ListNamespacesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -527,38 +581,39 @@ public com.google.cloud.datafusion.v1beta1.ListNamespacesRequest 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.datafusion.v1beta1.ListNamespacesRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListNamespacesRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListNamespacesRequest) other); } else { super.mergeFrom(other); return this; @@ -566,7 +621,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListNamespacesRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.ListNamespacesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -600,7 +656,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.ListNamespacesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.ListNamespacesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -612,18 +669,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The instance to list its namespaces.
      * 
* - * 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; @@ -632,20 +693,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The instance to list its namespaces.
      * 
* - * 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 { @@ -653,66 +717,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The instance to list its namespaces.
      * 
* - * 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 instance to list its namespaces.
      * 
* - * 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 instance to list its namespaces.
      * 
* - * 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; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -720,30 +800,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; + * * @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 items to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -751,19 +837,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -772,21 +860,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @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 { @@ -794,57 +883,64 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @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; } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value to use if there are additional
      * results to retrieve for this list request.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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; @@ -852,6 +948,8 @@ public Builder setPageTokenBytes( private int view_ = 0; /** + * + * *
      * By default, only basic information about a namespace is returned
      * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -860,12 +958,16 @@ public Builder setPageTokenBytes(
      * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * By default, only basic information about a namespace is returned
      * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -874,16 +976,19 @@ public Builder setPageTokenBytes(
      * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * By default, only basic information about a namespace is returned
      * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -892,15 +997,21 @@ public Builder setViewValue(int value) {
      * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; + * * @return The view. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.NamespaceView getView() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.NamespaceView result = com.google.cloud.datafusion.v1beta1.NamespaceView.valueOf(view_); - return result == null ? com.google.cloud.datafusion.v1beta1.NamespaceView.UNRECOGNIZED : result; + com.google.cloud.datafusion.v1beta1.NamespaceView result = + com.google.cloud.datafusion.v1beta1.NamespaceView.valueOf(view_); + return result == null + ? com.google.cloud.datafusion.v1beta1.NamespaceView.UNRECOGNIZED + : result; } /** + * + * *
      * By default, only basic information about a namespace is returned
      * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -909,6 +1020,7 @@ public com.google.cloud.datafusion.v1beta1.NamespaceView getView() {
      * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; + * * @param value The view to set. * @return This builder for chaining. */ @@ -916,12 +1028,14 @@ public Builder setView(com.google.cloud.datafusion.v1beta1.NamespaceView value) if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * By default, only basic information about a namespace is returned
      * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -930,17 +1044,18 @@ public Builder setView(com.google.cloud.datafusion.v1beta1.NamespaceView value)
      * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -950,12 +1065,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListNamespacesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListNamespacesRequest) private static final com.google.cloud.datafusion.v1beta1.ListNamespacesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListNamespacesRequest(); } @@ -964,16 +1079,16 @@ public static com.google.cloud.datafusion.v1beta1.ListNamespacesRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNamespacesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNamespacesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNamespacesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListNamespacesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -988,6 +1103,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.ListNamespacesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java index 34896e32..3dd8e241 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java @@ -1,65 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListNamespacesRequestOrBuilder extends +public interface ListNamespacesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListNamespacesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The instance to list its namespaces.
    * 
* - * 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 instance to list its namespaces.
    * 
* - * 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 maximum number of items to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value to use if there are additional
    * results to retrieve for this list request.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * By default, only basic information about a namespace is returned
    * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -68,10 +103,13 @@ public interface ListNamespacesRequestOrBuilder extends
    * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * By default, only basic information about a namespace is returned
    * (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional
@@ -80,6 +118,7 @@ public interface ListNamespacesRequestOrBuilder extends
    * 
* * .google.cloud.datafusion.v1beta1.NamespaceView view = 4; + * * @return The view. */ com.google.cloud.datafusion.v1beta1.NamespaceView getView(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.java similarity index 73% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.java index 9127753a..7d6a143a 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * List namespaces response.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListNamespacesResponse} */ -public final class ListNamespacesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListNamespacesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.ListNamespacesResponse) ListNamespacesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListNamespacesResponse.newBuilder() to construct. private ListNamespacesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListNamespacesResponse() { namespaces_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListNamespacesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListNamespacesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListNamespacesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListNamespacesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - namespaces_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + namespaces_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + namespaces_.add( + input.readMessage( + com.google.cloud.datafusion.v1beta1.Namespace.parser(), extensionRegistry)); + break; } - namespaces_.add( - input.readMessage(com.google.cloud.datafusion.v1beta1.Namespace.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 +105,7 @@ private ListNamespacesResponse( } 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)) { namespaces_ = java.util.Collections.unmodifiableList(namespaces_); @@ -94,22 +114,27 @@ private ListNamespacesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.class, com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.class, + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.Builder.class); } public static final int NAMESPACES_FIELD_NUMBER = 1; private java.util.List namespaces_; /** + * + * *
    * List of namespaces
    * 
@@ -121,6 +146,8 @@ public java.util.List getNamespac return namespaces_; } /** + * + * *
    * List of namespaces
    * 
@@ -128,11 +155,13 @@ public java.util.List getNamespac * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ @java.lang.Override - public java.util.List + public java.util.List getNamespacesOrBuilderList() { return namespaces_; } /** + * + * *
    * List of namespaces
    * 
@@ -144,6 +173,8 @@ public int getNamespacesCount() { return namespaces_.size(); } /** + * + * *
    * List of namespaces
    * 
@@ -155,6 +186,8 @@ public com.google.cloud.datafusion.v1beta1.Namespace getNamespaces(int index) { return namespaces_.get(index); } /** + * + * *
    * List of namespaces
    * 
@@ -162,20 +195,22 @@ public com.google.cloud.datafusion.v1beta1.Namespace getNamespaces(int index) { * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ @java.lang.Override - public com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBuilder( - int index) { + public com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBuilder(int index) { return namespaces_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,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; } } /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,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 < namespaces_.size(); i++) { output.writeMessage(1, namespaces_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < namespaces_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, namespaces_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, namespaces_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,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.datafusion.v1beta1.ListNamespacesResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse other = (com.google.cloud.datafusion.v1beta1.ListNamespacesResponse) obj; + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse other = + (com.google.cloud.datafusion.v1beta1.ListNamespacesResponse) obj; - if (!getNamespacesList() - .equals(other.getNamespacesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getNamespacesList().equals(other.getNamespacesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse 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; } /** + * + * *
    * List namespaces response.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.ListNamespacesResponse} */ - 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.datafusion.v1beta1.ListNamespacesResponse) com.google.cloud.datafusion.v1beta1.ListNamespacesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.class, com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.class, + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.newBuilder() @@ -411,17 +454,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) { getNamespacesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; } @java.lang.Override @@ -458,7 +501,8 @@ public com.google.cloud.datafusion.v1beta1.ListNamespacesResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.ListNamespacesResponse buildPartial() { - com.google.cloud.datafusion.v1beta1.ListNamespacesResponse result = new com.google.cloud.datafusion.v1beta1.ListNamespacesResponse(this); + com.google.cloud.datafusion.v1beta1.ListNamespacesResponse result = + new com.google.cloud.datafusion.v1beta1.ListNamespacesResponse(this); int from_bitField0_ = bitField0_; if (namespacesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +522,39 @@ public com.google.cloud.datafusion.v1beta1.ListNamespacesResponse 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.datafusion.v1beta1.ListNamespacesResponse) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.ListNamespacesResponse)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.ListNamespacesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListNamespacesResponse other) { - if (other == com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.ListNamespacesResponse.getDefaultInstance()) + return this; if (namespacesBuilder_ == null) { if (!other.namespaces_.isEmpty()) { if (namespaces_.isEmpty()) { @@ -536,9 +582,10 @@ public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.ListNamespacesRespo namespacesBuilder_ = null; namespaces_ = other.namespaces_; bitField0_ = (bitField0_ & ~0x00000001); - namespacesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNamespacesFieldBuilder() : null; + namespacesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNamespacesFieldBuilder() + : null; } else { namespacesBuilder_.addAllMessages(other.namespaces_); } @@ -567,7 +614,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.ListNamespacesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.ListNamespacesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +624,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List namespaces_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNamespacesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - namespaces_ = new java.util.ArrayList(namespaces_); + namespaces_ = + new java.util.ArrayList(namespaces_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Namespace, com.google.cloud.datafusion.v1beta1.Namespace.Builder, com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder> namespacesBuilder_; + com.google.cloud.datafusion.v1beta1.Namespace, + com.google.cloud.datafusion.v1beta1.Namespace.Builder, + com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder> + namespacesBuilder_; /** + * + * *
      * List of namespaces
      * 
@@ -605,6 +661,8 @@ public java.util.List getNamespac } } /** + * + * *
      * List of namespaces
      * 
@@ -619,6 +677,8 @@ public int getNamespacesCount() { } } /** + * + * *
      * List of namespaces
      * 
@@ -633,14 +693,15 @@ public com.google.cloud.datafusion.v1beta1.Namespace getNamespaces(int index) { } } /** + * + * *
      * List of namespaces
      * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - public Builder setNamespaces( - int index, com.google.cloud.datafusion.v1beta1.Namespace value) { + public Builder setNamespaces(int index, com.google.cloud.datafusion.v1beta1.Namespace value) { if (namespacesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +715,8 @@ public Builder setNamespaces( return this; } /** + * + * *
      * List of namespaces
      * 
@@ -672,6 +735,8 @@ public Builder setNamespaces( return this; } /** + * + * *
      * List of namespaces
      * 
@@ -692,14 +757,15 @@ public Builder addNamespaces(com.google.cloud.datafusion.v1beta1.Namespace value return this; } /** + * + * *
      * List of namespaces
      * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - public Builder addNamespaces( - int index, com.google.cloud.datafusion.v1beta1.Namespace value) { + public Builder addNamespaces(int index, com.google.cloud.datafusion.v1beta1.Namespace value) { if (namespacesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +779,8 @@ public Builder addNamespaces( return this; } /** + * + * *
      * List of namespaces
      * 
@@ -731,6 +799,8 @@ public Builder addNamespaces( return this; } /** + * + * *
      * List of namespaces
      * 
@@ -749,6 +819,8 @@ public Builder addNamespaces( return this; } /** + * + * *
      * List of namespaces
      * 
@@ -759,8 +831,7 @@ public Builder addAllNamespaces( java.lang.Iterable values) { if (namespacesBuilder_ == null) { ensureNamespacesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, namespaces_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, namespaces_); onChanged(); } else { namespacesBuilder_.addAllMessages(values); @@ -768,6 +839,8 @@ public Builder addAllNamespaces( return this; } /** + * + * *
      * List of namespaces
      * 
@@ -785,6 +858,8 @@ public Builder clearNamespaces() { return this; } /** + * + * *
      * List of namespaces
      * 
@@ -802,17 +877,20 @@ public Builder removeNamespaces(int index) { return this; } /** + * + * *
      * List of namespaces
      * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - public com.google.cloud.datafusion.v1beta1.Namespace.Builder getNamespacesBuilder( - int index) { + public com.google.cloud.datafusion.v1beta1.Namespace.Builder getNamespacesBuilder(int index) { return getNamespacesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of namespaces
      * 
@@ -822,19 +900,22 @@ public com.google.cloud.datafusion.v1beta1.Namespace.Builder getNamespacesBuilde public com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBuilder( int index) { if (namespacesBuilder_ == null) { - return namespaces_.get(index); } else { + return namespaces_.get(index); + } else { return namespacesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of namespaces
      * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - public java.util.List - getNamespacesOrBuilderList() { + public java.util.List + getNamespacesOrBuilderList() { if (namespacesBuilder_ != null) { return namespacesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +923,8 @@ public com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBui } } /** + * + * *
      * List of namespaces
      * 
@@ -849,42 +932,48 @@ public com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBui * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ public com.google.cloud.datafusion.v1beta1.Namespace.Builder addNamespacesBuilder() { - return getNamespacesFieldBuilder().addBuilder( - com.google.cloud.datafusion.v1beta1.Namespace.getDefaultInstance()); + return getNamespacesFieldBuilder() + .addBuilder(com.google.cloud.datafusion.v1beta1.Namespace.getDefaultInstance()); } /** + * + * *
      * List of namespaces
      * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - public com.google.cloud.datafusion.v1beta1.Namespace.Builder addNamespacesBuilder( - int index) { - return getNamespacesFieldBuilder().addBuilder( - index, com.google.cloud.datafusion.v1beta1.Namespace.getDefaultInstance()); + public com.google.cloud.datafusion.v1beta1.Namespace.Builder addNamespacesBuilder(int index) { + return getNamespacesFieldBuilder() + .addBuilder(index, com.google.cloud.datafusion.v1beta1.Namespace.getDefaultInstance()); } /** + * + * *
      * List of namespaces
      * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - public java.util.List - getNamespacesBuilderList() { + public java.util.List + getNamespacesBuilderList() { return getNamespacesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Namespace, com.google.cloud.datafusion.v1beta1.Namespace.Builder, com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder> + com.google.cloud.datafusion.v1beta1.Namespace, + com.google.cloud.datafusion.v1beta1.Namespace.Builder, + com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder> getNamespacesFieldBuilder() { if (namespacesBuilder_ == null) { - namespacesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Namespace, com.google.cloud.datafusion.v1beta1.Namespace.Builder, com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder>( - namespaces_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + namespacesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.Namespace, + com.google.cloud.datafusion.v1beta1.Namespace.Builder, + com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder>( + namespaces_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); namespaces_ = null; } return namespacesBuilder_; @@ -892,19 +981,21 @@ public com.google.cloud.datafusion.v1beta1.Namespace.Builder addNamespacesBuilde private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 +1004,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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 +1027,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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; } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results or empty if there are no more
      * results in the list.
      * 
* * 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,12 +1101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.ListNamespacesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.ListNamespacesResponse) private static final com.google.cloud.datafusion.v1beta1.ListNamespacesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.ListNamespacesResponse(); } @@ -1016,16 +1115,16 @@ public static com.google.cloud.datafusion.v1beta1.ListNamespacesResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNamespacesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNamespacesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNamespacesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListNamespacesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1139,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.ListNamespacesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.java index 4804d533..b9ec7ca0 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface ListNamespacesResponseOrBuilder extends +public interface ListNamespacesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.ListNamespacesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of namespaces
    * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - java.util.List - getNamespacesList(); + java.util.List getNamespacesList(); /** + * + * *
    * List of namespaces
    * 
@@ -25,6 +44,8 @@ public interface ListNamespacesResponseOrBuilder extends */ com.google.cloud.datafusion.v1beta1.Namespace getNamespaces(int index); /** + * + * *
    * List of namespaces
    * 
@@ -33,43 +54,51 @@ public interface ListNamespacesResponseOrBuilder extends */ int getNamespacesCount(); /** + * + * *
    * List of namespaces
    * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - java.util.List + java.util.List getNamespacesOrBuilderList(); /** + * + * *
    * List of namespaces
    * 
* * repeated .google.cloud.datafusion.v1beta1.Namespace namespaces = 1; */ - com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBuilder( - int index); + com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results or empty if there are no more
    * results in the list.
    * 
* * 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/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/LocationName.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/LocationName.java similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/LocationName.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/LocationName.java diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.java similarity index 69% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.java index 5602938a..2bce8a68 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Represents the information of a namespace
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Namespace} */ -public final class Namespace extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Namespace extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.Namespace) NamespaceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Namespace.newBuilder() to construct. private Namespace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Namespace() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Namespace(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Namespace( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,36 @@ private Namespace( 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.cloud.datafusion.v1beta1.IAMPolicy.Builder subBuilder = null; - if (iamPolicy_ != null) { - subBuilder = iamPolicy_.toBuilder(); + name_ = s; + break; } - iamPolicy_ = input.readMessage(com.google.cloud.datafusion.v1beta1.IAMPolicy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(iamPolicy_); - iamPolicy_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder subBuilder = null; + if (iamPolicy_ != null) { + subBuilder = iamPolicy_.toBuilder(); + } + iamPolicy_ = + input.readMessage( + com.google.cloud.datafusion.v1beta1.IAMPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(iamPolicy_); + iamPolicy_ = 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,34 +107,39 @@ private Namespace( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Namespace.class, com.google.cloud.datafusion.v1beta1.Namespace.Builder.class); + com.google.cloud.datafusion.v1beta1.Namespace.class, + com.google.cloud.datafusion.v1beta1.Namespace.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Name of the given namespace.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -122,29 +148,29 @@ 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; } } /** + * + * *
    * Name of the given namespace.
    * 
* * string name = 1; + * * @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 { @@ -155,11 +181,14 @@ public java.lang.String getName() { public static final int IAM_POLICY_FIELD_NUMBER = 2; private com.google.cloud.datafusion.v1beta1.IAMPolicy iamPolicy_; /** + * + * *
    * IAM policy associated with this namespace.
    * 
* * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; + * * @return Whether the iamPolicy field is set. */ @java.lang.Override @@ -167,18 +196,25 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** + * + * *
    * IAM policy associated with this namespace.
    * 
* * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; + * * @return The iamPolicy. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.IAMPolicy getIamPolicy() { - return iamPolicy_ == null ? com.google.cloud.datafusion.v1beta1.IAMPolicy.getDefaultInstance() : iamPolicy_; + return iamPolicy_ == null + ? com.google.cloud.datafusion.v1beta1.IAMPolicy.getDefaultInstance() + : iamPolicy_; } /** + * + * *
    * IAM policy associated with this namespace.
    * 
@@ -191,6 +227,7 @@ public com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder getIamPolicyOrBuil } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +239,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_); } @@ -223,8 +259,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (iamPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getIamPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIamPolicy()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,19 +269,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.datafusion.v1beta1.Namespace)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.Namespace other = (com.google.cloud.datafusion.v1beta1.Namespace) obj; + com.google.cloud.datafusion.v1beta1.Namespace other = + (com.google.cloud.datafusion.v1beta1.Namespace) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasIamPolicy() != other.hasIamPolicy()) return false; if (hasIamPolicy()) { - if (!getIamPolicy() - .equals(other.getIamPolicy())) return false; + if (!getIamPolicy().equals(other.getIamPolicy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -270,118 +304,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1beta1.Namespace parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1beta1.Namespace parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.Namespace parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.Namespace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.Namespace parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace 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 information of a namespace
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Namespace} */ - 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.datafusion.v1beta1.Namespace) com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Namespace.class, com.google.cloud.datafusion.v1beta1.Namespace.Builder.class); + com.google.cloud.datafusion.v1beta1.Namespace.class, + com.google.cloud.datafusion.v1beta1.Namespace.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.Namespace.newBuilder() @@ -389,16 +432,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(); @@ -414,9 +456,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; } @java.lang.Override @@ -435,7 +477,8 @@ public com.google.cloud.datafusion.v1beta1.Namespace build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.Namespace buildPartial() { - com.google.cloud.datafusion.v1beta1.Namespace result = new com.google.cloud.datafusion.v1beta1.Namespace(this); + com.google.cloud.datafusion.v1beta1.Namespace result = + new com.google.cloud.datafusion.v1beta1.Namespace(this); result.name_ = name_; if (iamPolicyBuilder_ == null) { result.iamPolicy_ = iamPolicy_; @@ -450,38 +493,39 @@ public com.google.cloud.datafusion.v1beta1.Namespace 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.datafusion.v1beta1.Namespace) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.Namespace)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.Namespace) other); } else { super.mergeFrom(other); return this; @@ -528,18 +572,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Name of the given namespace.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -548,20 +594,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the given namespace.
      * 
* * string name = 1; + * * @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 { @@ -569,54 +616,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the given namespace.
      * 
* * string name = 1; + * * @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; } /** + * + * *
      * Name of the given namespace.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Name of the given namespace.
      * 
* * string name = 1; + * * @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; @@ -624,34 +678,47 @@ public Builder setNameBytes( private com.google.cloud.datafusion.v1beta1.IAMPolicy iamPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.IAMPolicy, com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder, com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder> iamPolicyBuilder_; + com.google.cloud.datafusion.v1beta1.IAMPolicy, + com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder, + com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder> + iamPolicyBuilder_; /** + * + * *
      * IAM policy associated with this namespace.
      * 
* * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; + * * @return Whether the iamPolicy field is set. */ public boolean hasIamPolicy() { return iamPolicyBuilder_ != null || iamPolicy_ != null; } /** + * + * *
      * IAM policy associated with this namespace.
      * 
* * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; + * * @return The iamPolicy. */ public com.google.cloud.datafusion.v1beta1.IAMPolicy getIamPolicy() { if (iamPolicyBuilder_ == null) { - return iamPolicy_ == null ? com.google.cloud.datafusion.v1beta1.IAMPolicy.getDefaultInstance() : iamPolicy_; + return iamPolicy_ == null + ? com.google.cloud.datafusion.v1beta1.IAMPolicy.getDefaultInstance() + : iamPolicy_; } else { return iamPolicyBuilder_.getMessage(); } } /** + * + * *
      * IAM policy associated with this namespace.
      * 
@@ -672,6 +739,8 @@ public Builder setIamPolicy(com.google.cloud.datafusion.v1beta1.IAMPolicy value) return this; } /** + * + * *
      * IAM policy associated with this namespace.
      * 
@@ -690,6 +759,8 @@ public Builder setIamPolicy( return this; } /** + * + * *
      * IAM policy associated with this namespace.
      * 
@@ -700,7 +771,9 @@ public Builder mergeIamPolicy(com.google.cloud.datafusion.v1beta1.IAMPolicy valu if (iamPolicyBuilder_ == null) { if (iamPolicy_ != null) { iamPolicy_ = - com.google.cloud.datafusion.v1beta1.IAMPolicy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial(); + com.google.cloud.datafusion.v1beta1.IAMPolicy.newBuilder(iamPolicy_) + .mergeFrom(value) + .buildPartial(); } else { iamPolicy_ = value; } @@ -712,6 +785,8 @@ public Builder mergeIamPolicy(com.google.cloud.datafusion.v1beta1.IAMPolicy valu return this; } /** + * + * *
      * IAM policy associated with this namespace.
      * 
@@ -730,6 +805,8 @@ public Builder clearIamPolicy() { return this; } /** + * + * *
      * IAM policy associated with this namespace.
      * 
@@ -737,11 +814,13 @@ public Builder clearIamPolicy() { * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; */ public com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder getIamPolicyBuilder() { - + onChanged(); return getIamPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * IAM policy associated with this namespace.
      * 
@@ -752,11 +831,14 @@ public com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder getIamPolicyOrBuil if (iamPolicyBuilder_ != null) { return iamPolicyBuilder_.getMessageOrBuilder(); } else { - return iamPolicy_ == null ? - com.google.cloud.datafusion.v1beta1.IAMPolicy.getDefaultInstance() : iamPolicy_; + return iamPolicy_ == null + ? com.google.cloud.datafusion.v1beta1.IAMPolicy.getDefaultInstance() + : iamPolicy_; } } /** + * + * *
      * IAM policy associated with this namespace.
      * 
@@ -764,21 +846,24 @@ public com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder getIamPolicyOrBuil * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.IAMPolicy, com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder, com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder> + com.google.cloud.datafusion.v1beta1.IAMPolicy, + com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder, + com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder> getIamPolicyFieldBuilder() { if (iamPolicyBuilder_ == null) { - iamPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.IAMPolicy, com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder, com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder>( - getIamPolicy(), - getParentForChildren(), - isClean()); + iamPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.IAMPolicy, + com.google.cloud.datafusion.v1beta1.IAMPolicy.Builder, + com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder>( + getIamPolicy(), getParentForChildren(), isClean()); iamPolicy_ = null; } return iamPolicyBuilder_; } + @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); } @@ -788,12 +873,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.Namespace) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.Namespace) private static final com.google.cloud.datafusion.v1beta1.Namespace DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.Namespace(); } @@ -802,16 +887,16 @@ public static com.google.cloud.datafusion.v1beta1.Namespace getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Namespace parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Namespace(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Namespace parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Namespace(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,6 +911,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.Namespace getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java similarity index 63% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java index 6e0aa77b..30778ae7 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java @@ -1,51 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface NamespaceOrBuilder extends +public interface NamespaceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.Namespace) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the given namespace.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Name of the given namespace.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * IAM policy associated with this namespace.
    * 
* * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; + * * @return Whether the iamPolicy field is set. */ boolean hasIamPolicy(); /** + * + * *
    * IAM policy associated with this namespace.
    * 
* * .google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2; + * * @return The iamPolicy. */ com.google.cloud.datafusion.v1beta1.IAMPolicy getIamPolicy(); /** + * + * *
    * IAM policy associated with this namespace.
    * 
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java index a3bed825..bb070c76 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * A view for Namespace
  * 
* * Protobuf enum {@code google.cloud.datafusion.v1beta1.NamespaceView} */ -public enum NamespaceView - implements com.google.protobuf.ProtocolMessageEnum { +public enum NamespaceView implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default/unset value, which will use BASIC view.
    * 
@@ -21,6 +39,8 @@ public enum NamespaceView */ NAMESPACE_VIEW_UNSPECIFIED(0), /** + * + * *
    * Show the most basic metadata of a namespace
    * 
@@ -29,6 +49,8 @@ public enum NamespaceView */ NAMESPACE_VIEW_BASIC(1), /** + * + * *
    * Returns all metadata of a namespace
    * 
@@ -40,6 +62,8 @@ public enum NamespaceView ; /** + * + * *
    * Default/unset value, which will use BASIC view.
    * 
@@ -48,6 +72,8 @@ public enum NamespaceView */ public static final int NAMESPACE_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Show the most basic metadata of a namespace
    * 
@@ -56,6 +82,8 @@ public enum NamespaceView */ public static final int NAMESPACE_VIEW_BASIC_VALUE = 1; /** + * + * *
    * Returns all metadata of a namespace
    * 
@@ -64,7 +92,6 @@ public enum NamespaceView */ public static final int NAMESPACE_VIEW_FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,49 @@ public static NamespaceView valueOf(int value) { */ public static NamespaceView forNumber(int value) { switch (value) { - case 0: return NAMESPACE_VIEW_UNSPECIFIED; - case 1: return NAMESPACE_VIEW_BASIC; - case 2: return NAMESPACE_VIEW_FULL; - default: return null; + case 0: + return NAMESPACE_VIEW_UNSPECIFIED; + case 1: + return NAMESPACE_VIEW_BASIC; + case 2: + return NAMESPACE_VIEW_FULL; + 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< - NamespaceView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public NamespaceView findValueByNumber(int number) { - return NamespaceView.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 NamespaceView findValueByNumber(int number) { + return NamespaceView.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.datafusion.v1beta1.V1Beta1.getDescriptor().getEnumTypes().get(0); } private static final NamespaceView[] VALUES = values(); - public static NamespaceView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static NamespaceView 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; @@ -147,4 +174,3 @@ private NamespaceView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datafusion.v1beta1.NamespaceView) } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.java similarity index 73% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.java index edb3ab98..98313eb0 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Network configuration for a Data Fusion instance. These configurations
  * are used for peering with the customer network. Configurations are optional
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1beta1.NetworkConfig}
  */
-public final class NetworkConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NetworkConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.NetworkConfig)
     NetworkConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NetworkConfig.newBuilder() to construct.
   private NetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NetworkConfig() {
     network_ = "";
     ipAllocation_ = "";
@@ -31,16 +49,15 @@ private NetworkConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NetworkConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NetworkConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,25 +76,27 @@ private NetworkConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            network_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              network_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            ipAllocation_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              ipAllocation_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +104,33 @@ private NetworkConfig(
     } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datafusion.v1beta1.V1Beta1
+        .internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable
+    return com.google.cloud.datafusion.v1beta1.V1Beta1
+        .internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1beta1.NetworkConfig.class, com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder.class);
+            com.google.cloud.datafusion.v1beta1.NetworkConfig.class,
+            com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder.class);
   }
 
   public static final int NETWORK_FIELD_NUMBER = 1;
   private volatile java.lang.Object network_;
   /**
+   *
+   *
    * 
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -116,6 +139,7 @@ private NetworkConfig(
    * 
* * string network = 1; + * * @return The network. */ @java.lang.Override @@ -124,14 +148,15 @@ public java.lang.String getNetwork() { 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(); network_ = s; return s; } } /** + * + * *
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -140,16 +165,15 @@ public java.lang.String getNetwork() {
    * 
* * string network = 1; + * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; 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); network_ = b; return b; } else { @@ -160,6 +184,8 @@ public java.lang.String getNetwork() { public static final int IP_ALLOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object ipAllocation_; /** + * + * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the Data
@@ -167,6 +193,7 @@ public java.lang.String getNetwork() {
    * 
* * string ip_allocation = 2; + * * @return The ipAllocation. */ @java.lang.Override @@ -175,14 +202,15 @@ public java.lang.String getIpAllocation() { 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(); ipAllocation_ = s; return s; } } /** + * + * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the Data
@@ -190,16 +218,15 @@ public java.lang.String getIpAllocation() {
    * 
* * string ip_allocation = 2; + * * @return The bytes for ipAllocation. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpAllocationBytes() { + public com.google.protobuf.ByteString getIpAllocationBytes() { java.lang.Object ref = ipAllocation_; 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); ipAllocation_ = b; return b; } else { @@ -208,6 +235,7 @@ public java.lang.String getIpAllocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,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(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -250,17 +277,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.datafusion.v1beta1.NetworkConfig)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.NetworkConfig other = (com.google.cloud.datafusion.v1beta1.NetworkConfig) obj; + com.google.cloud.datafusion.v1beta1.NetworkConfig other = + (com.google.cloud.datafusion.v1beta1.NetworkConfig) obj; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getIpAllocation() - .equals(other.getIpAllocation())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getIpAllocation().equals(other.getIpAllocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -282,96 +308,103 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.NetworkConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.NetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.NetworkConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.NetworkConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig 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; } /** + * + * *
    * Network configuration for a Data Fusion instance. These configurations
    * are used for peering with the customer network. Configurations are optional
@@ -383,21 +416,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datafusion.v1beta1.NetworkConfig}
    */
-  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.datafusion.v1beta1.NetworkConfig)
       com.google.cloud.datafusion.v1beta1.NetworkConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1beta1.NetworkConfig.class, com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder.class);
+              com.google.cloud.datafusion.v1beta1.NetworkConfig.class,
+              com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1beta1.NetworkConfig.newBuilder()
@@ -405,16 +440,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();
@@ -426,9 +460,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor;
     }
 
     @java.lang.Override
@@ -447,7 +481,8 @@ public com.google.cloud.datafusion.v1beta1.NetworkConfig build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1beta1.NetworkConfig buildPartial() {
-      com.google.cloud.datafusion.v1beta1.NetworkConfig result = new com.google.cloud.datafusion.v1beta1.NetworkConfig(this);
+      com.google.cloud.datafusion.v1beta1.NetworkConfig result =
+          new com.google.cloud.datafusion.v1beta1.NetworkConfig(this);
       result.network_ = network_;
       result.ipAllocation_ = ipAllocation_;
       onBuilt();
@@ -458,38 +493,39 @@ public com.google.cloud.datafusion.v1beta1.NetworkConfig 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.datafusion.v1beta1.NetworkConfig) {
-        return mergeFrom((com.google.cloud.datafusion.v1beta1.NetworkConfig)other);
+        return mergeFrom((com.google.cloud.datafusion.v1beta1.NetworkConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -497,7 +533,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.NetworkConfig other) {
-      if (other == com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datafusion.v1beta1.NetworkConfig.getDefaultInstance())
+        return this;
       if (!other.getNetwork().isEmpty()) {
         network_ = other.network_;
         onChanged();
@@ -525,7 +562,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.datafusion.v1beta1.NetworkConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.datafusion.v1beta1.NetworkConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -537,6 +575,8 @@ public Builder mergeFrom(
 
     private java.lang.Object network_ = "";
     /**
+     *
+     *
      * 
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -545,13 +585,13 @@ public Builder mergeFrom(
      * 
* * string network = 1; + * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; 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(); network_ = s; return s; @@ -560,6 +600,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -568,15 +610,14 @@ public java.lang.String getNetwork() {
      * 
* * string network = 1; + * * @return The bytes for network. */ - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; 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); network_ = b; return b; } else { @@ -584,6 +625,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -592,20 +635,22 @@ public java.lang.String getNetwork() {
      * 
* * string network = 1; + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { + public Builder setNetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** + * + * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -614,15 +659,18 @@ public Builder setNetwork(
      * 
* * string network = 1; + * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** + * + * *
      * Name of the network in the customer project with which the Tenant Project
      * will be peered for executing pipelines. In case of shared VPC where the
@@ -631,16 +679,16 @@ public Builder clearNetwork() {
      * 
* * string network = 1; + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -648,6 +696,8 @@ public Builder setNetworkBytes( private java.lang.Object ipAllocation_ = ""; /** + * + * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the Data
@@ -655,13 +705,13 @@ public Builder setNetworkBytes(
      * 
* * string ip_allocation = 2; + * * @return The ipAllocation. */ public java.lang.String getIpAllocation() { java.lang.Object ref = ipAllocation_; 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(); ipAllocation_ = s; return s; @@ -670,6 +720,8 @@ public java.lang.String getIpAllocation() { } } /** + * + * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the Data
@@ -677,15 +729,14 @@ public java.lang.String getIpAllocation() {
      * 
* * string ip_allocation = 2; + * * @return The bytes for ipAllocation. */ - public com.google.protobuf.ByteString - getIpAllocationBytes() { + public com.google.protobuf.ByteString getIpAllocationBytes() { java.lang.Object ref = ipAllocation_; 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); ipAllocation_ = b; return b; } else { @@ -693,6 +744,8 @@ public java.lang.String getIpAllocation() { } } /** + * + * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the Data
@@ -700,20 +753,22 @@ public java.lang.String getIpAllocation() {
      * 
* * string ip_allocation = 2; + * * @param value The ipAllocation to set. * @return This builder for chaining. */ - public Builder setIpAllocation( - java.lang.String value) { + public Builder setIpAllocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipAllocation_ = value; onChanged(); return this; } /** + * + * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the Data
@@ -721,15 +776,18 @@ public Builder setIpAllocation(
      * 
* * string ip_allocation = 2; + * * @return This builder for chaining. */ public Builder clearIpAllocation() { - + ipAllocation_ = getDefaultInstance().getIpAllocation(); onChanged(); return this; } /** + * + * *
      * The IP range in CIDR notation to use for the managed Data Fusion instance
      * nodes. This range must not overlap with any other ranges used in the Data
@@ -737,23 +795,23 @@ public Builder clearIpAllocation() {
      * 
* * string ip_allocation = 2; + * * @param value The bytes for ipAllocation to set. * @return This builder for chaining. */ - public Builder setIpAllocationBytes( - com.google.protobuf.ByteString value) { + public Builder setIpAllocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipAllocation_ = 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); } @@ -763,12 +821,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.NetworkConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.NetworkConfig) private static final com.google.cloud.datafusion.v1beta1.NetworkConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.NetworkConfig(); } @@ -777,16 +835,16 @@ public static com.google.cloud.datafusion.v1beta1.NetworkConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NetworkConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetworkConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -801,6 +859,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.NetworkConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.java index 3158f68f..88354288 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface NetworkConfigOrBuilder extends +public interface NetworkConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.NetworkConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -16,10 +34,13 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string network = 1; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * Name of the network in the customer project with which the Tenant Project
    * will be peered for executing pipelines. In case of shared VPC where the
@@ -28,12 +49,14 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string network = 1; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the Data
@@ -41,10 +64,13 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string ip_allocation = 2; + * * @return The ipAllocation. */ java.lang.String getIpAllocation(); /** + * + * *
    * The IP range in CIDR notation to use for the managed Data Fusion instance
    * nodes. This range must not overlap with any other ranges used in the Data
@@ -52,8 +78,8 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string ip_allocation = 2; + * * @return The bytes for ipAllocation. */ - com.google.protobuf.ByteString - getIpAllocationBytes(); + com.google.protobuf.ByteString getIpAllocationBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.java similarity index 72% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.java index 71116c37..5fd502fe 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Represents the metadata of a long-running operation.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -28,16 +46,15 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,68 +73,76 @@ private OperationMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 10: + { + 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 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 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); + target_ = s; + break; } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - target_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - statusDetail_ = s; - break; - } - case 48: { + verb_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - requestedCancellation_ = input.readBool(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + statusDetail_ = s; + break; + } + case 48: + { + requestedCancellation_ = input.readBool(); + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + apiVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,34 +150,39 @@ private OperationMetadata( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.OperationMetadata.class, com.google.cloud.datafusion.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.datafusion.v1beta1.OperationMetadata.class, + com.google.cloud.datafusion.v1beta1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -160,11 +190,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ @java.lang.Override @@ -172,6 +205,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -186,11 +221,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -198,11 +236,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -210,6 +251,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -224,11 +267,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The target. */ @java.lang.Override @@ -237,29 +283,29 @@ public java.lang.String getTarget() { 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(); target_ = s; return s; } } /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -270,11 +316,14 @@ public java.lang.String getTarget() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ @java.lang.Override @@ -283,29 +332,29 @@ public java.lang.String getVerb() { 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(); verb_ = s; return s; } } /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -316,11 +365,14 @@ public java.lang.String getVerb() { public static final int STATUS_DETAIL_FIELD_NUMBER = 5; private volatile java.lang.Object statusDetail_; /** + * + * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; + * * @return The statusDetail. */ @java.lang.Override @@ -329,29 +381,29 @@ public java.lang.String getStatusDetail() { 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(); statusDetail_ = s; return s; } } /** + * + * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; 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); statusDetail_ = b; return b; } else { @@ -362,6 +414,8 @@ public java.lang.String getStatusDetail() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_; /** + * + * *
    * Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -370,6 +424,7 @@ public java.lang.String getStatusDetail() {
    * 
* * bool requested_cancellation = 6; + * * @return The requestedCancellation. */ @java.lang.Override @@ -380,11 +435,14 @@ public boolean getRequestedCancellation() { public static final int API_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object apiVersion_; /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The apiVersion. */ @java.lang.Override @@ -393,29 +451,29 @@ public java.lang.String getApiVersion() { 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(); apiVersion_ = s; return s; } } /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -424,6 +482,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -435,8 +494,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -468,12 +526,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -485,8 +541,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusDetail_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -499,33 +554,27 @@ 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.datafusion.v1beta1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.OperationMetadata other = (com.google.cloud.datafusion.v1beta1.OperationMetadata) obj; + com.google.cloud.datafusion.v1beta1.OperationMetadata other = + (com.google.cloud.datafusion.v1beta1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (!getStatusDetail() - .equals(other.getStatusDetail())) return false; - if (getRequestedCancellation() - != other.getRequestedCancellation()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (!getStatusDetail().equals(other.getStatusDetail())) return false; + if (getRequestedCancellation() != other.getRequestedCancellation()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -552,8 +601,7 @@ public int hashCode() { hash = (37 * hash) + STATUS_DETAIL_FIELD_NUMBER; hash = (53 * hash) + getStatusDetail().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -562,117 +610,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.OperationMetadata 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 metadata of a long-running operation.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.OperationMetadata} */ - 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.datafusion.v1beta1.OperationMetadata) com.google.cloud.datafusion.v1beta1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.OperationMetadata.class, com.google.cloud.datafusion.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.datafusion.v1beta1.OperationMetadata.class, + com.google.cloud.datafusion.v1beta1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.OperationMetadata.newBuilder() @@ -680,16 +738,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(); @@ -719,9 +776,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; } @java.lang.Override @@ -740,7 +797,8 @@ public com.google.cloud.datafusion.v1beta1.OperationMetadata build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.OperationMetadata buildPartial() { - com.google.cloud.datafusion.v1beta1.OperationMetadata result = new com.google.cloud.datafusion.v1beta1.OperationMetadata(this); + com.google.cloud.datafusion.v1beta1.OperationMetadata result = + new com.google.cloud.datafusion.v1beta1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -764,38 +822,39 @@ public com.google.cloud.datafusion.v1beta1.OperationMetadata 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.datafusion.v1beta1.OperationMetadata) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.OperationMetadata)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -803,7 +862,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.OperationMetadata other) { - if (other == com.google.cloud.datafusion.v1beta1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -848,7 +908,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -860,34 +921,47 @@ public Builder mergeFrom( 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_; /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @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(); } } /** + * + * *
      * The time the operation was created.
      * 
@@ -908,14 +982,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - 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(); @@ -926,6 +1001,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -936,7 +1013,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; } @@ -948,6 +1025,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -966,6 +1045,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -973,11 +1054,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation was created.
      * 
@@ -988,11 +1071,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_; } } /** + * + * *
      * The time the operation was created.
      * 
@@ -1000,14 +1086,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ 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_; @@ -1015,24 +1104,33 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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_; /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1043,6 +1141,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1063,14 +1163,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - 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(); @@ -1081,6 +1182,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1091,7 +1194,7 @@ 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; } @@ -1103,6 +1206,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1121,6 +1226,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1128,11 +1235,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1143,11 +1252,12 @@ 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_; } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1155,14 +1265,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ 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_; @@ -1170,18 +1283,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; 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(); target_ = s; return s; @@ -1190,20 +1305,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -1211,54 +1327,61 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { + public Builder setTarget(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1266,18 +1389,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; 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(); verb_ = s; return s; @@ -1286,20 +1411,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -1307,54 +1433,61 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { + public Builder setVerb(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { + public Builder setVerbBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1362,18 +1495,20 @@ public Builder setVerbBytes( private java.lang.Object statusDetail_ = ""; /** + * + * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; + * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; 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(); statusDetail_ = s; return s; @@ -1382,20 +1517,21 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; 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); statusDetail_ = b; return b; } else { @@ -1403,61 +1539,70 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; + * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail( - java.lang.String value) { + public Builder setStatusDetail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusDetail_ = value; onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; + * * @return This builder for chaining. */ public Builder clearStatusDetail() { - + statusDetail_ = getDefaultInstance().getStatusDetail(); onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation if any.
      * 
* * string status_detail = 5; + * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes( - com.google.protobuf.ByteString value) { + public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusDetail_ = value; onChanged(); return this; } - private boolean requestedCancellation_ ; + private boolean requestedCancellation_; /** + * + * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1466,6 +1611,7 @@ public Builder setStatusDetailBytes(
      * 
* * bool requested_cancellation = 6; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1473,6 +1619,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1481,16 +1629,19 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6; + * * @param value The requestedCancellation to set. * @return This builder for chaining. */ public Builder setRequestedCancellation(boolean value) { - + requestedCancellation_ = value; onChanged(); return this; } /** + * + * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1499,10 +1650,11 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1510,18 +1662,20 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1530,20 +1684,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1551,61 +1706,68 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { + public Builder setApiVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = 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); } @@ -1615,12 +1777,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.OperationMetadata) private static final com.google.cloud.datafusion.v1beta1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.OperationMetadata(); } @@ -1629,16 +1791,16 @@ public static com.google.cloud.datafusion.v1beta1.OperationMetadata getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OperationMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1653,6 +1815,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.java similarity index 76% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.java index 4a5548a6..6b72d55b 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
@@ -35,24 +59,32 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
@@ -62,66 +94,83 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; + * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** + * + * *
    * Human-readable status of the operation if any.
    * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString - getStatusDetailBytes(); + com.google.protobuf.ByteString getStatusDetailBytes(); /** + * + * *
    * Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -130,27 +179,33 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool requested_cancellation = 6; + * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.java index f4a4c387..a5a8bc65 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Request message to remove dns peering.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest} */ -public final class RemoveDnsPeeringRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RemoveDnsPeeringRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) RemoveDnsPeeringRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RemoveDnsPeeringRequest.newBuilder() to construct. private RemoveDnsPeeringRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RemoveDnsPeeringRequest() { parent_ = ""; zone_ = ""; @@ -26,16 +44,15 @@ private RemoveDnsPeeringRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RemoveDnsPeeringRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RemoveDnsPeeringRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private RemoveDnsPeeringRequest( 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: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - zone_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + zone_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private RemoveDnsPeeringRequest( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.class, com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.class, + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource on which DNS peering will be removed.
    * 
* - * 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 @@ -116,29 +142,31 @@ 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 resource on which DNS peering will be removed.
    * 
* - * 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 { @@ -149,11 +177,14 @@ public java.lang.String getParent() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. The zone to be removed.
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ @java.lang.Override @@ -162,29 +193,29 @@ public java.lang.String getZone() { 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(); zone_ = s; return s; } } /** + * + * *
    * Required. The zone to be removed.
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -193,6 +224,7 @@ public java.lang.String getZone() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -235,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.datafusion.v1beta1.RemoveDnsPeeringRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest other = (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) obj; + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest other = + (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getZone() - .equals(other.getZone())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getZone().equals(other.getZone())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +297,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest 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 message to remove dns peering.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest} */ - 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.datafusion.v1beta1.RemoveDnsPeeringRequest) com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.class, com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.class, + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.newBuilder() @@ -385,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(); @@ -406,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; } @java.lang.Override @@ -427,7 +466,8 @@ public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest result = new com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest(this); + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest result = + new com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest(this); result.parent_ = parent_; result.zone_ = zone_; onBuilt(); @@ -438,38 +478,39 @@ public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest 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.datafusion.v1beta1.RemoveDnsPeeringRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) other); } else { super.mergeFrom(other); return this; @@ -477,7 +518,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -505,7 +547,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +560,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource on which DNS peering will be removed.
      * 
* - * 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; @@ -537,20 +584,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource on which DNS peering will be removed.
      * 
* - * 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 { @@ -558,54 +608,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource on which DNS peering will be removed.
      * 
* - * 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 resource on which DNS peering will be removed.
      * 
* - * 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 resource on which DNS peering will be removed.
      * 
* - * 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; @@ -613,18 +676,20 @@ public Builder setParentBytes( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. The zone to be removed.
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -633,20 +698,21 @@ public java.lang.String getZone() { } } /** + * + * *
      * Required. The zone to be removed.
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for zone. */ - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -654,61 +720,68 @@ public java.lang.String getZone() { } } /** + * + * *
      * Required. The zone to be removed.
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone( - java.lang.String value) { + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. The zone to be removed.
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. The zone to be removed.
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = 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,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) private static final com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest(); } @@ -732,16 +805,16 @@ public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveDnsPeeringRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveDnsPeeringRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveDnsPeeringRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveDnsPeeringRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +829,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java new file mode 100644 index 00000000..be967aa9 --- /dev/null +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java @@ -0,0 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface RemoveDnsPeeringRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource on which DNS peering will be removed.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The resource on which DNS peering will be removed.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The zone to be removed.
+   * 
+ * + * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * Required. The zone to be removed.
+   * 
+ * + * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.java similarity index 64% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.java index e859757d..268e6e16 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Response message for set dns peering method.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse} */ -public final class RemoveDnsPeeringResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RemoveDnsPeeringResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) RemoveDnsPeeringResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RemoveDnsPeeringResponse.newBuilder() to construct. private RemoveDnsPeeringResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RemoveDnsPeeringResponse() { - } + + private RemoveDnsPeeringResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RemoveDnsPeeringResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RemoveDnsPeeringResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private RemoveDnsPeeringResponse( 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 RemoveDnsPeeringResponse( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.class, com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.class, + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.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.datafusion.v1beta1.RemoveDnsPeeringResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse other = (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) obj; + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse other = + (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse 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 message for set dns peering method.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse} */ - 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.datafusion.v1beta1.RemoveDnsPeeringResponse) com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.class, com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.class, + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.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,13 +304,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; } @java.lang.Override - public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse getDefaultInstanceForType() { + public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse + getDefaultInstanceForType() { return com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.getDefaultInstance(); } @@ -297,7 +326,8 @@ public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse buildPartial() { - com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse result = new com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse(this); + com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse result = + new com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse(this); onBuilt(); return result; } @@ -306,38 +336,39 @@ public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse 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.datafusion.v1beta1.RemoveDnsPeeringResponse) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +376,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse other) { - if (other == com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +398,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +408,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 +420,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) - private static final com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse DEFAULT_INSTANCE; + private static final com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse(); } @@ -400,16 +435,16 @@ public static com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveDnsPeeringResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveDnsPeeringResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveDnsPeeringResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveDnsPeeringResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +459,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java new file mode 100644 index 00000000..ec8f21fc --- /dev/null +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.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/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface RemoveDnsPeeringResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.java index ee6e5ae6..d4a68f15 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Request message for RemoveIamPolicy method.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest} */ -public final class RemoveIamPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RemoveIamPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) RemoveIamPolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RemoveIamPolicyRequest.newBuilder() to construct. private RemoveIamPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RemoveIamPolicyRequest() { resource_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RemoveIamPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RemoveIamPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private RemoveIamPolicyRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - resource_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + resource_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private RemoveIamPolicyRequest( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.class, com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.class, + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.Builder.class); } public static final int RESOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object resource_; /** + * + * *
    * Required. The resource on which IAM policy to be removed is attached to.
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The resource. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getResource() { 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(); resource_ = s; return s; } } /** + * + * *
    * Required. The resource on which IAM policy to be removed is attached to.
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; 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); resource_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getResource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,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(resource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } @@ -176,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.datafusion.v1beta1.RemoveIamPolicyRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest other = (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) obj; + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest other = + (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) obj; - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest 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 message for RemoveIamPolicy method.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest} */ - 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.datafusion.v1beta1.RemoveIamPolicyRequest) com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.class, com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.class, + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.newBuilder() @@ -322,16 +355,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(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest result = new com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest(this); + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest result = + new com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest(this); result.resource_ = resource_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest 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.datafusion.v1beta1.RemoveIamPolicyRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest.getDefaultInstance()) + return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object resource_ = ""; /** + * + * *
      * Required. The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; 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(); resource_ = s; return s; @@ -467,20 +505,21 @@ public java.lang.String getResource() { } } /** + * + * *
      * Required. The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; 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); resource_ = b; return b; } else { @@ -488,61 +527,68 @@ public java.lang.String getResource() { } } /** + * + * *
      * Required. The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource( - java.lang.String value) { + public Builder setResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
      * Required. The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = 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,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) private static final com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest(); } @@ -566,16 +612,16 @@ public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveIamPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveIamPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveIamPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveIamPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java index c1d1066b..04768228 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface RemoveIamPolicyRequestOrBuilder extends +public interface RemoveIamPolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource on which IAM policy to be removed is attached to.
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * Required. The resource on which IAM policy to be removed is attached to.
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.java index e7bc2949..14265eeb 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Response message for RemoveIamPolicy method.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse} */ -public final class RemoveIamPolicyResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RemoveIamPolicyResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) RemoveIamPolicyResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RemoveIamPolicyResponse.newBuilder() to construct. private RemoveIamPolicyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RemoveIamPolicyResponse() { - } + + private RemoveIamPolicyResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RemoveIamPolicyResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RemoveIamPolicyResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private RemoveIamPolicyResponse( 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 RemoveIamPolicyResponse( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.class, com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.class, + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.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.datafusion.v1beta1.RemoveIamPolicyResponse)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse other = (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) obj; + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse other = + (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse 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 message for RemoveIamPolicy method.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse} */ - 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.datafusion.v1beta1.RemoveIamPolicyResponse) com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.class, com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.Builder.class); + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.class, + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse buildPartial() { - com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse result = new com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse(this); + com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse result = + new com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse 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.datafusion.v1beta1.RemoveIamPolicyResponse) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) 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.datafusion.v1beta1.RemoveIamPolicyResponse other) { - if (other == com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse.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.datafusion.v1beta1.RemoveIamPolicyResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) 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.datafusion.v1beta1.RemoveIamPolicyResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) private static final com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse(); } @@ -400,16 +432,16 @@ public static com.google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveIamPolicyResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveIamPolicyResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveIamPolicyResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveIamPolicyResponse(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.datafusion.v1beta1.RemoveIamPolicyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java new file mode 100644 index 00000000..69aa5d4a --- /dev/null +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.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/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface RemoveIamPolicyResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.java index 88ec073d..eb55994c 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Request message for restarting a Data Fusion instance.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RestartInstanceRequest} */ -public final class RestartInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RestartInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.RestartInstanceRequest) RestartInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RestartInstanceRequest.newBuilder() to construct. private RestartInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RestartInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RestartInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RestartInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private RestartInstanceRequest( 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 RestartInstanceRequest( } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.class, com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.class, + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * 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. Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* - * 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.datafusion.v1beta1.RestartInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest other = (com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) obj; + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest other = + (com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) 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,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest 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 message for restarting a Data Fusion instance.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.RestartInstanceRequest} */ - 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.datafusion.v1beta1.RestartInstanceRequest) com.google.cloud.datafusion.v1beta1.RestartInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.class, com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.Builder.class); + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.class, + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.newBuilder() @@ -324,16 +361,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(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.datafusion.v1beta1.RestartInstanceRequest build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.RestartInstanceRequest buildPartial() { - com.google.cloud.datafusion.v1beta1.RestartInstanceRequest result = new com.google.cloud.datafusion.v1beta1.RestartInstanceRequest(this); + com.google.cloud.datafusion.v1beta1.RestartInstanceRequest result = + new com.google.cloud.datafusion.v1beta1.RestartInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.datafusion.v1beta1.RestartInstanceRequest 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.datafusion.v1beta1.RestartInstanceRequest) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.RestartInstanceRequest)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.RestartInstanceRequest other) { - if (other == com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.datafusion.v1beta1.RestartInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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. Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* - * 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,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.RestartInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.RestartInstanceRequest) private static final com.google.cloud.datafusion.v1beta1.RestartInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.RestartInstanceRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.datafusion.v1beta1.RestartInstanceRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestartInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RestartInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestartInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RestartInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.RestartInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java new file mode 100644 index 00000000..c88fa295 --- /dev/null +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.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/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface RestartInstanceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RestartInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the Data Fusion instance which need to be restarted in the form of
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the Data Fusion instance which need to be restarted in the form of
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * 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/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.java similarity index 70% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.java index ece43940..350efcfd 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * Request message for updating a Data Fusion instance.
  * Data Fusion only allows updating the labels, options, and stack driver
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1beta1.UpdateInstanceRequest}
  */
-public final class UpdateInstanceRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateInstanceRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.UpdateInstanceRequest)
     UpdateInstanceRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateInstanceRequest.newBuilder() to construct.
   private UpdateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateInstanceRequest() {
-  }
+
+  private UpdateInstanceRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateInstanceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private UpdateInstanceRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,39 +70,44 @@ private UpdateInstanceRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.datafusion.v1beta1.Instance.Builder subBuilder = null;
-            if (instance_ != null) {
-              subBuilder = instance_.toBuilder();
-            }
-            instance_ = input.readMessage(com.google.cloud.datafusion.v1beta1.Instance.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(instance_);
-              instance_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.datafusion.v1beta1.Instance.Builder subBuilder = null;
+              if (instance_ != null) {
+                subBuilder = instance_.toBuilder();
+              }
+              instance_ =
+                  input.readMessage(
+                      com.google.cloud.datafusion.v1beta1.Instance.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(instance_);
+                instance_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.FieldMask.Builder subBuilder = null;
-            if (updateMask_ != null) {
-              subBuilder = updateMask_.toBuilder();
-            }
-            updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateMask_);
-              updateMask_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.FieldMask.Builder subBuilder = null;
+              if (updateMask_ != null) {
+                subBuilder = updateMask_.toBuilder();
+              }
+              updateMask_ =
+                  input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateMask_);
+                updateMask_ = 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 +115,43 @@ private UpdateInstanceRequest(
     } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datafusion.v1beta1.V1Beta1
+        .internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable
+    return com.google.cloud.datafusion.v1beta1.V1Beta1
+        .internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.class, com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.Builder.class);
+            com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.class,
+            com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.Builder.class);
   }
 
   public static final int INSTANCE_FIELD_NUMBER = 1;
   private com.google.cloud.datafusion.v1beta1.Instance instance_;
   /**
+   *
+   *
    * 
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -131,27 +159,38 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.Instance getInstance() { - return instance_ == null ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilder() { @@ -161,6 +200,8 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -171,6 +212,7 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -178,6 +220,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -188,6 +232,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -195,6 +240,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -212,6 +259,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -223,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 (instance_ != null) {
       output.writeMessage(1, getInstance());
     }
@@ -241,12 +288,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (instance_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getInstance());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstance());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -256,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.datafusion.v1beta1.UpdateInstanceRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest other = (com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest) obj;
+    com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest other =
+        (com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest) obj;
 
     if (hasInstance() != other.hasInstance()) return false;
     if (hasInstance()) {
-      if (!getInstance()
-          .equals(other.getInstance())) return false;
+      if (!getInstance().equals(other.getInstance())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -298,96 +342,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest 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 message for updating a Data Fusion instance.
    * Data Fusion only allows updating the labels, options, and stack driver
@@ -396,21 +448,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datafusion.v1beta1.UpdateInstanceRequest}
    */
-  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.datafusion.v1beta1.UpdateInstanceRequest)
       com.google.cloud.datafusion.v1beta1.UpdateInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.class, com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.Builder.class);
+              com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.class,
+              com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.newBuilder()
@@ -418,16 +472,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();
@@ -447,9 +500,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -468,7 +521,8 @@ public com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest buildPartial() {
-      com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest result = new com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest(this);
+      com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest result =
+          new com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest(this);
       if (instanceBuilder_ == null) {
         result.instance_ = instance_;
       } else {
@@ -487,38 +541,39 @@ public com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest 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.datafusion.v1beta1.UpdateInstanceRequest) {
-        return mergeFrom((com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest)other);
+        return mergeFrom((com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -526,7 +581,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest other) {
-      if (other == com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest.getDefaultInstance())
+        return this;
       if (other.hasInstance()) {
         mergeInstance(other.getInstance());
       }
@@ -552,7 +608,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -564,45 +621,64 @@ public Builder mergeFrom(
 
     private com.google.cloud.datafusion.v1beta1.Instance instance_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> instanceBuilder_;
+            com.google.cloud.datafusion.v1beta1.Instance,
+            com.google.cloud.datafusion.v1beta1.Instance.Builder,
+            com.google.cloud.datafusion.v1beta1.InstanceOrBuilder>
+        instanceBuilder_;
     /**
+     *
+     *
      * 
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ public boolean hasInstance() { return instanceBuilder_ != null || instance_ != null; } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.cloud.datafusion.v1beta1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.cloud.datafusion.v1beta1.Instance value) { if (instanceBuilder_ == null) { @@ -618,13 +694,17 @@ public Builder setInstance(com.google.cloud.datafusion.v1beta1.Instance value) { return this; } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance( com.google.cloud.datafusion.v1beta1.Instance.Builder builderForValue) { @@ -638,19 +718,25 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.cloud.datafusion.v1beta1.Instance value) { if (instanceBuilder_ == null) { if (instance_ != null) { instance_ = - com.google.cloud.datafusion.v1beta1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); + com.google.cloud.datafusion.v1beta1.Instance.newBuilder(instance_) + .mergeFrom(value) + .buildPartial(); } else { instance_ = value; } @@ -662,13 +748,17 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1beta1.Instance value) return this; } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { if (instanceBuilder_ == null) { @@ -682,54 +772,70 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datafusion.v1beta1.Instance.Builder getInstanceBuilder() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.datafusion.v1beta1.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
      * settings. All other fields will be ignored.
      * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> + com.google.cloud.datafusion.v1beta1.Instance, + com.google.cloud.datafusion.v1beta1.Instance.Builder, + com.google.cloud.datafusion.v1beta1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datafusion.v1beta1.Instance, com.google.cloud.datafusion.v1beta1.Instance.Builder, com.google.cloud.datafusion.v1beta1.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datafusion.v1beta1.Instance, + com.google.cloud.datafusion.v1beta1.Instance.Builder, + com.google.cloud.datafusion.v1beta1.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -737,8 +843,13 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -749,12 +860,15 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -765,16 +879,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -800,6 +919,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -811,8 +932,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -823,6 +943,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -838,7 +960,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -850,6 +972,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -873,6 +997,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -885,11 +1011,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -905,11 +1033,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields that the update will overwrite
      * in an instance resource. The fields specified in the update_mask are
@@ -922,21 +1053,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_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>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @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);
     }
 
@@ -946,12 +1080,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.UpdateInstanceRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.UpdateInstanceRequest)
   private static final com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest();
   }
@@ -960,16 +1094,16 @@ public static com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateInstanceRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateInstanceRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateInstanceRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateInstanceRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -984,6 +1118,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datafusion.v1beta1.UpdateInstanceRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java
similarity index 72%
rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java
rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java
index c0b91b0f..b921dcfc 100644
--- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java
+++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java
@@ -1,46 +1,78 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datafusion/v1beta1/v1beta1.proto
 
 package com.google.cloud.datafusion.v1beta1;
 
-public interface UpdateInstanceRequestOrBuilder extends
+public interface UpdateInstanceRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.UpdateInstanceRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ com.google.cloud.datafusion.v1beta1.Instance getInstance(); /** + * + * *
    * Required. The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
    * settings. All other fields will be ignored.
    * 
* - * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilder(); /** + * + * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -51,10 +83,13 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
@@ -65,10 +100,13 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields that the update will overwrite
    * in an instance resource. The fields specified in the update_mask are
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.java
similarity index 66%
rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.java
rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.java
index b57c216a..3b6b0405 100644
--- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.java
+++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.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/datafusion/v1beta1/v1beta1.proto
 
 package com.google.cloud.datafusion.v1beta1;
 
 /**
+ *
+ *
  * 
  * Request message for upgrading a Data Fusion instance.
  * To change the instance properties, instance update should be used.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.datafusion.v1beta1.UpgradeInstanceRequest}
  */
-public final class UpgradeInstanceRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpgradeInstanceRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.UpgradeInstanceRequest)
     UpgradeInstanceRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpgradeInstanceRequest.newBuilder() to construct.
   private UpgradeInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UpgradeInstanceRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpgradeInstanceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private UpgradeInstanceRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private UpgradeInstanceRequest(
           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) {
@@ -74,29 +92,33 @@ private UpgradeInstanceRequest(
     } 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.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datafusion.v1beta1.V1Beta1
+        .internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable
+    return com.google.cloud.datafusion.v1beta1.V1Beta1
+        .internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.class, com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.Builder.class);
+            com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.class,
+            com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. Name of the Data Fusion instance which need to be upgraded in the form of
    * projects/{project}/locations/{location}/instances/{instance}
@@ -104,7 +126,10 @@ private UpgradeInstanceRequest(
    * Fusion.
    * 
* - * 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 @@ -113,14 +138,15 @@ 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. Name of the Data Fusion instance which need to be upgraded in the form of
    * projects/{project}/locations/{location}/instances/{instance}
@@ -128,17 +154,18 @@ public java.lang.String getName() {
    * Fusion.
    * 
* - * 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 { @@ -147,6 +174,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,8 +186,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_); } @@ -183,15 +210,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.datafusion.v1beta1.UpgradeInstanceRequest)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest other = (com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) obj; + com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest other = + (com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -211,96 +238,104 @@ public int hashCode() { } public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest 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 message for upgrading a Data Fusion instance.
    * To change the instance properties, instance update should be used.
@@ -308,21 +343,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datafusion.v1beta1.UpgradeInstanceRequest}
    */
-  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.datafusion.v1beta1.UpgradeInstanceRequest)
       com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.class, com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.Builder.class);
+              com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.class,
+              com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.newBuilder()
@@ -330,16 +367,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();
@@ -349,9 +385,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datafusion.v1beta1.V1Beta1
+          .internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -370,7 +406,8 @@ public com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest buildPartial() {
-      com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest result = new com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest(this);
+      com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest result =
+          new com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -380,38 +417,39 @@ public com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest 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.datafusion.v1beta1.UpgradeInstanceRequest) {
-        return mergeFrom((com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest)other);
+        return mergeFrom((com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -419,7 +457,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest other) {
-      if (other == com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -443,7 +482,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -455,6 +495,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -462,14 +504,16 @@ public Builder mergeFrom(
      * Fusion.
      * 
* - * 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; @@ -478,6 +522,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -485,16 +531,17 @@ public java.lang.String getName() {
      * Fusion.
      * 
* - * 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 { @@ -502,6 +549,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -509,21 +558,25 @@ public java.lang.String getName() {
      * Fusion.
      * 
* - * 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. Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -531,16 +584,21 @@ public Builder setName(
      * Fusion.
      * 
* - * 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. Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -548,24 +606,26 @@ public Builder clearName() {
      * Fusion.
      * 
* - * 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); } @@ -575,12 +635,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) private static final com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest(); } @@ -589,16 +649,16 @@ public static com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpgradeInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpgradeInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -613,6 +673,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.UpgradeInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java new file mode 100644 index 00000000..9d74678b --- /dev/null +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java @@ -0,0 +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/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public interface UpgradeInstanceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the Data Fusion instance which need to be upgraded in the form of
+   * projects/{project}/locations/{location}/instances/{instance}
+   * Instance will be upgraded with the latest stable version of the Data
+   * Fusion.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the Data Fusion instance which need to be upgraded in the form of
+   * projects/{project}/locations/{location}/instances/{instance}
+   * Instance will be upgraded with the latest stable version of the Data
+   * Fusion.
+   * 
+ * + * + * 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-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java new file mode 100644 index 00000000..c42b172a --- /dev/null +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java @@ -0,0 +1,700 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datafusion/v1beta1/v1beta1.proto + +package com.google.cloud.datafusion.v1beta1; + +public final class V1Beta1 { + private V1Beta1() {} + + 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_datafusion_v1beta1_NetworkConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_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/datafusion/v1beta1/v1beta" + + "1.proto\022\037google.cloud.datafusion.v1beta1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\032\032goo" + + "gle/iam/v1/policy.proto\032#google/longrunn" + + "ing/operations.proto\032 google/protobuf/fi" + + "eld_mask.proto\032\037google/protobuf/timestam" + + "p.proto\032\027google/rpc/status.proto\"7\n\rNetw" + + "orkConfig\022\017\n\007network\030\001 \001(\t\022\025\n\rip_allocat" + + "ion\030\002 \001(\t\"\342\001\n\007Version\022\026\n\016version_number\030" + + "\001 \001(\t\022\027\n\017default_version\030\002 \001(\010\022\032\n\022availa" + + "ble_features\030\003 \003(\t\022;\n\004type\030\004 \001(\0162-.googl" + + "e.cloud.datafusion.v1beta1.Version.Type\"" + + "M\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\020\n\014TYPE_PR" + + "EVIEW\020\001\022\035\n\031TYPE_GENERAL_AVAILABILITY\020\002\"\263" + + "\001\n\013Accelerator\022V\n\020accelerator_type\030\001 \001(\016" + + "2<.google.cloud.datafusion.v1beta1.Accel" + + "erator.AcceleratorType\"L\n\017AcceleratorTyp" + + "e\022 \n\034ACCELERATOR_TYPE_UNSPECIFIED\020\000\022\007\n\003C" + + "DC\020\001\022\016\n\nHEALTHCARE\020\002\"P\n\017CryptoKeyConfig\022" + + "=\n\rkey_reference\030\001 \001(\tB&\372A#\n!cloudkms.go" + + "ogleapis.com/CryptoKey\"\200\016\n\010Instance\0228\n\004n" + + "ame\030\001 \001(\tB*\340A\003\372A$\n\"datafusion.googleapis" + + ".com/Instance\022\023\n\013description\030\002 \001(\t\022A\n\004ty" + + "pe\030\003 \001(\0162..google.cloud.datafusion.v1bet" + + "a1.Instance.TypeB\003\340A\002\022\"\n\032enable_stackdri" + + "ver_logging\030\004 \001(\010\022%\n\035enable_stackdriver_" + + "monitoring\030\005 \001(\010\022\030\n\020private_instance\030\006 \001" + + "(\010\022F\n\016network_config\030\007 \001(\0132..google.clou" + + "d.datafusion.v1beta1.NetworkConfig\022E\n\006la" + + "bels\030\010 \003(\01325.google.cloud.datafusion.v1b" + + "eta1.Instance.LabelsEntry\022G\n\007options\030\t \003" + + "(\01326.google.cloud.datafusion.v1beta1.Ins" + + "tance.OptionsEntry\0224\n\013create_time\030\n \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + + "te_time\030\013 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\022C\n\005state\030\014 \001(\0162/.google.cloud.dat" + + "afusion.v1beta1.Instance.StateB\003\340A\003\022\032\n\rs" + + "tate_message\030\r \001(\tB\003\340A\003\022\035\n\020service_endpo" + + "int\030\016 \001(\tB\003\340A\003\022\014\n\004zone\030\017 \001(\t\022\017\n\007version\030" + + "\020 \001(\t\022\036\n\017service_account\030\021 \001(\tB\005\030\001\340A\003\022\024\n" + + "\014display_name\030\022 \001(\t\022C\n\021available_version" + + "\030\023 \003(\0132(.google.cloud.datafusion.v1beta1" + + ".Version\022\031\n\014api_endpoint\030\024 \001(\tB\003\340A\003\022\027\n\ng" + + "cs_bucket\030\025 \001(\tB\003\340A\003\022B\n\014accelerators\030\026 \003" + + "(\0132,.google.cloud.datafusion.v1beta1.Acc" + + "elerator\022\037\n\022p4_service_account\030\027 \001(\tB\003\340A" + + "\003\022\036\n\021tenant_project_id\030\030 \001(\tB\003\340A\003\022 \n\030dat" + + "aproc_service_account\030\031 \001(\t\022\023\n\013enable_rb" + + "ac\030\032 \001(\010\022K\n\021crypto_key_config\030\033 \001(\01320.go" + + "ogle.cloud.datafusion.v1beta1.CryptoKeyC" + + "onfig\022V\n\017disabled_reason\030\034 \003(\01628.google." + + "cloud.datafusion.v1beta1.Instance.Disabl" + + "edReasonB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(" + + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\032.\n\014OptionsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"F\n\004Type\022\024\n\020" + + "TYPE_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\016\n\nENTERPR" + + "ISE\020\002\022\r\n\tDEVELOPER\020\003\"\265\001\n\005State\022\025\n\021STATE_" + + "UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\013\n\007RUNNING\020\002" + + "\022\n\n\006FAILED\020\003\022\014\n\010DELETING\020\004\022\r\n\tUPGRADING\020" + + "\005\022\016\n\nRESTARTING\020\006\022\014\n\010UPDATING\020\007\022\021\n\rAUTO_" + + "UPDATING\020\010\022\022\n\016AUTO_UPGRADING\020\t\022\014\n\010DISABL" + + "ED\020\n\"D\n\016DisabledReason\022\037\n\033DISABLED_REASO" + + "N_UNSPECIFIED\020\000\022\021\n\rKMS_KEY_ISSUE\020\001:e\352Ab\n" + + "\"datafusion.googleapis.com/Instance\022\n\niam_policy\030\002 \001(\0132*.google.cloud.data" + + "fusion.v1beta1.IAMPolicy:}\352Az\n#datafusio" + + "n.googleapis.com/Namespace\022Sprojects/{pr" + + "oject}/locations/{location}/instances/{i" + + "nstance}/namespaces/{namespace}\"q\n\026ListN" + + "amespacesResponse\022>\n\nnamespaces\030\001 \003(\0132*." + + "google.cloud.datafusion.v1beta1.Namespac" + + "e\022\027\n\017next_page_token\030\002 \001(\t\"\210\001\n\nDnsPeerin" + + "g\022\021\n\004zone\030\001 \001(\tB\003\340A\002\022\023\n\006domain\030\002 \001(\tB\003\340A" + + "\002\022\030\n\013description\030\003 \001(\tB\003\340A\001\022\033\n\016target_pr" + + "oject\030\004 \001(\tB\003\340A\001\022\033\n\016target_network\030\005 \001(\t" + + "B\003\340A\001\"\224\001\n\024AddDnsPeeringRequest\022:\n\006parent" + + "\030\001 \001(\tB*\340A\002\372A$\n\"datafusion.googleapis.co" + + "m/Instance\022@\n\013dns_peering\030\002 \001(\0132+.google" + + ".cloud.datafusion.v1beta1.DnsPeering\"\027\n\025" + + "AddDnsPeeringResponse\"h\n\027RemoveDnsPeerin" + + "gRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"datafu" + + "sion.googleapis.com/Instance\022\021\n\004zone\030\002 \001" + + "(\tB\003\340A\002\"\032\n\030RemoveDnsPeeringResponse\"{\n\026L" + + "istDnsPeeringsRequest\022:\n\006parent\030\001 \001(\tB*\340" + + "A\002\372A$\n\"datafusion.googleapis.com/Instanc" + + "e\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t" + + "\"u\n\027ListDnsPeeringsResponse\022A\n\014dns_peeri" + + "ngs\030\001 \003(\0132+.google.cloud.datafusion.v1be" + + "ta1.DnsPeering\022\027\n\017next_page_token\030\002 \001(\t*" + + "b\n\rNamespaceView\022\036\n\032NAMESPACE_VIEW_UNSPE" + + "CIFIED\020\000\022\030\n\024NAMESPACE_VIEW_BASIC\020\001\022\027\n\023NA" + + "MESPACE_VIEW_FULL\020\0022\311\026\n\nDataFusion\022\332\001\n\025L" + + "istAvailableVersions\022=.google.cloud.data" + + "fusion.v1beta1.ListAvailableVersionsRequ" + + "est\032>.google.cloud.datafusion.v1beta1.Li" + + "stAvailableVersionsResponse\"B\202\323\344\223\0023\0221/v1" + + "beta1/{parent=projects/*/locations/*}/ve" + + "rsions\332A\006parent\022\272\001\n\rListInstances\0225.goog" + + "le.cloud.datafusion.v1beta1.ListInstance" + + "sRequest\0326.google.cloud.datafusion.v1bet" + + "a1.ListInstancesResponse\":\202\323\344\223\0024\0222/v1bet" + + "a1/{parent=projects/*/locations/*}/insta" + + "nces\022\251\001\n\013GetInstance\0223.google.cloud.data" + + "fusion.v1beta1.GetInstanceRequest\032).goog" + + "le.cloud.datafusion.v1beta1.Instance\":\202\323" + + "\344\223\0024\0222/v1beta1/{name=projects/*/location" + + "s/*/instances/*}\022\354\001\n\016CreateInstance\0226.go" + + "ogle.cloud.datafusion.v1beta1.CreateInst" + + "anceRequest\032\035.google.longrunning.Operati" + + "on\"\202\001\202\323\344\223\002>\"2/v1beta1/{parent=projects/*" + + "/locations/*}/instances:\010instance\332A\033pare" + + "nt,instance,instance_id\312A\035\n\010Instance\022\021Op" + + "erationMetadata\022\327\001\n\016DeleteInstance\0226.goo" + + "gle.cloud.datafusion.v1beta1.DeleteInsta" + + "nceRequest\032\035.google.longrunning.Operatio" + + "n\"n\202\323\344\223\0024*2/v1beta1/{name=projects/*/loc" + + "ations/*/instances/*}\332A\004name\312A*\n\025google." + + "protobuf.Empty\022\021OperationMetadata\022\356\001\n\016Up" + + "dateInstance\0226.google.cloud.datafusion.v" + + "1beta1.UpdateInstanceRequest\032\035.google.lo" + + "ngrunning.Operation\"\204\001\202\323\344\223\002G2;/v1beta1/{" + + "instance.name=projects/*/locations/*/ins" + + "tances/*}:\010instance\332A\024instance,update_ma" + + "sk\312A\035\n\010Instance\022\021OperationMetadata\022\320\001\n\017R" + + "estartInstance\0227.google.cloud.datafusion" + + ".v1beta1.RestartInstanceRequest\032\035.google" + + ".longrunning.Operation\"e\202\323\344\223\002?\":/v1beta1" + + "/{name=projects/*/locations/*/instances/" + + "*}:restart:\001*\312A\035\n\010Instance\022\021OperationMet" + + "adata\022\320\001\n\017UpgradeInstance\0227.google.cloud" + + ".datafusion.v1beta1.UpgradeInstanceReque" + + "st\032\035.google.longrunning.Operation\"e\202\323\344\223\002" + + "?\":/v1beta1/{name=projects/*/locations/*" + + "/instances/*}:upgrade:\001*\312A\035\n\010Instance\022\021O" + + "perationMetadata\022\316\001\n\017RemoveIamPolicy\0227.g" + + "oogle.cloud.datafusion.v1beta1.RemoveIam" + + "PolicyRequest\0328.google.cloud.datafusion." + + "v1beta1.RemoveIamPolicyResponse\"H\202\323\344\223\002B\"" + + "=/v1beta1/{resource=projects/*/locations" + + "/*/**}:removeIamPolicy:\001*\022\323\001\n\016ListNamesp" + + "aces\0226.google.cloud.datafusion.v1beta1.L" + + "istNamespacesRequest\0327.google.cloud.data" + + "fusion.v1beta1.ListNamespacesResponse\"P\202" + + "\323\344\223\002A\022?/v1beta1/{parent=projects/*/locat" + + "ions/*/instances/*}/namespaces\332A\006parent\022" + + "\330\001\n\rAddDnsPeering\0225.google.cloud.datafus" + + "ion.v1beta1.AddDnsPeeringRequest\0326.googl" + + "e.cloud.datafusion.v1beta1.AddDnsPeering" + + "Response\"X\202\323\344\223\002I\"D/v1beta1/{parent=proje" + + "cts/*/locations/*/instances/*}/dnsPeerin" + + "gs:add:\001*\332A\006parent\022\344\001\n\020RemoveDnsPeering\022" + + "8.google.cloud.datafusion.v1beta1.Remove" + + "DnsPeeringRequest\0329.google.cloud.datafus" + + "ion.v1beta1.RemoveDnsPeeringResponse\"[\202\323" + + "\344\223\002L\"G/v1beta1/{parent=projects/*/locati" + + "ons/*/instances/*}/dnsPeerings:remove:\001*" + + "\332A\006parent\022\334\001\n\017ListDnsPeerings\0227.google.c" + + "loud.datafusion.v1beta1.ListDnsPeeringsR" + + "equest\0328.google.cloud.datafusion.v1beta1" + + ".ListDnsPeeringsResponse\"V\202\323\344\223\002G\022E/v1bet" + + "a1/{parent=projects/*/locations/*/instan" + + "ces/*}/dnsPeerings:list\332A\006parent\032M\312A\031dat" + + "afusion.googleapis.com\322A.https://www.goo" + + "gleapis.com/auth/cloud-platformB\326\002\n#com." + + "google.cloud.datafusion.v1beta1P\001ZIgoogl" + + "e.golang.org/genproto/googleapis/cloud/d" + + "atafusion/v1beta1;datafusion\252\002\037Google.Cl" + + "oud.DataFusion.V1Beta1\312\002\037Google\\Cloud\\Da" + + "taFusion\\V1beta1\352\002\"Google::Cloud::DataFu" + + "sion::V1beta1\352Ax\n!cloudkms.googleapis.co" + + "m/CryptoKey\022Sprojects/{project}/location" + + "s/{location}/keyRings/{key_ring}/cryptoK" + + "eys/{crypto_key}b\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.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_NetworkConfig_descriptor, + new java.lang.String[] { + "Network", "IpAllocation", + }); + internal_static_google_cloud_datafusion_v1beta1_Version_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_Version_descriptor, + new java.lang.String[] { + "VersionNumber", "DefaultVersion", "AvailableFeatures", "Type", + }); + internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datafusion_v1beta1_Accelerator_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_Accelerator_descriptor, + new java.lang.String[] { + "AcceleratorType", + }); + internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_CryptoKeyConfig_descriptor, + new java.lang.String[] { + "KeyReference", + }); + internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datafusion_v1beta1_Instance_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor, + new java.lang.String[] { + "Name", + "Description", + "Type", + "EnableStackdriverLogging", + "EnableStackdriverMonitoring", + "PrivateInstance", + "NetworkConfig", + "Labels", + "Options", + "CreateTime", + "UpdateTime", + "State", + "StateMessage", + "ServiceEndpoint", + "Zone", + "Version", + "ServiceAccount", + "DisplayName", + "AvailableVersion", + "ApiEndpoint", + "GcsBucket", + "Accelerators", + "P4ServiceAccount", + "TenantProjectId", + "DataprocServiceAccount", + "EnableRbac", + "CryptoKeyConfig", + "DisabledReason", + }); + internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_descriptor = + internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_Instance_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_descriptor = + internal_static_google_cloud_datafusion_v1beta1_Instance_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_Instance_OptionsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListInstancesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListInstancesResponse_descriptor, + new java.lang.String[] { + "Instances", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "LatestPatchOnly", + }); + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListAvailableVersionsResponse_descriptor, + new java.lang.String[] { + "AvailableVersions", "NextPageToken", + }); + internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_GetInstanceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_CreateInstanceRequest_descriptor, + new java.lang.String[] { + "Parent", "InstanceId", "Instance", + }); + internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_DeleteInstanceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_UpdateInstanceRequest_descriptor, + new java.lang.String[] { + "Instance", "UpdateMask", + }); + internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_RestartInstanceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_UpgradeInstanceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_OperationMetadata_descriptor, + new java.lang.String[] { + "CreateTime", + "EndTime", + "Target", + "Verb", + "StatusDetail", + "RequestedCancellation", + "ApiVersion", + }); + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyRequest_descriptor, + new java.lang.String[] { + "Resource", + }); + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_RemoveIamPolicyResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "View", + }); + internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_IAMPolicy_descriptor, + new java.lang.String[] { + "Policy", "Status", + }); + internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_datafusion_v1beta1_Namespace_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_Namespace_descriptor, + new java.lang.String[] { + "Name", "IamPolicy", + }); + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListNamespacesResponse_descriptor, + new java.lang.String[] { + "Namespaces", "NextPageToken", + }); + internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_datafusion_v1beta1_DnsPeering_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_DnsPeering_descriptor, + new java.lang.String[] { + "Zone", "Domain", "Description", "TargetProject", "TargetNetwork", + }); + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringRequest_descriptor, + new java.lang.String[] { + "Parent", "DnsPeering", + }); + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_AddDnsPeeringResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringRequest_descriptor, + new java.lang.String[] { + "Parent", "Zone", + }); + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_RemoveDnsPeeringResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datafusion_v1beta1_ListDnsPeeringsResponse_descriptor, + new java.lang.String[] { + "DnsPeerings", "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.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + 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.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Version.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Version.java similarity index 73% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Version.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Version.java index 4761d02f..2dd64b82 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Version.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Version.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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; /** + * + * *
  * The Data Fusion version.
  * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Version} */ -public final class Version extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Version extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datafusion.v1beta1.Version) VersionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Version.newBuilder() to construct. private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Version() { versionNumber_ = ""; availableFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -27,16 +45,15 @@ private Version() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Version(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Version( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,39 +73,42 @@ private Version( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - versionNumber_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - defaultVersion_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - availableFeatures_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + versionNumber_ = s; + break; } - availableFeatures_.add(s); - break; - } - case 32: { - int rawValue = input.readEnum(); + case 16: + { + defaultVersion_ = input.readBool(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + availableFeatures_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + availableFeatures_.add(s); + break; + } + case 32: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + type_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,8 +116,7 @@ private Version( } 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)) { availableFeatures_ = availableFeatures_.getUnmodifiableView(); @@ -106,29 +125,35 @@ private Version( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Version.class, com.google.cloud.datafusion.v1beta1.Version.Builder.class); + com.google.cloud.datafusion.v1beta1.Version.class, + com.google.cloud.datafusion.v1beta1.Version.Builder.class); } /** + * + * *
    * Each type represents the release availability of a CDF version
    * 
* * Protobuf enum {@code google.cloud.datafusion.v1beta1.Version.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Version does not have availability yet
      * 
@@ -137,6 +162,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Version is under development and not considered stable
      * 
@@ -145,6 +172,8 @@ public enum Type */ TYPE_PREVIEW(1), /** + * + * *
      * Version is available for public use
      * 
@@ -156,6 +185,8 @@ public enum Type ; /** + * + * *
      * Version does not have availability yet
      * 
@@ -164,6 +195,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Version is under development and not considered stable
      * 
@@ -172,6 +205,8 @@ public enum Type */ public static final int TYPE_PREVIEW_VALUE = 1; /** + * + * *
      * Version is available for public use
      * 
@@ -180,7 +215,6 @@ public enum Type */ public static final int TYPE_GENERAL_AVAILABILITY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -205,49 +239,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return TYPE_PREVIEW; - case 2: return TYPE_GENERAL_AVAILABILITY; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return TYPE_PREVIEW; + case 2: + return TYPE_GENERAL_AVAILABILITY; + 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.datafusion.v1beta1.Version.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; @@ -267,11 +301,14 @@ private Type(int value) { public static final int VERSION_NUMBER_FIELD_NUMBER = 1; private volatile java.lang.Object versionNumber_; /** + * + * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; + * * @return The versionNumber. */ @java.lang.Override @@ -280,29 +317,29 @@ public java.lang.String getVersionNumber() { 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(); versionNumber_ = s; return s; } } /** + * + * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; + * * @return The bytes for versionNumber. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionNumberBytes() { + public com.google.protobuf.ByteString getVersionNumberBytes() { java.lang.Object ref = versionNumber_; 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); versionNumber_ = b; return b; } else { @@ -313,11 +350,14 @@ public java.lang.String getVersionNumber() { public static final int DEFAULT_VERSION_FIELD_NUMBER = 2; private boolean defaultVersion_; /** + * + * *
    * Whether this is currently the default version for Cloud Data Fusion
    * 
* * bool default_version = 2; + * * @return The defaultVersion. */ @java.lang.Override @@ -328,34 +368,42 @@ public boolean getDefaultVersion() { public static final int AVAILABLE_FEATURES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList availableFeatures_; /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @return A list containing the availableFeatures. */ - public com.google.protobuf.ProtocolStringList - getAvailableFeaturesList() { + public com.google.protobuf.ProtocolStringList getAvailableFeaturesList() { return availableFeatures_; } /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @return The count of availableFeatures. */ public int getAvailableFeaturesCount() { return availableFeatures_.size(); } /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @param index The index of the element to return. * @return The availableFeatures at the given index. */ @@ -363,47 +411,59 @@ public java.lang.String getAvailableFeatures(int index) { return availableFeatures_.get(index); } /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @param index The index of the value to return. * @return The bytes of the availableFeatures at the given index. */ - public com.google.protobuf.ByteString - getAvailableFeaturesBytes(int index) { + public com.google.protobuf.ByteString getAvailableFeaturesBytes(int index) { return availableFeatures_.getByteString(index); } public static final int TYPE_FIELD_NUMBER = 4; private int type_; /** + * + * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; + * * @return The type. */ - @java.lang.Override public com.google.cloud.datafusion.v1beta1.Version.Type getType() { + @java.lang.Override + public com.google.cloud.datafusion.v1beta1.Version.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Version.Type result = com.google.cloud.datafusion.v1beta1.Version.Type.valueOf(type_); + com.google.cloud.datafusion.v1beta1.Version.Type result = + com.google.cloud.datafusion.v1beta1.Version.Type.valueOf(type_); return result == null ? com.google.cloud.datafusion.v1beta1.Version.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -415,8 +475,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(versionNumber_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, versionNumber_); } @@ -442,8 +501,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, versionNumber_); } if (defaultVersion_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, defaultVersion_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, defaultVersion_); } { int dataSize = 0; @@ -454,8 +512,7 @@ public int getSerializedSize() { size += 1 * getAvailableFeaturesList().size(); } if (type_ != com.google.cloud.datafusion.v1beta1.Version.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -465,19 +522,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.datafusion.v1beta1.Version)) { return super.equals(obj); } - com.google.cloud.datafusion.v1beta1.Version other = (com.google.cloud.datafusion.v1beta1.Version) obj; + com.google.cloud.datafusion.v1beta1.Version other = + (com.google.cloud.datafusion.v1beta1.Version) obj; - if (!getVersionNumber() - .equals(other.getVersionNumber())) return false; - if (getDefaultVersion() - != other.getDefaultVersion()) return false; - if (!getAvailableFeaturesList() - .equals(other.getAvailableFeaturesList())) return false; + if (!getVersionNumber().equals(other.getVersionNumber())) return false; + if (getDefaultVersion() != other.getDefaultVersion()) return false; + if (!getAvailableFeaturesList().equals(other.getAvailableFeaturesList())) return false; if (type_ != other.type_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -493,8 +548,7 @@ public int hashCode() { hash = (37 * hash) + VERSION_NUMBER_FIELD_NUMBER; hash = (53 * hash) + getVersionNumber().hashCode(); hash = (37 * hash) + DEFAULT_VERSION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDefaultVersion()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDefaultVersion()); if (getAvailableFeaturesCount() > 0) { hash = (37 * hash) + AVAILABLE_FEATURES_FIELD_NUMBER; hash = (53 * hash) + getAvailableFeaturesList().hashCode(); @@ -506,118 +560,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.datafusion.v1beta1.Version parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datafusion.v1beta1.Version parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.Version parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datafusion.v1beta1.Version parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.datafusion.v1beta1.Version parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version 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 Data Fusion version.
    * 
* * Protobuf type {@code google.cloud.datafusion.v1beta1.Version} */ - 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.datafusion.v1beta1.Version) com.google.cloud.datafusion.v1beta1.VersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Version_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datafusion.v1beta1.Version.class, com.google.cloud.datafusion.v1beta1.Version.Builder.class); + com.google.cloud.datafusion.v1beta1.Version.class, + com.google.cloud.datafusion.v1beta1.Version.Builder.class); } // Construct using com.google.cloud.datafusion.v1beta1.Version.newBuilder() @@ -625,16 +688,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(); @@ -650,9 +712,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datafusion.v1beta1.V1Beta1.internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datafusion.v1beta1.V1Beta1 + .internal_static_google_cloud_datafusion_v1beta1_Version_descriptor; } @java.lang.Override @@ -671,7 +733,8 @@ public com.google.cloud.datafusion.v1beta1.Version build() { @java.lang.Override public com.google.cloud.datafusion.v1beta1.Version buildPartial() { - com.google.cloud.datafusion.v1beta1.Version result = new com.google.cloud.datafusion.v1beta1.Version(this); + com.google.cloud.datafusion.v1beta1.Version result = + new com.google.cloud.datafusion.v1beta1.Version(this); int from_bitField0_ = bitField0_; result.versionNumber_ = versionNumber_; result.defaultVersion_ = defaultVersion_; @@ -689,38 +752,39 @@ public com.google.cloud.datafusion.v1beta1.Version 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.datafusion.v1beta1.Version) { - return mergeFrom((com.google.cloud.datafusion.v1beta1.Version)other); + return mergeFrom((com.google.cloud.datafusion.v1beta1.Version) other); } else { super.mergeFrom(other); return this; @@ -777,22 +841,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object versionNumber_ = ""; /** + * + * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; + * * @return The versionNumber. */ public java.lang.String getVersionNumber() { java.lang.Object ref = versionNumber_; 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(); versionNumber_ = s; return s; @@ -801,20 +868,21 @@ public java.lang.String getVersionNumber() { } } /** + * + * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; + * * @return The bytes for versionNumber. */ - public com.google.protobuf.ByteString - getVersionNumberBytes() { + public com.google.protobuf.ByteString getVersionNumberBytes() { java.lang.Object ref = versionNumber_; 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); versionNumber_ = b; return b; } else { @@ -822,66 +890,76 @@ public java.lang.String getVersionNumber() { } } /** + * + * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; + * * @param value The versionNumber to set. * @return This builder for chaining. */ - public Builder setVersionNumber( - java.lang.String value) { + public Builder setVersionNumber(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + versionNumber_ = value; onChanged(); return this; } /** + * + * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; + * * @return This builder for chaining. */ public Builder clearVersionNumber() { - + versionNumber_ = getDefaultInstance().getVersionNumber(); onChanged(); return this; } /** + * + * *
      * The version number of the Data Fusion instance, such as '6.0.1.0'.
      * 
* * string version_number = 1; + * * @param value The bytes for versionNumber to set. * @return This builder for chaining. */ - public Builder setVersionNumberBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionNumberBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + versionNumber_ = value; onChanged(); return this; } - private boolean defaultVersion_ ; + private boolean defaultVersion_; /** + * + * *
      * Whether this is currently the default version for Cloud Data Fusion
      * 
* * bool default_version = 2; + * * @return The defaultVersion. */ @java.lang.Override @@ -889,71 +967,87 @@ public boolean getDefaultVersion() { return defaultVersion_; } /** + * + * *
      * Whether this is currently the default version for Cloud Data Fusion
      * 
* * bool default_version = 2; + * * @param value The defaultVersion to set. * @return This builder for chaining. */ public Builder setDefaultVersion(boolean value) { - + defaultVersion_ = value; onChanged(); return this; } /** + * + * *
      * Whether this is currently the default version for Cloud Data Fusion
      * 
* * bool default_version = 2; + * * @return This builder for chaining. */ public Builder clearDefaultVersion() { - + defaultVersion_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList availableFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList availableFeatures_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAvailableFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { availableFeatures_ = new com.google.protobuf.LazyStringArrayList(availableFeatures_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @return A list containing the availableFeatures. */ - public com.google.protobuf.ProtocolStringList - getAvailableFeaturesList() { + public com.google.protobuf.ProtocolStringList getAvailableFeaturesList() { return availableFeatures_.getUnmodifiableView(); } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @return The count of availableFeatures. */ public int getAvailableFeaturesCount() { return availableFeatures_.size(); } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @param index The index of the element to return. * @return The availableFeatures at the given index. */ @@ -961,80 +1055,90 @@ public java.lang.String getAvailableFeatures(int index) { return availableFeatures_.get(index); } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @param index The index of the value to return. * @return The bytes of the availableFeatures at the given index. */ - public com.google.protobuf.ByteString - getAvailableFeaturesBytes(int index) { + public com.google.protobuf.ByteString getAvailableFeaturesBytes(int index) { return availableFeatures_.getByteString(index); } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @param index The index to set the value at. * @param value The availableFeatures to set. * @return This builder for chaining. */ - public Builder setAvailableFeatures( - int index, java.lang.String value) { + public Builder setAvailableFeatures(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableFeaturesIsMutable(); + throw new NullPointerException(); + } + ensureAvailableFeaturesIsMutable(); availableFeatures_.set(index, value); onChanged(); return this; } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @param value The availableFeatures to add. * @return This builder for chaining. */ - public Builder addAvailableFeatures( - java.lang.String value) { + public Builder addAvailableFeatures(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableFeaturesIsMutable(); + throw new NullPointerException(); + } + ensureAvailableFeaturesIsMutable(); availableFeatures_.add(value); onChanged(); return this; } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @param values The availableFeatures to add. * @return This builder for chaining. */ - public Builder addAllAvailableFeatures( - java.lang.Iterable values) { + public Builder addAllAvailableFeatures(java.lang.Iterable values) { ensureAvailableFeaturesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, availableFeatures_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableFeatures_); onChanged(); return this; } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @return This builder for chaining. */ public Builder clearAvailableFeatures() { @@ -1044,20 +1148,22 @@ public Builder clearAvailableFeatures() { return this; } /** + * + * *
      * Represents a list of available feature names for a given version.
      * 
* * repeated string available_features = 3; + * * @param value The bytes of the availableFeatures to add. * @return This builder for chaining. */ - public Builder addAvailableFeaturesBytes( - com.google.protobuf.ByteString value) { + public Builder addAvailableFeaturesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAvailableFeaturesIsMutable(); availableFeatures_.add(value); onChanged(); @@ -1066,51 +1172,67 @@ public Builder addAvailableFeaturesBytes( private int type_ = 0; /** + * + * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; + * * @return The type. */ @java.lang.Override public com.google.cloud.datafusion.v1beta1.Version.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.datafusion.v1beta1.Version.Type result = com.google.cloud.datafusion.v1beta1.Version.Type.valueOf(type_); - return result == null ? com.google.cloud.datafusion.v1beta1.Version.Type.UNRECOGNIZED : result; + com.google.cloud.datafusion.v1beta1.Version.Type result = + com.google.cloud.datafusion.v1beta1.Version.Type.valueOf(type_); + return result == null + ? com.google.cloud.datafusion.v1beta1.Version.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1118,28 +1240,31 @@ public Builder setType(com.google.cloud.datafusion.v1beta1.Version.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type represents the release availability of the version
      * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 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); } @@ -1149,12 +1274,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datafusion.v1beta1.Version) } // @@protoc_insertion_point(class_scope:google.cloud.datafusion.v1beta1.Version) private static final com.google.cloud.datafusion.v1beta1.Version DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datafusion.v1beta1.Version(); } @@ -1163,16 +1288,16 @@ public static com.google.cloud.datafusion.v1beta1.Version getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1187,6 +1312,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datafusion.v1beta1.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java similarity index 72% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java index 8e94cdda..72d3a052 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java @@ -1,98 +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/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface VersionOrBuilder extends +public interface VersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.Version) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; + * * @return The versionNumber. */ java.lang.String getVersionNumber(); /** + * + * *
    * The version number of the Data Fusion instance, such as '6.0.1.0'.
    * 
* * string version_number = 1; + * * @return The bytes for versionNumber. */ - com.google.protobuf.ByteString - getVersionNumberBytes(); + com.google.protobuf.ByteString getVersionNumberBytes(); /** + * + * *
    * Whether this is currently the default version for Cloud Data Fusion
    * 
* * bool default_version = 2; + * * @return The defaultVersion. */ boolean getDefaultVersion(); /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @return A list containing the availableFeatures. */ - java.util.List - getAvailableFeaturesList(); + java.util.List getAvailableFeaturesList(); /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @return The count of availableFeatures. */ int getAvailableFeaturesCount(); /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @param index The index of the element to return. * @return The availableFeatures at the given index. */ java.lang.String getAvailableFeatures(int index); /** + * + * *
    * Represents a list of available feature names for a given version.
    * 
* * repeated string available_features = 3; + * * @param index The index of the value to return. * @return The bytes of the availableFeatures at the given index. */ - com.google.protobuf.ByteString - getAvailableFeaturesBytes(int index); + com.google.protobuf.ByteString getAvailableFeaturesBytes(int index); /** + * + * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type represents the release availability of the version
    * 
* * .google.cloud.datafusion.v1beta1.Version.Type type = 4; + * * @return The type. */ com.google.cloud.datafusion.v1beta1.Version.Type getType(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto b/proto-google-cloud-data-fusion-v1beta1/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto rename to proto-google-cloud-data-fusion-v1beta1/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/AsyncGetInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/AsyncGetInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/AsyncGetInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/AsyncGetInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/SyncGetInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/SyncGetInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/getinstance/SyncGetInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersions.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersions.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstances.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstances.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstances.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstances.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstancesPaged.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstancesPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstancesPaged.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/AsyncListInstancesPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/SyncListInstances.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/SyncListInstances.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/SyncListInstances.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/listinstances/SyncListInstances.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/SyncRestartInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/SyncRestartInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/SyncRestartInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/restartinstance/SyncRestartInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionsettings/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionsettings/getinstance/SyncGetInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionsettings/getinstance/SyncGetInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionsettings/getinstance/SyncGetInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datafusion/v1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/AsyncAddDnsPeering.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/AsyncAddDnsPeering.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/AsyncAddDnsPeering.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/AsyncAddDnsPeering.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeering.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeering.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeering.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeering.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringInstancename.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringInstancename.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringInstancename.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringInstancename.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringString.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/adddnspeering/SyncAddDnsPeeringString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstance.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstance.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/AsyncCreateInstanceLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstance.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstance.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceStringInstanceString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstance.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstance.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/AsyncDeleteInstanceLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/AsyncGetInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/AsyncGetInstance.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/AsyncGetInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/AsyncGetInstance.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/SyncGetInstance.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/SyncGetInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/getinstance/SyncGetInstance.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersions.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/AsyncListAvailableVersionsPaged.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersions.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersions.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersions.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersions.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsLocationname.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listavailableversions/SyncListAvailableVersionsString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeerings.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeerings.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeerings.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeerings.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeeringsPaged.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeeringsPaged.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeeringsPaged.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/AsyncListDnsPeeringsPaged.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeerings.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeerings.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeerings.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeerings.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsInstancename.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsInstancename.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsInstancename.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsInstancename.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsString.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listdnspeerings/SyncListDnsPeeringsString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstances.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstances.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstances.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstances.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstancesPaged.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstancesPaged.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstancesPaged.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/AsyncListInstancesPaged.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/SyncListInstances.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/SyncListInstances.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/SyncListInstances.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listinstances/SyncListInstances.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespaces.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespaces.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespaces.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespaces.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespacesPaged.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespacesPaged.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespacesPaged.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/AsyncListNamespacesPaged.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespaces.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespaces.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespaces.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespaces.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesInstancename.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesInstancename.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesInstancename.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesInstancename.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesString.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/listnamespaces/SyncListNamespacesString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/AsyncRemoveDnsPeering.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/AsyncRemoveDnsPeering.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/AsyncRemoveDnsPeering.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/AsyncRemoveDnsPeering.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeering.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeering.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeering.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeering.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringInstancename.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringInstancename.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringInstancename.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringInstancename.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringString.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removednspeering/SyncRemoveDnsPeeringString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/AsyncRemoveIamPolicy.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/AsyncRemoveIamPolicy.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/AsyncRemoveIamPolicy.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/AsyncRemoveIamPolicy.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/SyncRemoveIamPolicy.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/SyncRemoveIamPolicy.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/SyncRemoveIamPolicy.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/removeiampolicy/SyncRemoveIamPolicy.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstance.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstance.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/AsyncRestartInstanceLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/SyncRestartInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/SyncRestartInstance.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/SyncRestartInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/restartinstance/SyncRestartInstance.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstance.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstance.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/AsyncUpdateInstanceLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstance.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstance.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstance.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstance.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstanceLRO.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstanceLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstanceLRO.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/AsyncUpgradeInstanceLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/SyncUpgradeInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/SyncUpgradeInstance.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/SyncUpgradeInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/upgradeinstance/SyncUpgradeInstance.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionsettings/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionsettings/getinstance/SyncGetInstance.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionsettings/getinstance/SyncGetInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionsettings/getinstance/SyncGetInstance.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java rename to samples/snippets/generated/com/google/cloud/datafusion/v1beta1/stub/datafusionstubsettings/getinstance/SyncGetInstance.java