From d9f473e8808f520ebc14e69afe6f8ee56fae7717 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 3 Aug 2021 22:55:11 +0000 Subject: [PATCH 1/4] feat!: release gapic-generator-java v2.0.0 Committer: @miraleung PiperOrigin-RevId: 388535346 Source-Link: https://github.com/googleapis/googleapis/commit/d9eaf41de44d953458b18712a3f240bb4c564e48 Source-Link: https://github.com/googleapis/googleapis-gen/commit/976c5ab6f24b58c91fe04847ead1953f99d19e6a --- .../cloud/datafusion/v1/DataFusionGrpc.java | 1061 ------ .../datafusion/v1beta1/DataFusionGrpc.java | 1806 ---------- .../cloud/datafusion/v1/DataFusionClient.java | 49 +- .../datafusion/v1/DataFusionSettings.java | 16 +- .../cloud/datafusion/v1/gapic_metadata.json | 0 .../cloud/datafusion/v1/package-info.java | 0 .../datafusion/v1/stub/DataFusionStub.java | 0 .../v1/stub/DataFusionStubSettings.java | 27 +- .../stub/GrpcDataFusionCallableFactory.java | 0 .../v1/stub/GrpcDataFusionStub.java | 86 +- .../datafusion/v1/DataFusionClientTest.java | 8 +- .../cloud/datafusion/v1/MockDataFusion.java | 0 .../datafusion/v1/MockDataFusionImpl.java | 0 .../cloud/datafusion/v1/DataFusionGrpc.java | 836 +++++ .../cloud/datafusion/v1/Accelerator.java | 497 +-- .../datafusion/v1/AcceleratorOrBuilder.java | 30 +- .../datafusion/v1/CreateInstanceRequest.java | 491 ++- .../v1/CreateInstanceRequestOrBuilder.java | 44 +- .../cloud/datafusion/v1/CryptoKeyConfig.java | 301 +- .../v1/CryptoKeyConfigOrBuilder.java | 27 +- .../cloud/datafusion/v1/Datafusion.java | 389 +++ .../datafusion/v1/DeleteInstanceRequest.java | 311 +- .../v1/DeleteInstanceRequestOrBuilder.java | 27 +- .../datafusion/v1/GetInstanceRequest.java | 311 +- .../v1/GetInstanceRequestOrBuilder.java | 27 +- .../google/cloud/datafusion/v1/Instance.java | 3076 +++++++---------- .../datafusion/v1/InstanceOrBuilder.java | 337 +- .../v1/ListAvailableVersionsRequest.java | 464 ++- ...ListAvailableVersionsRequestOrBuilder.java | 42 +- .../v1/ListAvailableVersionsResponse.java | 464 +-- ...istAvailableVersionsResponseOrBuilder.java | 45 +- .../datafusion/v1/ListInstancesRequest.java | 584 ++-- .../v1/ListInstancesRequestOrBuilder.java | 57 +- .../datafusion/v1/ListInstancesResponse.java | 570 ++- .../v1/ListInstancesResponseOrBuilder.java | 63 +- .../cloud/datafusion/v1/NetworkConfig.java | 380 +- .../datafusion/v1/NetworkConfigOrBuilder.java | 36 +- .../datafusion/v1/OperationMetadata.java | 1018 +++--- .../v1/OperationMetadataOrBuilder.java | 104 +- .../datafusion/v1/RestartInstanceRequest.java | 314 +- .../v1/RestartInstanceRequestOrBuilder.java | 27 +- .../datafusion/v1/UpdateInstanceRequest.java | 436 +-- .../v1/UpdateInstanceRequestOrBuilder.java | 34 +- .../google/cloud/datafusion/v1/Version.java | 442 +-- .../cloud/datafusion/v1/VersionOrBuilder.java | 48 +- .../cloud/datafusion/v1/datafusion.proto | 0 .../datafusion/v1beta1/DataFusionClient.java | 83 +- .../v1beta1/DataFusionSettings.java | 16 +- .../datafusion/v1beta1/gapic_metadata.json | 0 .../datafusion/v1beta1/package-info.java | 0 .../v1beta1/stub/DataFusionStub.java | 0 .../v1beta1/stub/DataFusionStubSettings.java | 27 +- .../stub/GrpcDataFusionCallableFactory.java | 0 .../v1beta1/stub/GrpcDataFusionStub.java | 152 +- .../v1beta1/DataFusionClientTest.java | 0 .../datafusion/v1beta1/MockDataFusion.java | 0 .../v1beta1/MockDataFusionImpl.java | 0 .../datafusion/v1beta1/DataFusionGrpc.java | 1356 ++++++++ .../cloud/datafusion/v1beta1/Accelerator.java | 379 +- .../v1beta1/AcceleratorOrBuilder.java | 24 +- .../v1beta1/AddDnsPeeringRequest.java | 412 +-- .../AddDnsPeeringRequestOrBuilder.java | 35 +- .../v1beta1/AddDnsPeeringResponse.java | 238 +- .../AddDnsPeeringResponseOrBuilder.java | 9 + .../v1beta1/CreateInstanceRequest.java | 491 ++- .../CreateInstanceRequestOrBuilder.java | 44 +- .../datafusion/v1beta1/CryptoKeyConfig.java | 311 +- .../v1beta1/CryptoKeyConfigOrBuilder.java | 27 +- .../v1beta1/DeleteInstanceRequest.java | 314 +- .../DeleteInstanceRequestOrBuilder.java | 27 +- .../cloud/datafusion/v1beta1/DnsPeering.java | 619 ++-- .../v1beta1/DnsPeeringOrBuilder.java | 63 +- .../v1beta1/GetInstanceRequest.java | 314 +- .../v1beta1/GetInstanceRequestOrBuilder.java | 27 +- .../cloud/datafusion/v1beta1/IAMPolicy.java | 399 +-- .../v1beta1/IAMPolicyOrBuilder.java | 34 +- .../cloud/datafusion/v1beta1/Instance.java | 3065 +++++++--------- .../datafusion/v1beta1/InstanceName.java | 0 .../datafusion/v1beta1/InstanceOrBuilder.java | 337 +- .../v1beta1/ListAvailableVersionsRequest.java | 485 ++- ...ListAvailableVersionsRequestOrBuilder.java | 42 +- .../ListAvailableVersionsResponse.java | 472 +-- ...istAvailableVersionsResponseOrBuilder.java | 45 +- .../v1beta1/ListDnsPeeringsRequest.java | 455 +-- .../ListDnsPeeringsRequestOrBuilder.java | 47 +- .../v1beta1/ListDnsPeeringsResponse.java | 458 +-- .../ListDnsPeeringsResponseOrBuilder.java | 45 +- .../v1beta1/ListInstancesRequest.java | 587 ++-- .../ListInstancesRequestOrBuilder.java | 57 +- .../v1beta1/ListInstancesResponse.java | 574 ++- .../ListInstancesResponseOrBuilder.java | 63 +- .../v1beta1/ListNamespacesRequest.java | 523 ++- .../ListNamespacesRequestOrBuilder.java | 53 +- .../v1beta1/ListNamespacesResponse.java | 461 +-- .../ListNamespacesResponseOrBuilder.java | 45 +- .../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 | 393 +-- .../RemoveDnsPeeringRequestOrBuilder.java | 36 +- .../v1beta1/RemoveDnsPeeringResponse.java | 245 +- .../RemoveDnsPeeringResponseOrBuilder.java | 9 + .../v1beta1/RemoveIamPolicyRequest.java | 314 +- .../RemoveIamPolicyRequestOrBuilder.java | 29 + .../v1beta1/RemoveIamPolicyResponse.java | 238 +- .../RemoveIamPolicyResponseOrBuilder.java | 9 + .../v1beta1/RestartInstanceRequest.java | 314 +- .../RestartInstanceRequestOrBuilder.java | 27 +- .../v1beta1/UpdateInstanceRequest.java | 432 +-- .../UpdateInstanceRequestOrBuilder.java | 34 +- .../v1beta1/UpgradeInstanceRequest.java | 314 +- .../UpgradeInstanceRequestOrBuilder.java | 27 +- .../cloud/datafusion/v1beta1/V1Beta1.java | 604 ++++ .../cloud/datafusion/v1beta1/Version.java | 449 +-- .../datafusion/v1beta1/VersionOrBuilder.java | 48 +- .../cloud/datafusion/v1beta1/v1beta1.proto | 0 .../cloud/datafusion/v1/Datafusion.java | 456 --- .../cloud/datafusion/v1/InstanceName.java | 223 -- .../AddDnsPeeringResponseOrBuilder.java | 24 - .../datafusion/v1beta1/NamespaceName.java | 261 -- .../RemoveDnsPeeringResponseOrBuilder.java | 24 - .../RemoveIamPolicyRequestOrBuilder.java | 50 - .../RemoveIamPolicyResponseOrBuilder.java | 24 - .../cloud/datafusion/v1beta1/V1Beta1.java | 675 ---- 128 files changed, 13675 insertions(+), 21473 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 (95%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java (95%) 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 (85%) rename {google-cloud-data-fusion => owl-bot-staging/v1/google-cloud-data-fusion}/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientTest.java (98%) 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 (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/CreateInstanceRequestOrBuilder.java (66%) 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 (57%) 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 (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/DeleteInstanceRequestOrBuilder.java (50%) 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 (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/GetInstanceRequestOrBuilder.java (51%) 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 (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/InstanceOrBuilder.java (79%) 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 (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/ListAvailableVersionsRequestOrBuilder.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/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 (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/ListInstancesRequestOrBuilder.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/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/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 (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/RestartInstanceRequestOrBuilder.java (53%) 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 (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/UpdateInstanceRequestOrBuilder.java (81%) 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 (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/VersionOrBuilder.java (68%) 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 {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java (95%) rename {google-cloud-data-fusion => owl-bot-staging/v1beta1/google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java (96%) 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 (83%) 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 (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/AddDnsPeeringRequestOrBuilder.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/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 (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/CreateInstanceRequestOrBuilder.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/CryptoKeyConfig.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/CryptoKeyConfigOrBuilder.java (58%) 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 (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/DeleteInstanceRequestOrBuilder.java (51%) 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 (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/GetInstanceRequestOrBuilder.java (51%) 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 (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/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 (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/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 (79%) 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 (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/ListAvailableVersionsRequestOrBuilder.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/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 (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/ListInstancesRequestOrBuilder.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/ListInstancesResponse.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/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/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 (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/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 (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/RemoveDnsPeeringRequestOrBuilder.java (56%) 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 (67%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.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/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 (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/RestartInstanceRequestOrBuilder.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/UpdateInstanceRequest.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/UpdateInstanceRequestOrBuilder.java (81%) 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 (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/UpgradeInstanceRequestOrBuilder.java (58%) 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 (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/VersionOrBuilder.java (68%) 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%) 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/InstanceName.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/NamespaceName.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/RemoveIamPolicyRequestOrBuilder.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/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 c0856d84..00000000 --- a/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java +++ /dev/null @@ -1,1061 +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") -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 3c840853..00000000 --- a/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java +++ /dev/null @@ -1,1806 +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") -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 95% 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 91d53f13..c322c2aa 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 @@ -16,7 +16,6 @@ package com.google.cloud.datafusion.v1; -import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.core.BetaApi; @@ -62,13 +61,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. *
* @@ -809,11 +808,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, @@ -822,12 +818,7 @@ public static ApiFuture createAsync( ListAvailableVersionsPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListAvailableVersionsPagedResponse apply(ListAvailableVersionsPage input) { - return new ListAvailableVersionsPagedResponse(input); - } - }, + input -> new ListAvailableVersionsPagedResponse(input), MoreExecutors.directExecutor()); } @@ -838,9 +829,7 @@ private ListAvailableVersionsPagedResponse(ListAvailableVersionsPage page) { public static class ListAvailableVersionsPage extends AbstractPage< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, - Version, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, ListAvailableVersionsPage> { private ListAvailableVersionsPage( @@ -870,11 +859,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) { @@ -894,10 +880,7 @@ protected ListAvailableVersionsFixedSizeCollection createCollection( public static class ListInstancesPagedResponse extends AbstractPagedListResponse< - ListInstancesRequest, - ListInstancesResponse, - Instance, - ListInstancesPage, + ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage, ListInstancesFixedSizeCollection> { public static ApiFuture createAsync( @@ -907,12 +890,7 @@ public static ApiFuture createAsync( ListInstancesPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListInstancesPagedResponse apply(ListInstancesPage input) { - return new ListInstancesPagedResponse(input); - } - }, + input -> new ListInstancesPagedResponse(input), MoreExecutors.directExecutor()); } @@ -952,10 +930,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 95% 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 7b63173c..0ec08b5a 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 @@ -29,6 +29,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; @@ -45,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 @@ -74,8 +75,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(); @@ -220,14 +220,13 @@ public DataFusionStubSettings.Builder getStubSettingsBuilder() { return ((DataFusionStubSettings.Builder) getStubSettings()); } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; @@ -235,8 +234,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 15c62400..5e0a0fdb 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 @@ -75,9 +75,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 @@ -106,8 +106,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< @@ -204,13 +203,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( @@ -245,8 +242,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; @@ -398,8 +394,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< @@ -655,14 +650,13 @@ private static Builder initDefaults(Builder builder) { return builder; } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); return this; } @@ -673,8 +667,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 85% 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 42b54b24..4734700a 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 @@ -25,7 +25,6 @@ import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.RequestParamsExtractor; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.datafusion.v1.CreateInstanceRequest; import com.google.cloud.datafusion.v1.DeleteInstanceRequest; @@ -196,91 +195,70 @@ protected GrpcDataFusionStub( .newBuilder() .setMethodDescriptor(listAvailableVersionsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListAvailableVersionsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings listInstancesTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listInstancesMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListInstancesRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings getInstanceTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getInstanceMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(GetInstanceRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings createInstanceTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(createInstanceMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(CreateInstanceRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings deleteInstanceTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteInstanceMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteInstanceRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings updateInstanceTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(updateInstanceMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(UpdateInstanceRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("instance.name", String.valueOf(request.getInstance().getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("instance.name", String.valueOf(request.getInstance().getName())); + return params.build(); }) .build(); GrpcCallSettings restartInstanceTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(restartInstanceMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(RestartInstanceRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); @@ -422,7 +400,13 @@ public UnaryCallable restartInstanceCallable( @Override public final void close() { - shutdown(); + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } } @Override 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 98% 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 index 98422809..3001b2c0 100644 --- 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 @@ -199,7 +199,7 @@ public void listInstancesExceptionTest() throws Exception { public void getInstanceTest() throws Exception { Instance expectedResponse = Instance.newBuilder() - .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setName("name3373707") .setDescription("description-1724546052") .setEnableStackdriverLogging(true) .setEnableStackdriverMonitoring(true) @@ -261,7 +261,7 @@ public void getInstanceExceptionTest() throws Exception { public void createInstanceTest() throws Exception { Instance expectedResponse = Instance.newBuilder() - .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setName("name3373707") .setDescription("description-1724546052") .setEnableStackdriverLogging(true) .setEnableStackdriverMonitoring(true) @@ -379,7 +379,7 @@ public void deleteInstanceExceptionTest() throws Exception { public void updateInstanceTest() throws Exception { Instance expectedResponse = Instance.newBuilder() - .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setName("name3373707") .setDescription("description-1724546052") .setEnableStackdriverLogging(true) .setEnableStackdriverMonitoring(true) @@ -452,7 +452,7 @@ public void updateInstanceExceptionTest() throws Exception { public void restartInstanceTest() throws Exception { Instance expectedResponse = Instance.newBuilder() - .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setName("name3373707") .setDescription("description-1724546052") .setEnableStackdriverLogging(true) .setEnableStackdriverMonitoring(true) 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..f663c6cb --- /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,836 @@ +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") +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 38eaf5a0..8e2b0191 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,57 +54,51 @@ 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) { throw e.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.
@@ -129,10 +106,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.
      * 
@@ -141,8 +117,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { */ ACCELERATOR_TYPE_UNSPECIFIED(0), /** - * - * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -151,8 +125,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.
@@ -162,8 +134,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
@@ -177,8 +147,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value, if unspecified.
      * 
@@ -187,8 +155,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCELERATOR_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -197,8 +163,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.
@@ -208,8 +172,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
@@ -220,6 +182,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(
@@ -244,44 +207,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);
     }
 
@@ -290,7 +249,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;
@@ -308,18 +268,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
      * 
@@ -328,8 +285,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Indicates that the accelerator is enabled and available to use
      * 
@@ -338,8 +293,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ENABLED(1), /** - * - * *
      * Indicates that the accelerator is disabled and not available to use
      * 
@@ -348,8 +301,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
@@ -362,8 +313,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value, do not use
      * 
@@ -372,8 +321,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
      * 
@@ -382,8 +329,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
      * 
@@ -392,8 +337,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
@@ -403,6 +346,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(
@@ -427,51 +371,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;
@@ -491,79 +434,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; @@ -575,10 +497,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()) { @@ -593,13 +514,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; @@ -609,13 +530,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; @@ -639,127 +559,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() @@ -767,15 +678,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(); @@ -787,9 +699,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 @@ -808,8 +720,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(); @@ -820,39 +731,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; @@ -898,93 +808,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; @@ -992,67 +882,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. */ @@ -1060,31 +934,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); } @@ -1094,12 +965,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(); } @@ -1108,16 +979,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; @@ -1132,4 +1003,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 69% 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 9f35ce63..c851b61c 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,82 +54,72 @@ 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) { throw e.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_; /** - * - * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -155,30 +128,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; } } /** - * - * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; - * * @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 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INSTANCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceId_; /** - * - * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; - * * @return The instanceId. */ @java.lang.Override @@ -205,29 +175,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; } } /** - * - * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; - * * @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 { @@ -238,14 +208,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 @@ -253,25 +220,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.
    * 
@@ -284,7 +244,6 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,7 +255,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,7 +282,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; @@ -332,19 +293,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; @@ -371,126 +334,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() @@ -498,15 +452,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(); @@ -524,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_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 @@ -545,8 +500,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) { @@ -562,39 +516,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; @@ -602,8 +555,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(); @@ -634,8 +586,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) { @@ -647,21 +598,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; - * * @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; @@ -670,22 +619,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; - * * @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 { @@ -693,64 +641,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; - * * @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; } /** - * - * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; - * * @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; @@ -758,20 +699,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; - * * @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; @@ -780,21 +719,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; - * * @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 { @@ -802,61 +740,54 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; - * * @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; } /** - * - * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceId() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** - * - * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; - * * @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; @@ -864,47 +795,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.
      * 
@@ -925,15 +843,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(); @@ -944,8 +861,6 @@ public Builder setInstance(com.google.cloud.datafusion.v1.Instance.Builder build return this; } /** - * - * *
      * An instance resource.
      * 
@@ -956,9 +871,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; } @@ -970,8 +883,6 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1.Instance value) { return this; } /** - * - * *
      * An instance resource.
      * 
@@ -990,8 +901,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * An instance resource.
      * 
@@ -999,13 +908,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.
      * 
@@ -1016,14 +923,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.
      * 
@@ -1031,24 +935,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); } @@ -1058,12 +959,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(); } @@ -1072,16 +973,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; @@ -1096,4 +997,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 66% 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 79e1d827..a5d19aca 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,107 +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 { /** - * - * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; - * * @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 460e2f59..82f6a4a0 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,52 +54,47 @@ 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) {
       throw e.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
@@ -124,7 +102,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string key_reference = 1; - * * @return The keyReference. */ @java.lang.Override @@ -133,15 +110,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
@@ -149,15 +125,16 @@ public java.lang.String getKeyReference() {
    * 
* * string key_reference = 1; - * * @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 { @@ -166,7 +143,6 @@ public com.google.protobuf.ByteString getKeyReferenceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +154,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 (!getKeyReferenceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyReference_); } @@ -202,15 +179,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; } @@ -229,104 +206,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.
@@ -334,23 +304,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()
@@ -358,15 +326,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();
@@ -376,9 +345,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
@@ -397,8 +366,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;
@@ -408,39 +376,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;
@@ -484,8 +451,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
@@ -493,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string key_reference = 1; - * * @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; @@ -508,8 +473,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
@@ -517,14 +480,15 @@ public java.lang.String getKeyReference() {
      * 
* * string key_reference = 1; - * * @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 { @@ -532,8 +496,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
@@ -541,22 +503,20 @@ public com.google.protobuf.ByteString getKeyReferenceBytes() {
      * 
* * string key_reference = 1; - * * @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
@@ -564,18 +524,15 @@ public Builder setKeyReference(java.lang.String value) {
      * 
* * string key_reference = 1; - * * @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
@@ -583,23 +540,23 @@ public Builder clearKeyReference() {
      * 
* * string key_reference = 1; - * * @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); } @@ -609,12 +566,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(); } @@ -623,16 +580,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; @@ -647,4 +604,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 57% 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 c0f113b8..4f49d23a 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; - * * @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; - * * @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..4de72aa0 --- /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,389 @@ +// 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\"V\n\007Version" + + "\022\026\n\016version_number\030\001 \001(\t\022\027\n\017default_vers" + + "ion\030\002 \001(\010\022\032\n\022available_features\030\003 \003(\t\"\307\002" + + "\n\013Accelerator\022Q\n\020accelerator_type\030\001 \001(\0162" + + "7.google.cloud.datafusion.v1.Accelerator" + + ".AcceleratorType\022<\n\005state\030\002 \001(\0162-.google" + + ".cloud.datafusion.v1.Accelerator.State\"_" + + "\n\017AcceleratorType\022 \n\034ACCELERATOR_TYPE_UN" + + "SPECIFIED\020\000\022\007\n\003CDC\020\001\022\016\n\nHEALTHCARE\020\002\022\021\n\r" + + "CCAI_INSIGHTS\020\003\"F\n\005State\022\025\n\021STATE_UNSPEC" + + "IFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DISABLED\020\002\022\013\n\007UN" + + "KNOWN\020\003\"(\n\017CryptoKeyConfig\022\025\n\rkey_refere" + + "nce\030\001 \001(\t\"\204\014\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A" + + "\003\022\023\n\013description\030\002 \001(\t\022<\n\004type\030\003 \001(\0162).g" + + "oogle.cloud.datafusion.v1.Instance.TypeB" + + "\003\340A\002\022\"\n\032enable_stackdriver_logging\030\004 \001(\010" + + "\022%\n\035enable_stackdriver_monitoring\030\005 \001(\010\022" + + "\030\n\020private_instance\030\006 \001(\010\022A\n\016network_con" + + "fig\030\007 \001(\0132).google.cloud.datafusion.v1.N" + + "etworkConfig\022@\n\006labels\030\010 \003(\01320.google.cl" + + "oud.datafusion.v1.Instance.LabelsEntry\022B" + + "\n\007options\030\t \003(\01321.google.cloud.datafusio" + + "n.v1.Instance.OptionsEntry\0224\n\013create_tim" + + "e\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0224\n\013update_time\030\013 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022>\n\005state\030\014 \001(\0162*.google.c" + + "loud.datafusion.v1.Instance.StateB\003\340A\003\022\032" + + "\n\rstate_message\030\r \001(\tB\003\340A\003\022\035\n\020service_en" + + "dpoint\030\016 \001(\tB\003\340A\003\022\014\n\004zone\030\017 \001(\t\022\017\n\007versi" + + "on\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\022>\n\021available_vers" + + "ion\030\023 \003(\0132#.google.cloud.datafusion.v1.V" + + "ersion\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\014accelerators\030\026 \003(\013" + + "2\'.google.cloud.datafusion.v1.Accelerato" + + "r\022\037\n\022p4_service_account\030\027 \001(\tB\003\340A\003\022\036\n\021te" + + "nant_project_id\030\030 \001(\tB\003\340A\003\022 \n\030dataproc_s" + + "ervice_account\030\031 \001(\t\022\023\n\013enable_rbac\030\033 \001(" + + "\010\022F\n\021crypto_key_config\030\034 \001(\0132+.google.cl" + + "oud.datafusion.v1.CryptoKeyConfig\032-\n\013Lab" + + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + "\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001\"F\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t" + + "\n\005BASIC\020\001\022\016\n\nENTERPRISE\020\002\022\r\n\tDEVELOPER\020\003" + + "\"\246\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CRE" + + "ATING\020\001\022\n\n\006ACTIVE\020\002\022\n\n\006FAILED\020\003\022\014\n\010DELET" + + "ING\020\004\022\r\n\tUPGRADING\020\005\022\016\n\nRESTARTING\020\006\022\014\n\010" + + "UPDATING\020\007\022\021\n\rAUTO_UPDATING\020\010\022\022\n\016AUTO_UP" + + "GRADING\020\t:e\352Ab\n\"datafusion.googleapis.co" + + "m/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,59 +53,53 @@ 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) { throw e.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_; /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -131,30 +108,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; } } /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -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.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; } @@ -227,126 +204,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() @@ -354,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(); @@ -372,9 +341,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 @@ -393,8 +362,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; @@ -404,39 +372,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; @@ -444,8 +411,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(); @@ -469,8 +435,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) { @@ -482,21 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; @@ -505,22 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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 { @@ -528,71 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; } - @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); } @@ -602,12 +557,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(); } @@ -616,16 +571,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; @@ -640,4 +595,6 @@ 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/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java index a69a1fc4..77ba610d 100644 --- a/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 @@ -1,52 +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 DeleteInstanceRequestOrBuilder - extends +public interface DeleteInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.DeleteInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + 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 68% 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 cd50c3e7..56cb71c8 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,59 +53,53 @@ 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) { throw e.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_; /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -131,30 +108,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; } } /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -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.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; } @@ -227,126 +204,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() @@ -354,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(); @@ -372,9 +341,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 @@ -393,8 +362,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; @@ -404,39 +372,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; @@ -444,8 +411,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(); @@ -469,8 +435,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) { @@ -482,21 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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; @@ -505,22 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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 { @@ -528,71 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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; } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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; } - @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); } @@ -602,12 +557,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(); } @@ -616,16 +571,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; @@ -640,4 +595,6 @@ 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/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java index 8b0909ce..c3b377c3 100644 --- a/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 @@ -1,52 +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 GetInstanceRequestOrBuilder - extends +public interface GetInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.GetInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + 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 72% 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 5c657dfa..42044d27 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_ = ""; @@ -59,15 +41,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) @@ -87,257 +70,226 @@ 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; - } - case 24: - { - int rawValue = input.readEnum(); + description_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 32: - { - enableStackdriverLogging_ = input.readBool(); - break; + 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(); } - case 40: - { - enableStackdriverMonitoring_ = input.readBool(); - break; + networkConfig_ = input.readMessage(com.google.cloud.datafusion.v1.NetworkConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networkConfig_); + networkConfig_ = subBuilder.buildPartial(); } - case 48: - { - privateInstance_ = input.readBool(); - break; + + break; + } + case 66: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - 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; + 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 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; + 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 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; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = 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; + + break; + } + case 90: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - 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; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 96: - { - int rawValue = input.readEnum(); - 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; - } - availableVersion_.add( - input.readMessage( - com.google.cloud.datafusion.v1.Version.parser(), extensionRegistry)); - break; - } - case 162: - { - java.lang.String s = input.readStringRequireUtf8(); + serviceAccount_ = s; + break; + } + case 146: { + java.lang.String s = input.readStringRequireUtf8(); - apiEndpoint_ = s; - break; + displayName_ = s; + break; + } + case 154: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + availableVersion_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 170: - { - 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(); - 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(); + apiEndpoint_ = s; + break; + } + case 170: { + java.lang.String s = input.readStringRequireUtf8(); - p4ServiceAccount_ = s; - break; + gcsBucket_ = s; + break; + } + case 178: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + accelerators_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 194: - { - 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(); - 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: - { - enableRbac_ = input.readBool(); - break; + tenantProjectId_ = s; + break; + } + case 202: { + java.lang.String s = input.readStringRequireUtf8(); + + dataprocServiceAccount_ = s; + break; + } + case 216: { + + enableRbac_ = input.readBool(); + break; + } + case 226: { + com.google.cloud.datafusion.v1.CryptoKeyConfig.Builder subBuilder = null; + if (cryptoKeyConfig_ != null) { + subBuilder = cryptoKeyConfig_.toBuilder(); } - 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; + cryptoKeyConfig_ = input.readMessage(com.google.cloud.datafusion.v1.CryptoKeyConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cryptoKeyConfig_); + cryptoKeyConfig_ = 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) { throw e.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_); @@ -349,38 +301,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.
@@ -388,10 +336,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.
      * 
@@ -400,8 +347,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
@@ -413,8 +358,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
@@ -425,8 +368,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
@@ -441,8 +382,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * No type specified. The instance creation will fail.
      * 
@@ -451,8 +390,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
@@ -464,8 +401,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
@@ -476,8 +411,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
@@ -489,6 +422,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(
@@ -513,51 +447,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;
@@ -575,18 +508,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
      * 
@@ -595,8 +525,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Instance is being created
      * 
@@ -605,8 +533,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.
@@ -616,8 +542,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     ACTIVE(2),
     /**
-     *
-     *
      * 
      * Instance creation failed
      * 
@@ -626,8 +550,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * Instance is being deleted
      * 
@@ -636,8 +558,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
      * Instance is being upgraded
      * 
@@ -646,8 +566,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UPGRADING(5), /** - * - * *
      * Instance is being restarted
      * 
@@ -656,8 +574,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RESTARTING(6), /** - * - * *
      * Instance is being updated on customer request
      * 
@@ -666,8 +582,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UPDATING(7), /** - * - * *
      * Instance is being auto-updated
      * 
@@ -676,8 +590,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ AUTO_UPDATING(8), /** - * - * *
      * Instance is being auto-upgraded
      * 
@@ -689,8 +601,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Instance does not have a state yet
      * 
@@ -699,8 +609,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Instance is being created
      * 
@@ -709,8 +617,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.
@@ -720,8 +626,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ACTIVE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Instance creation failed
      * 
@@ -730,8 +634,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * Instance is being deleted
      * 
@@ -740,8 +642,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; /** - * - * *
      * Instance is being upgraded
      * 
@@ -750,8 +650,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADING_VALUE = 5; /** - * - * *
      * Instance is being restarted
      * 
@@ -760,8 +658,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESTARTING_VALUE = 6; /** - * - * *
      * Instance is being updated on customer request
      * 
@@ -770,8 +666,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATING_VALUE = 7; /** - * - * *
      * Instance is being auto-updated
      * 
@@ -780,8 +674,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTO_UPDATING_VALUE = 8; /** - * - * *
      * Instance is being auto-upgraded
      * 
@@ -790,6 +682,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTO_UPGRADING_VALUE = 9; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -814,63 +707,56 @@ 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; - 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; + 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; @@ -890,15 +776,12 @@ private State(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]; - * * @return The name. */ @java.lang.Override @@ -907,30 +790,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]; - * * @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 { @@ -941,14 +824,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 @@ -957,29 +837,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 { @@ -990,54 +870,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 @@ -1048,14 +912,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 @@ -1066,8 +927,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
@@ -1075,7 +934,6 @@ public boolean getEnableStackdriverMonitoring() {
    * 
* * bool private_instance = 6; - * * @return The privateInstance. */ @java.lang.Override @@ -1086,15 +944,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 @@ -1102,26 +957,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.
@@ -1135,23 +983,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_;
   }
@@ -1160,8 +1009,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
@@ -1170,22 +1017,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 8;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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
@@ -1195,12 +1042,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
@@ -1210,16 +1056,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 java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    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
@@ -1229,11 +1075,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 java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1241,23 +1088,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_;
   }
@@ -1266,8 +1114,6 @@ public int getOptionsCount() {
     return internalGetOptions().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1275,22 +1121,22 @@ public int getOptionsCount() {
    *
    * map<string, string> options = 9;
    */
+
   @java.lang.Override
-  public boolean containsOptions(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsOptions(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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.
@@ -1299,12 +1145,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.
@@ -1313,16 +1158,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 java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetOptions().getMap();
+
+  public java.lang.String getOptionsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    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.
@@ -1331,11 +1176,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 java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetOptions().getMap();
+
+  public java.lang.String getOptionsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetOptions().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1345,15 +1191,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 @@ -1361,15 +1203,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 @@ -1377,14 +1215,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() { @@ -1394,15 +1229,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 @@ -1410,15 +1241,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 @@ -1426,14 +1253,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() { @@ -1443,55 +1267,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 @@ -1500,30 +1308,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 { @@ -1534,14 +1342,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 @@ -1550,29 +1355,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 { @@ -1583,15 +1388,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 @@ -1600,30 +1402,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 { @@ -1634,14 +1436,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 @@ -1650,29 +1449,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 { @@ -1683,53 +1482,44 @@ 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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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 { @@ -1739,15 +1529,12 @@ 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 @@ -1756,29 +1543,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 { @@ -1789,8 +1576,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.
@@ -1803,8 +1588,6 @@ public java.util.List getAvailableVersio
     return availableVersion_;
   }
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1813,13 +1596,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.
@@ -1832,8 +1613,6 @@ public int getAvailableVersionCount() {
     return availableVersion_.size();
   }
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1846,8 +1625,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.
@@ -1856,21 +1633,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 @@ -1879,29 +1654,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 { @@ -1912,15 +1687,12 @@ 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 @@ -1929,30 +1701,30 @@ 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 { @@ -1963,8 +1735,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.
    * 
@@ -1976,8 +1746,6 @@ public java.util.List getAccelerator return accelerators_; } /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1985,13 +1753,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.
    * 
@@ -2003,8 +1769,6 @@ public int getAcceleratorsCount() { return accelerators_.size(); } /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -2016,8 +1780,6 @@ public com.google.cloud.datafusion.v1.Accelerator getAccelerators(int index) { return accelerators_.get(index); } /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -2025,21 +1787,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 @@ -2048,29 +1808,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 { @@ -2081,14 +1841,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 @@ -2097,29 +1854,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 { @@ -2130,8 +1887,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.
@@ -2140,7 +1895,6 @@ public com.google.protobuf.ByteString getTenantProjectIdBytes() {
    * 
* * string dataproc_service_account = 25; - * * @return The dataprocServiceAccount. */ @java.lang.Override @@ -2149,15 +1903,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.
@@ -2166,15 +1919,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 { @@ -2185,14 +1939,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 @@ -2203,15 +1954,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 @@ -2219,26 +1967,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.
@@ -2252,7 +1993,6 @@ public com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder getCryptoKeyConfi
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2264,7 +2004,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 (!getNameBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -2286,10 +2027,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());
     }
@@ -2360,49 +2109,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 (!getStateMessageBytes().isEmpty()) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, stateMessage_);
@@ -2423,8 +2179,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 (!getApiEndpointBytes().isEmpty()) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, apiEndpoint_);
@@ -2433,7 +2189,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 (!getP4ServiceAccountBytes().isEmpty()) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, p4ServiceAccount_);
@@ -2445,10 +2202,12 @@ 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());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -2458,51 +2217,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -2522,11 +2306,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();
@@ -2580,7 +2367,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();
@@ -2590,151 +2378,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() @@ -2742,18 +2523,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(); @@ -2837,9 +2618,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 @@ -2858,8 +2639,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_; @@ -2930,39 +2710,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; @@ -2994,8 +2773,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()); } @@ -3047,10 +2828,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_); } @@ -3082,10 +2862,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_); } @@ -3137,26 +2916,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]; - * * @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; @@ -3165,22 +2941,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]; - * * @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 { @@ -3188,64 +2963,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]; - * * @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]; - * * @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]; - * * @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; @@ -3253,20 +3021,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; @@ -3275,21 +3041,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 { @@ -3297,61 +3062,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; @@ -3359,73 +3117,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. */ @@ -3433,41 +3169,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 @@ -3475,51 +3203,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 @@ -3527,45 +3246,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
@@ -3573,7 +3284,6 @@ public Builder clearEnableStackdriverMonitoring() {
      * 
* * bool private_instance = 6; - * * @return The privateInstance. */ @java.lang.Override @@ -3581,8 +3291,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
@@ -3590,19 +3298,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
@@ -3610,11 +3315,10 @@ public Builder setPrivateInstance(boolean value) {
      * 
* * bool private_instance = 6; - * * @return This builder for chaining. */ public Builder clearPrivateInstance() { - + privateInstance_ = false; onChanged(); return this; @@ -3622,49 +3326,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.
@@ -3686,8 +3377,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.
@@ -3707,8 +3396,6 @@ public Builder setNetworkConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3720,9 +3407,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;
         }
@@ -3734,8 +3419,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.
@@ -3755,8 +3438,6 @@ public Builder clearNetworkConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3765,13 +3446,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.
@@ -3783,14 +3462,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.
@@ -3799,37 +3475,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();
@@ -3841,8 +3515,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
@@ -3851,22 +3523,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 8;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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
@@ -3876,12 +3548,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
@@ -3891,17 +3562,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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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
@@ -3911,11 +3581,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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3923,12 +3594,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
@@ -3937,21 +3607,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 8;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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
@@ -3960,19 +3632,16 @@ 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 java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      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
@@ -3981,26 +3650,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();
@@ -4012,8 +3685,6 @@ public int getOptionsCount() {
       return internalGetOptions().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4021,22 +3692,22 @@ public int getOptionsCount() {
      *
      * map<string, string> options = 9;
      */
+
     @java.lang.Override
-    public boolean containsOptions(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsOptions(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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.
@@ -4045,12 +3716,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.
@@ -4059,17 +3729,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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetOptions().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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.
@@ -4078,11 +3747,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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetOptions().getMap();
+
+    public java.lang.String getOptionsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetOptions().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4090,12 +3760,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.
@@ -4103,21 +3772,23 @@ public Builder clearOptions() {
      *
      * map<string, string> options = 9;
      */
-    public Builder removeOptions(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableOptions().getMutableMap().remove(key);
+
+    public Builder removeOptions(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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.
@@ -4125,19 +3796,16 @@ 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 java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableOptions().getMutableMap().put(key, value);
+    public Builder putOptions(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableOptions().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4145,65 +3813,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) { @@ -4219,17 +3871,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(); @@ -4240,21 +3889,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; } @@ -4266,15 +3911,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) { @@ -4288,64 +3929,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_; @@ -4353,58 +3978,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) { @@ -4420,17 +4026,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(); @@ -4441,21 +4044,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; } @@ -4467,15 +4066,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) { @@ -4489,64 +4084,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_; @@ -4554,73 +4133,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. */ @@ -4628,26 +4185,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; @@ -4655,21 +4207,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; @@ -4678,22 +4228,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 { @@ -4701,64 +4250,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; @@ -4766,20 +4308,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; @@ -4788,21 +4328,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 { @@ -4810,61 +4349,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; @@ -4872,21 +4404,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; @@ -4895,22 +4425,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 { @@ -4918,64 +4447,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; @@ -4983,20 +4505,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; @@ -5005,21 +4525,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 { @@ -5027,61 +4546,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; @@ -5089,24 +4601,19 @@ 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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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; @@ -5115,25 +4622,21 @@ 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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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 { @@ -5141,73 +4644,57 @@ 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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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; @@ -5215,20 +4702,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; @@ -5237,21 +4722,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 { @@ -5259,86 +4743,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) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + */ + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + 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.
@@ -5354,8 +4824,6 @@ public java.util.List getAvailableVersio
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5371,8 +4839,6 @@ public int getAvailableVersionCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5388,8 +4854,6 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersion(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5397,7 +4861,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();
@@ -5411,8 +4876,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.
@@ -5432,8 +4895,6 @@ public Builder setAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5455,8 +4916,6 @@ public Builder addAvailableVersion(com.google.cloud.datafusion.v1.Version value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5464,7 +4923,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();
@@ -5478,8 +4938,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.
@@ -5499,8 +4957,6 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5520,8 +4976,6 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5533,7 +4987,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);
@@ -5541,8 +4996,6 @@ public Builder addAllAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5561,8 +5014,6 @@ public Builder clearAvailableVersion() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5581,8 +5032,6 @@ public Builder removeAvailableVersion(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5590,12 +5039,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.
@@ -5603,16 +5051,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.
@@ -5620,8 +5066,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 {
@@ -5629,8 +5075,6 @@ public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5639,12 +5083,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.
@@ -5652,13 +5094,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.
@@ -5666,22 +5107,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(),
@@ -5693,20 +5128,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; @@ -5715,21 +5148,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 { @@ -5737,61 +5169,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; @@ -5799,21 +5224,19 @@ 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; @@ -5822,22 +5245,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 { @@ -5845,89 +5267,75 @@ 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.
      * 
@@ -5942,8 +5350,6 @@ public java.util.List getAccelerator } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5958,8 +5364,6 @@ public int getAcceleratorsCount() { } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5974,15 +5378,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(); @@ -5996,8 +5399,6 @@ public Builder setAccelerators(int index, com.google.cloud.datafusion.v1.Acceler return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6016,8 +5417,6 @@ public Builder setAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6038,15 +5437,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(); @@ -6060,8 +5458,6 @@ public Builder addAccelerators(int index, com.google.cloud.datafusion.v1.Acceler return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6080,8 +5476,6 @@ public Builder addAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6100,8 +5494,6 @@ public Builder addAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6112,7 +5504,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); @@ -6120,8 +5513,6 @@ public Builder addAllAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6139,8 +5530,6 @@ public Builder clearAccelerators() { return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6158,44 +5547,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 { @@ -6203,8 +5587,6 @@ public com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuil } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6212,48 +5594,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_; @@ -6261,20 +5637,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; @@ -6283,21 +5657,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 { @@ -6305,61 +5678,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; @@ -6367,20 +5733,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; @@ -6389,21 +5753,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 { @@ -6411,61 +5774,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; @@ -6473,8 +5829,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.
@@ -6483,13 +5837,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; @@ -6498,8 +5852,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.
@@ -6508,14 +5860,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 { @@ -6523,8 +5876,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.
@@ -6533,22 +5884,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.
@@ -6557,18 +5906,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.
@@ -6577,31 +5923,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 @@ -6609,36 +5952,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; @@ -6646,49 +5983,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.
@@ -6710,8 +6034,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.
@@ -6731,8 +6053,6 @@ public Builder setCryptoKeyConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6744,9 +6064,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;
         }
@@ -6758,8 +6076,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.
@@ -6779,8 +6095,6 @@ public Builder clearCryptoKeyConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6789,13 +6103,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.
@@ -6807,14 +6119,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.
@@ -6823,24 +6132,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_;
     }
-
     @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);
     }
 
@@ -6850,12 +6156,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();
   }
@@ -6864,16 +6170,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;
@@ -6888,4 +6194,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/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 79%
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 506c164e..b8b5da0b 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,138 +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]; - * * @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]; - * * @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
@@ -140,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.
@@ -184,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
@@ -196,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
@@ -206,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
@@ -221,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
@@ -233,10 +177,11 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 8;
    */
-  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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
@@ -245,11 +190,11 @@ public interface InstanceOrBuilder
    *
    * 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.
@@ -259,8 +204,6 @@ public interface InstanceOrBuilder
    */
   int getOptionsCount();
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -268,13 +211,15 @@ public interface InstanceOrBuilder
    *
    * 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.
@@ -282,10 +227,9 @@ public interface InstanceOrBuilder
    *
    * 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.
@@ -293,10 +237,11 @@ public interface InstanceOrBuilder
    *
    * map<string, string> options = 9;
    */
-  java.lang.String getOptionsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getOptionsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -304,278 +249,210 @@ public interface InstanceOrBuilder
    *
    * 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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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.
@@ -583,10 +460,9 @@ public interface InstanceOrBuilder
    *
    * 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.
@@ -596,8 +472,6 @@ public interface InstanceOrBuilder
    */
   com.google.cloud.datafusion.v1.Version getAvailableVersion(int index);
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -607,8 +481,6 @@ public interface InstanceOrBuilder
    */
   int getAvailableVersionCount();
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -616,11 +488,9 @@ public interface InstanceOrBuilder
    *
    * 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.
@@ -628,73 +498,61 @@ public interface InstanceOrBuilder
    *
    * 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.
    * 
@@ -703,8 +561,6 @@ public interface InstanceOrBuilder */ com.google.cloud.datafusion.v1.Accelerator getAccelerators(int index); /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -713,80 +569,65 @@ public interface InstanceOrBuilder */ 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.
@@ -795,13 +636,10 @@ public interface InstanceOrBuilder
    * 
* * 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.
@@ -810,53 +648,42 @@ public interface InstanceOrBuilder
    * 
* * 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.
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 72%
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 ba5e4897..41ece2fc 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,76 +54,69 @@ 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) { throw e.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]; - * * @return The parent. */ @java.lang.Override @@ -149,30 +125,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]; - * * @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 { @@ -183,14 +159,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 @@ -201,15 +174,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 @@ -218,30 +188,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 { @@ -252,8 +222,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
@@ -261,7 +229,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * bool latest_patch_only = 4; - * * @return The latestPatchOnly. */ @java.lang.Override @@ -270,7 +237,6 @@ public boolean getLatestPatchOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -282,7 +248,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -308,13 +275,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 (!getPageTokenBytes().isEmpty()) { 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; @@ -324,18 +293,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; } @@ -354,134 +326,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() @@ -489,15 +452,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(); @@ -513,9 +477,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 @@ -534,8 +498,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_; @@ -548,39 +511,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; @@ -588,8 +550,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(); @@ -623,8 +584,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) { @@ -636,21 +596,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]; - * * @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; @@ -659,22 +617,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]; - * * @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 { @@ -682,79 +639,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]; - * * @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]; - * * @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]; - * * @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 @@ -762,36 +709,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; @@ -799,21 +740,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; @@ -822,22 +761,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 { @@ -845,73 +783,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
@@ -919,7 +848,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * bool latest_patch_only = 4; - * * @return The latestPatchOnly. */ @java.lang.Override @@ -927,8 +855,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
@@ -936,19 +862,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
@@ -956,18 +879,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); } @@ -977,12 +899,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(); } @@ -991,16 +913,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; @@ -1015,4 +937,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 69% 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 d312385c..ab11aa51 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,98 +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]; - * * @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]; - * * @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
@@ -100,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 fdb7e4c1..3c88ffec 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,38 +55,35 @@ 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) { throw e.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_); @@ -112,27 +92,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.
    * 
@@ -144,8 +119,6 @@ public java.util.List getAvailableVersio return availableVersions_; } /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -153,13 +126,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.
    * 
@@ -171,8 +142,6 @@ public int getAvailableVersionsCount() { return availableVersions_.size(); } /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -184,8 +153,6 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersions(int index) { return availableVersions_.get(index); } /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -193,22 +160,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 @@ -217,30 +182,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 { @@ -249,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +225,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)); } @@ -278,8 +243,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +257,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; } @@ -325,127 +291,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() @@ -453,17 +409,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(); @@ -479,14 +435,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(); } @@ -501,8 +456,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)) { @@ -522,39 +476,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; @@ -562,9 +515,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()) { @@ -583,10 +534,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_); } @@ -615,8 +565,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) { @@ -625,29 +574,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.
      * 
@@ -662,8 +603,6 @@ public java.util.List getAvailableVersio } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -678,8 +617,6 @@ public int getAvailableVersionsCount() { } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -694,15 +631,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(); @@ -716,8 +652,6 @@ public Builder setAvailableVersions(int index, com.google.cloud.datafusion.v1.Ve return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -736,8 +670,6 @@ public Builder setAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -758,15 +690,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(); @@ -780,8 +711,6 @@ public Builder addAvailableVersions(int index, com.google.cloud.datafusion.v1.Ve return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -800,8 +729,6 @@ public Builder addAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -820,8 +747,6 @@ public Builder addAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -832,7 +757,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); @@ -840,8 +766,6 @@ public Builder addAllAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -859,8 +783,6 @@ public Builder clearAvailableVersions() { return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -878,20 +800,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.
      * 
@@ -901,22 +820,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 { @@ -924,8 +840,6 @@ public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBui } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -933,47 +847,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(), @@ -985,21 +890,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; @@ -1008,22 +911,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 { @@ -1031,71 +933,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); } @@ -1105,13 +1000,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(); } @@ -1120,16 +1014,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; @@ -1144,4 +1038,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 72% 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 a994be64..fcccf039 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,78 +56,70 @@ 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) { throw e.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_; /** - * - * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -153,7 +128,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -162,15 +136,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; } } /** - * - * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -179,15 +152,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1; - * * @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 { @@ -198,14 +172,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 @@ -216,15 +187,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 @@ -233,30 +201,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 { @@ -267,14 +235,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 @@ -283,29 +248,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 { @@ -316,14 +281,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 @@ -332,29 +294,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 { @@ -363,7 +325,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -375,7 +336,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -404,7 +366,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 (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -423,19 +386,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; } @@ -463,126 +430,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() @@ -590,15 +548,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(); @@ -616,9 +575,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 @@ -637,8 +596,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_; @@ -652,39 +610,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; @@ -692,8 +649,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(); @@ -732,8 +688,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) { @@ -745,8 +700,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -755,13 +708,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1; - * * @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; @@ -770,8 +723,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -780,14 +731,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1; - * * @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 { @@ -795,8 +747,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -805,22 +755,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1; - * * @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; } /** - * - * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -829,18 +777,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -849,31 +794,28 @@ public Builder clearParent() {
      * 
* * string parent = 1; - * * @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 @@ -881,36 +823,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; @@ -918,21 +854,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; @@ -941,22 +875,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 { @@ -964,64 +897,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; @@ -1029,20 +955,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; @@ -1051,21 +975,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 { @@ -1073,61 +996,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; @@ -1135,20 +1051,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; @@ -1157,21 +1071,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 { @@ -1179,68 +1092,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); } @@ -1250,12 +1156,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(); } @@ -1264,16 +1170,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; @@ -1288,4 +1194,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 71% 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 ef280121..c8a3d974 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 { /** - * - * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -34,13 +16,10 @@ public interface ListInstancesRequestOrBuilder
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -49,98 +28,80 @@ public interface ListInstancesRequestOrBuilder
    * 
* * string parent = 1; - * * @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 cb5801a8..a1325638 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,47 +56,44 @@ 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) { throw e.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_); @@ -125,27 +105,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.
    * 
@@ -157,8 +132,6 @@ public java.util.List getInstancesList( return instances_; } /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -166,13 +139,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.
    * 
@@ -184,8 +155,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -197,8 +166,6 @@ public com.google.cloud.datafusion.v1.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -206,22 +173,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 @@ -230,30 +195,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 { @@ -264,42 +229,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. */ @@ -307,23 +264,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; @@ -335,7 +289,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)); } @@ -355,7 +310,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -376,17 +332,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; } @@ -414,126 +372,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() @@ -541,17 +490,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(); @@ -569,9 +518,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 @@ -590,8 +539,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)) { @@ -616,39 +564,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; @@ -656,8 +603,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()) { @@ -676,10 +622,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_); } @@ -718,8 +663,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) { @@ -728,28 +672,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.
      * 
@@ -764,8 +701,6 @@ public java.util.List getInstancesList( } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -780,8 +715,6 @@ public int getInstancesCount() { } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -796,15 +729,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(); @@ -818,8 +750,6 @@ public Builder setInstances(int index, com.google.cloud.datafusion.v1.Instance v return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -838,8 +768,6 @@ public Builder setInstances( return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -860,15 +788,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(); @@ -882,15 +809,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()); @@ -901,8 +827,6 @@ public Builder addInstances(com.google.cloud.datafusion.v1.Instance.Builder buil return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -921,8 +845,6 @@ public Builder addInstances( return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -933,7 +855,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); @@ -941,8 +864,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -960,8 +881,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -979,44 +898,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 { @@ -1024,8 +938,6 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder(in } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -1033,48 +945,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_; @@ -1082,21 +988,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; @@ -1105,22 +1009,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 { @@ -1128,115 +1031,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. */ @@ -1244,90 +1130,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() { @@ -1337,30 +1213,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); } @@ -1370,12 +1244,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(); } @@ -1384,16 +1258,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; @@ -1408,4 +1282,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/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 7befa496..50aadd41 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,59 +59,53 @@ 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) {
       throw e.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
@@ -137,7 +114,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string network = 1; - * * @return The network. */ @java.lang.Override @@ -146,15 +122,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
@@ -163,15 +138,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 { @@ -182,8 +158,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
@@ -191,7 +165,6 @@ public com.google.protobuf.ByteString getNetworkBytes() {
    * 
* * string ip_allocation = 2; - * * @return The ipAllocation. */ @java.lang.Override @@ -200,15 +173,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
@@ -216,15 +188,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 { @@ -233,7 +206,6 @@ public com.google.protobuf.ByteString getIpAllocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +217,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 (!getNetworkBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -275,16 +248,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; } @@ -305,104 +279,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
@@ -414,23 +381,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()
@@ -438,15 +403,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -458,9 +424,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
@@ -479,8 +445,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();
@@ -491,39 +456,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;
@@ -571,8 +535,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
@@ -581,13 +543,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; @@ -596,8 +558,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
@@ -606,14 +566,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 { @@ -621,8 +582,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
@@ -631,22 +590,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
@@ -655,18 +612,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
@@ -675,16 +629,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; @@ -692,8 +646,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
@@ -701,13 +653,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; @@ -716,8 +668,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
@@ -725,14 +675,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 { @@ -740,8 +691,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
@@ -749,22 +698,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
@@ -772,18 +719,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
@@ -791,23 +735,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); } @@ -817,12 +761,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(); } @@ -831,16 +775,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; @@ -855,4 +799,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 4d1471bb..98ef8e67 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,142 +57,126 @@ 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) { throw e.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 @@ -217,14 +184,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 @@ -232,8 +196,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the operation was created.
    * 
@@ -248,14 +210,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 @@ -263,14 +222,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 @@ -278,8 +234,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation finished running.
    * 
@@ -294,14 +248,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 @@ -310,29 +261,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 { @@ -343,14 +294,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 @@ -359,29 +307,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 { @@ -392,14 +340,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 @@ -408,29 +353,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 { @@ -441,8 +386,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
@@ -452,7 +395,6 @@ public com.google.protobuf.ByteString getStatusDetailBytes() {
    * 
* * bool requested_cancellation = 6; - * * @return The requestedCancellation. */ @java.lang.Override @@ -463,14 +405,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 @@ -479,29 +418,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 { @@ -510,22 +449,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); @@ -537,8 +475,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
@@ -548,22 +484,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 java.lang.NullPointerException();
-    }
+  public boolean containsAdditionalStatus(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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
@@ -574,12 +510,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
@@ -590,17 +525,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 java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetAdditionalStatus().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    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
@@ -611,11 +545,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 java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetAdditionalStatus().getMap();
+
+  public java.lang.String getAdditionalStatusOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetAdditionalStatus().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -623,7 +558,6 @@ public java.lang.String getAdditionalStatusOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -635,7 +569,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());
     }
@@ -657,8 +592,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (!getApiVersionBytes().isEmpty()) {
       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);
   }
 
@@ -669,10 +608,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 (!getTargetBytes().isEmpty()) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_);
@@ -684,20 +625,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 (!getApiVersionBytes().isEmpty()) {
       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;
@@ -707,28 +649,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;
   }
@@ -755,7 +704,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()) {
@@ -767,147 +717,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() @@ -915,15 +858,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(); @@ -954,9 +898,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 @@ -975,8 +919,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_; @@ -1003,39 +946,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; @@ -1043,8 +985,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()); } @@ -1070,7 +1011,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; @@ -1099,52 +1041,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.
      * 
@@ -1165,15 +1093,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(); @@ -1184,8 +1111,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1196,7 +1121,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; } @@ -1208,8 +1133,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1228,8 +1151,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1237,13 +1158,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.
      * 
@@ -1254,14 +1173,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.
      * 
@@ -1269,17 +1185,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_; @@ -1287,33 +1200,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() { @@ -1324,8 +1228,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1346,15 +1248,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(); @@ -1365,8 +1266,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1377,7 +1276,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; } @@ -1389,8 +1288,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1409,8 +1306,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1418,13 +1313,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.
      * 
@@ -1435,12 +1328,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.
      * 
@@ -1448,17 +1340,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_; @@ -1466,20 +1355,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; @@ -1488,21 +1375,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 { @@ -1510,61 +1396,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; @@ -1572,20 +1451,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; @@ -1594,21 +1471,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 { @@ -1616,61 +1492,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; @@ -1678,20 +1547,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; @@ -1700,21 +1567,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 { @@ -1722,70 +1588,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
@@ -1814,19 +1668,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
@@ -1836,11 +1687,10 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1848,20 +1698,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; @@ -1870,21 +1718,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 { @@ -1892,85 +1739,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(); @@ -1982,8 +1819,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
@@ -1993,22 +1828,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 java.lang.NullPointerException();
-      }
+    public boolean containsAdditionalStatus(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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
@@ -2019,12 +1854,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
@@ -2035,18 +1869,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 java.lang.NullPointerException();
-      }
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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
@@ -2057,10 +1889,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 java.lang.NullPointerException();
-      }
+
+    public java.lang.String getAdditionalStatusOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       java.util.Map map =
           internalGetAdditionalStatus().getMap();
       if (!map.containsKey(key)) {
@@ -2070,12 +1902,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
@@ -2085,21 +1916,23 @@ public Builder clearAdditionalStatus() {
      *
      * map<string, string> additional_status = 8;
      */
-    public Builder removeAdditionalStatus(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableAdditionalStatus().getMutableMap().remove(key);
+
+    public Builder removeAdditionalStatus(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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
@@ -2109,19 +1942,16 @@ 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 java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableAdditionalStatus().getMutableMap().put(key, value);
+    public Builder putAdditionalStatus(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      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
@@ -2131,14 +1961,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);
     }
 
@@ -2148,12 +1980,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();
   }
@@ -2162,16 +1994,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;
@@ -2186,4 +2018,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 1a418876..ba8bef5c 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
@@ -180,39 +131,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
@@ -224,8 +167,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
@@ -235,13 +176,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
@@ -251,10 +194,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
@@ -264,11 +206,11 @@ public interface OperationMetadataOrBuilder
    *
    * map<string, string> additional_status = 8;
    */
+
   java.lang.String getAdditionalStatusOrDefault(
-      java.lang.String key, java.lang.String defaultValue);
+      java.lang.String key,
+      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
@@ -278,5 +220,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 68%
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 89481482..4969c068 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,59 +53,53 @@ 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) { throw e.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_; /** - * - * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -131,30 +108,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; } } /** - * - * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -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.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; } @@ -227,127 +204,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() @@ -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.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 @@ -394,8 +362,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; @@ -405,39 +372,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; @@ -445,8 +411,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(); @@ -470,8 +435,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) { @@ -483,21 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; @@ -506,22 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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 { @@ -529,71 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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 Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; } - @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); } @@ -603,12 +557,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(); } @@ -617,16 +571,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; @@ -641,4 +595,6 @@ 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/owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java similarity index 53% rename from proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java index c1d95c82..838b9357 100644 --- a/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 @@ -1,52 +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 RestartInstanceRequestOrBuilder - extends +public interface RestartInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.RestartInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + 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 73% 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 48796de2..35be778b 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,47 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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; -/** Protobuf type {@code google.cloud.datafusion.v1.UpdateInstanceRequest} */ -public final class UpdateInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datafusion.v1.UpdateInstanceRequest} + */ +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) @@ -60,76 +48,67 @@ 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) { throw e.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_; /** - * - * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -137,7 +116,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.datafusion.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ @java.lang.Override @@ -145,8 +123,6 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -154,18 +130,13 @@ public boolean hasInstance() {
    * 
* * .google.cloud.datafusion.v1.Instance instance = 1; - * * @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_; } /** - * - * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -182,8 +153,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
@@ -194,7 +163,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 @@ -202,8 +170,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
@@ -214,7 +180,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -222,8 +187,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
@@ -241,7 +204,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -253,7 +215,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());
     }
@@ -270,10 +233,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;
@@ -283,21 +248,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;
@@ -324,118 +290,113 @@ 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;
   }
-  /** Protobuf type {@code google.cloud.datafusion.v1.UpdateInstanceRequest} */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  /**
+   * Protobuf type {@code google.cloud.datafusion.v1.UpdateInstanceRequest}
+   */
+  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()
@@ -443,15 +404,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();
@@ -471,9 +433,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
@@ -492,8 +454,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 {
@@ -512,39 +473,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;
@@ -552,8 +512,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());
       }
@@ -579,8 +538,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) {
@@ -592,13 +550,8 @@ 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_;
     /**
-     *
-     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -606,15 +559,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.datafusion.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ public boolean hasInstance() { return instanceBuilder_ != null || instance_ != null; } /** - * - * *
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -622,21 +572,16 @@ public boolean hasInstance() {
      * 
* * .google.cloud.datafusion.v1.Instance instance = 1; - * * @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(); } } /** - * - * *
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -659,8 +604,6 @@ public Builder setInstance(com.google.cloud.datafusion.v1.Instance value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -669,7 +612,8 @@ public Builder setInstance(com.google.cloud.datafusion.v1.Instance value) {
      *
      * .google.cloud.datafusion.v1.Instance instance = 1;
      */
-    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();
@@ -680,8 +624,6 @@ public Builder setInstance(com.google.cloud.datafusion.v1.Instance.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -694,9 +636,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;
         }
@@ -708,8 +648,6 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1.Instance value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -730,8 +668,6 @@ public Builder clearInstance() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -741,13 +677,11 @@ public Builder clearInstance() {
      * .google.cloud.datafusion.v1.Instance instance = 1;
      */
     public com.google.cloud.datafusion.v1.Instance.Builder getInstanceBuilder() {
-
+      
       onChanged();
       return getInstanceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -760,14 +694,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_;
       }
     }
     /**
-     *
-     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -777,17 +708,14 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() {
      * .google.cloud.datafusion.v1.Instance instance = 1;
      */
     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_;
@@ -795,13 +723,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
@@ -812,15 +735,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
@@ -831,21 +751,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
@@ -871,8 +786,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
@@ -884,7 +797,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();
@@ -895,8 +809,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
@@ -912,7 +824,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;
         }
@@ -924,8 +836,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
@@ -949,8 +859,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
@@ -963,13 +871,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
@@ -985,14 +891,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
@@ -1005,24 +908,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);
     }
 
@@ -1032,12 +932,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();
   }
@@ -1046,16 +946,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;
@@ -1070,4 +970,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 81%
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 7b7c31d6..c77f1674 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,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 UpdateInstanceRequestOrBuilder
-    extends
+public interface UpdateInstanceRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.UpdateInstanceRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -33,13 +15,10 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * .google.cloud.datafusion.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -47,13 +26,10 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * .google.cloud.datafusion.v1.Instance instance = 1; - * * @return The instance. */ com.google.cloud.datafusion.v1.Instance getInstance(); /** - * - * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -65,8 +41,6 @@ public interface UpdateInstanceRequestOrBuilder
   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
@@ -77,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
@@ -94,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 73%
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 36cee9fb..a2b6b7e4 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;
@@ -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,41 +56,40 @@ 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;
+            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;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            availableFeatures_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.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();
@@ -116,33 +98,27 @@ 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);
   }
 
   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 @@ -151,29 +127,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 { @@ -184,14 +160,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 @@ -202,42 +175,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. */ @@ -245,23 +210,20 @@ 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); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,7 +235,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 (!getVersionNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, versionNumber_); } @@ -296,7 +259,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; @@ -314,16 +278,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,7 +305,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(); @@ -348,104 +316,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.
@@ -453,23 +414,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()
@@ -477,15 +436,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 +459,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
@@ -520,8 +480,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_;
@@ -538,39 +497,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;
@@ -624,25 +582,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; @@ -651,21 +606,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 { @@ -673,76 +627,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 @@ -750,87 +694,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. */ @@ -838,90 +766,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() { @@ -931,30 +849,28 @@ 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(); 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); } @@ -964,12 +880,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(); } @@ -978,16 +894,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; @@ -1002,4 +918,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 68% 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 7f26416b..0c98a0f4 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,114 +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/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); } 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/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 95% 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 e12ba606..03ece578 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 @@ -16,7 +16,6 @@ package com.google.cloud.datafusion.v1beta1; -import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.core.BetaApi; @@ -62,13 +61,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. *
* @@ -1336,11 +1335,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, @@ -1349,12 +1345,7 @@ public static ApiFuture createAsync( ListAvailableVersionsPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListAvailableVersionsPagedResponse apply(ListAvailableVersionsPage input) { - return new ListAvailableVersionsPagedResponse(input); - } - }, + input -> new ListAvailableVersionsPagedResponse(input), MoreExecutors.directExecutor()); } @@ -1365,9 +1356,7 @@ private ListAvailableVersionsPagedResponse(ListAvailableVersionsPage page) { public static class ListAvailableVersionsPage extends AbstractPage< - ListAvailableVersionsRequest, - ListAvailableVersionsResponse, - Version, + ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, ListAvailableVersionsPage> { private ListAvailableVersionsPage( @@ -1397,11 +1386,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) { @@ -1421,10 +1407,7 @@ protected ListAvailableVersionsFixedSizeCollection createCollection( public static class ListInstancesPagedResponse extends AbstractPagedListResponse< - ListInstancesRequest, - ListInstancesResponse, - Instance, - ListInstancesPage, + ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage, ListInstancesFixedSizeCollection> { public static ApiFuture createAsync( @@ -1434,12 +1417,7 @@ public static ApiFuture createAsync( ListInstancesPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListInstancesPagedResponse apply(ListInstancesPage input) { - return new ListInstancesPagedResponse(input); - } - }, + input -> new ListInstancesPagedResponse(input), MoreExecutors.directExecutor()); } @@ -1479,10 +1457,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) { @@ -1502,10 +1477,7 @@ protected ListInstancesFixedSizeCollection createCollection( public static class ListNamespacesPagedResponse extends AbstractPagedListResponse< - ListNamespacesRequest, - ListNamespacesResponse, - Namespace, - ListNamespacesPage, + ListNamespacesRequest, ListNamespacesResponse, Namespace, ListNamespacesPage, ListNamespacesFixedSizeCollection> { public static ApiFuture createAsync( @@ -1515,12 +1487,7 @@ public static ApiFuture createAsync( ListNamespacesPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListNamespacesPagedResponse apply(ListNamespacesPage input) { - return new ListNamespacesPagedResponse(input); - } - }, + input -> new ListNamespacesPagedResponse(input), MoreExecutors.directExecutor()); } @@ -1560,10 +1527,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) { @@ -1583,10 +1547,7 @@ protected ListNamespacesFixedSizeCollection createCollection( public static class ListDnsPeeringsPagedResponse extends AbstractPagedListResponse< - ListDnsPeeringsRequest, - ListDnsPeeringsResponse, - DnsPeering, - ListDnsPeeringsPage, + ListDnsPeeringsRequest, ListDnsPeeringsResponse, DnsPeering, ListDnsPeeringsPage, ListDnsPeeringsFixedSizeCollection> { public static ApiFuture createAsync( @@ -1596,12 +1557,7 @@ public static ApiFuture createAsync( ListDnsPeeringsPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListDnsPeeringsPagedResponse apply(ListDnsPeeringsPage input) { - return new ListDnsPeeringsPagedResponse(input); - } - }, + input -> new ListDnsPeeringsPagedResponse(input), MoreExecutors.directExecutor()); } @@ -1641,10 +1597,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 96% 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 5cba6d80..a810d6f7 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 @@ -31,6 +31,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; @@ -47,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 @@ -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(); @@ -265,14 +265,13 @@ public DataFusionStubSettings.Builder getStubSettingsBuilder() { return ((DataFusionStubSettings.Builder) getStubSettings()); } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; @@ -280,8 +279,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 13a45d28..3acea337 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 @@ -90,9 +90,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 @@ -122,8 +122,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< @@ -311,13 +310,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( @@ -386,8 +383,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; @@ -588,8 +584,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< @@ -941,14 +936,13 @@ private static Builder initDefaults(Builder builder) { return builder; } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); return this; } @@ -959,8 +953,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 83% 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 7f79b03a..e1f9940c 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 @@ -28,7 +28,6 @@ import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.RequestParamsExtractor; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.datafusion.v1beta1.AddDnsPeeringRequest; import com.google.cloud.datafusion.v1beta1.AddDnsPeeringResponse; @@ -291,104 +290,80 @@ protected GrpcDataFusionStub( .newBuilder() .setMethodDescriptor(listAvailableVersionsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListAvailableVersionsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings listInstancesTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listInstancesMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListInstancesRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings getInstanceTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getInstanceMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(GetInstanceRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings createInstanceTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(createInstanceMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(CreateInstanceRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings deleteInstanceTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteInstanceMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteInstanceRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings updateInstanceTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(updateInstanceMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(UpdateInstanceRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("instance.name", String.valueOf(request.getInstance().getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("instance.name", String.valueOf(request.getInstance().getName())); + return params.build(); }) .build(); GrpcCallSettings restartInstanceTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(restartInstanceMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(RestartInstanceRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings upgradeInstanceTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(upgradeInstanceMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(UpgradeInstanceRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings @@ -396,13 +371,10 @@ public Map extract(UpgradeInstanceRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(removeIamPolicyMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(RemoveIamPolicyRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("resource", String.valueOf(request.getResource())); + return params.build(); }) .build(); GrpcCallSettings @@ -410,26 +382,20 @@ public Map extract(RemoveIamPolicyRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(listNamespacesMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListNamespacesRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings addDnsPeeringTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(addDnsPeeringMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(AddDnsPeeringRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings @@ -437,13 +403,10 @@ public Map extract(AddDnsPeeringRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(removeDnsPeeringMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(RemoveDnsPeeringRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings @@ -451,13 +414,10 @@ public Map extract(RemoveDnsPeeringRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(listDnsPeeringsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListDnsPeeringsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); @@ -678,7 +638,13 @@ public UnaryCallable listDnsPee @Override public final void close() { - shutdown(); + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } } @Override 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..129b697d --- /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,1356 @@ +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") +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 e42225db..1dfbe7b9 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,50 +53,45 @@ 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) { throw e.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.
@@ -121,10 +99,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.
      * 
@@ -133,8 +110,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { */ ACCELERATOR_TYPE_UNSPECIFIED(0), /** - * - * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -143,8 +118,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.
@@ -157,8 +130,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value, if unspecified.
      * 
@@ -167,8 +138,6 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCELERATOR_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -177,8 +146,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.
@@ -188,6 +155,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(
@@ -212,42 +180,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);
     }
 
@@ -256,7 +221,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;
@@ -276,43 +242,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; @@ -324,11 +278,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); @@ -340,11 +292,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; @@ -354,13 +304,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; @@ -381,127 +330,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() @@ -509,15 +449,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(); @@ -527,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_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 @@ -548,8 +489,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; @@ -559,39 +499,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; @@ -599,8 +538,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()); } @@ -635,105 +573,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); } @@ -743,12 +656,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(); } @@ -757,16 +670,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; @@ -781,4 +694,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 68% 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 90060473..ce449d1a 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,74 +53,65 @@ 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) { throw e.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_; /** - * - * *
    * The resource on which DNS peering will be created.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -146,29 +120,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; } } /** - * - * *
    * The resource on which DNS peering will be created.
    * 
* * string parent = 1; - * * @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 { @@ -179,14 +153,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 @@ -194,25 +165,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.
    * 
@@ -225,7 +189,6 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringOrBu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,7 +200,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -257,7 +221,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; @@ -267,18 +232,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; @@ -303,127 +269,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() @@ -431,15 +387,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(); @@ -455,9 +412,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 @@ -476,8 +433,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_; @@ -492,39 +448,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; @@ -532,8 +487,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(); @@ -560,8 +514,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) { @@ -573,20 +526,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The resource on which DNS peering will be created.
      * 
* * string parent = 1; - * * @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; @@ -595,21 +546,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The resource on which DNS peering will be created.
      * 
* * string parent = 1; - * * @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 { @@ -617,61 +567,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The resource on which DNS peering will be created.
      * 
* * string parent = 1; - * * @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; } /** - * - * *
      * The resource on which DNS peering will be created.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The resource on which DNS peering will be created.
      * 
* * string parent = 1; - * * @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; @@ -679,47 +622,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.
      * 
@@ -740,8 +670,6 @@ public Builder setDnsPeering(com.google.cloud.datafusion.v1beta1.DnsPeering valu return this; } /** - * - * *
      * Dns peering config.
      * 
@@ -760,8 +688,6 @@ public Builder setDnsPeering( return this; } /** - * - * *
      * Dns peering config.
      * 
@@ -772,9 +698,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; } @@ -786,8 +710,6 @@ public Builder mergeDnsPeering(com.google.cloud.datafusion.v1beta1.DnsPeering va return this; } /** - * - * *
      * Dns peering config.
      * 
@@ -806,8 +728,6 @@ public Builder clearDnsPeering() { return this; } /** - * - * *
      * Dns peering config.
      * 
@@ -815,13 +735,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.
      * 
@@ -832,14 +750,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.
      * 
@@ -847,24 +762,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); } @@ -874,12 +786,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(); } @@ -888,16 +800,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; @@ -912,4 +824,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 63% 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 96426b71..ff87698b 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,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 AddDnsPeeringRequestOrBuilder - extends +public interface AddDnsPeeringRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource on which DNS peering will be created.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The resource on which DNS peering will be created.
    * 
* * string parent = 1; - * * @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 14004536..2cf30deb 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,42 +52,39 @@ 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) { throw e.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; @@ -115,7 +96,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); } @@ -133,13 +115,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; @@ -158,127 +139,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() @@ -286,15 +257,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(); @@ -302,9 +274,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 @@ -323,8 +295,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; } @@ -333,39 +304,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; @@ -373,8 +343,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; @@ -394,8 +363,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) { @@ -404,9 +372,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); } @@ -416,12 +384,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(); } @@ -430,16 +398,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; @@ -454,4 +422,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 69% 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 56d35a24..7a5fa1c9 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,82 +54,72 @@ 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) { throw e.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_; /** - * - * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -155,30 +128,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; } } /** - * - * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; - * * @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 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INSTANCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceId_; /** - * - * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; - * * @return The instanceId. */ @java.lang.Override @@ -205,29 +175,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; } } /** - * - * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; - * * @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 { @@ -238,14 +208,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 @@ -253,25 +220,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.
    * 
@@ -284,7 +244,6 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,7 +255,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,7 +282,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; @@ -332,19 +293,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; @@ -371,127 +334,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() @@ -499,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -525,9 +479,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 @@ -546,8 +500,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) { @@ -563,39 +516,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; @@ -603,8 +555,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(); @@ -635,8 +586,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) { @@ -648,21 +598,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; - * * @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,22 +619,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; - * * @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 { @@ -694,64 +641,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; - * * @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; } /** - * - * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; - * * @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; @@ -759,20 +699,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; - * * @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; @@ -781,21 +719,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; - * * @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 { @@ -803,61 +740,54 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; - * * @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; } /** - * - * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceId() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** - * - * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; - * * @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; @@ -865,47 +795,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.
      * 
@@ -926,8 +843,6 @@ public Builder setInstance(com.google.cloud.datafusion.v1beta1.Instance value) { return this; } /** - * - * *
      * An instance resource.
      * 
@@ -946,8 +861,6 @@ public Builder setInstance( return this; } /** - * - * *
      * An instance resource.
      * 
@@ -958,9 +871,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; } @@ -972,8 +883,6 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1beta1.Instance value) return this; } /** - * - * *
      * An instance resource.
      * 
@@ -992,8 +901,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * An instance resource.
      * 
@@ -1001,13 +908,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.
      * 
@@ -1018,14 +923,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.
      * 
@@ -1033,24 +935,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); } @@ -1060,12 +959,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(); } @@ -1074,16 +973,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; @@ -1098,4 +997,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 67% 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 39030772..11d3f1b4 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,107 +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 { /** - * - * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; - * * @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 69% 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 eb07ad28..6bba991b 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,52 +54,47 @@ 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) {
       throw e.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
@@ -124,7 +102,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string key_reference = 1; - * * @return The keyReference. */ @java.lang.Override @@ -133,15 +110,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
@@ -149,15 +125,16 @@ public java.lang.String getKeyReference() {
    * 
* * string key_reference = 1; - * * @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 { @@ -166,7 +143,6 @@ public com.google.protobuf.ByteString getKeyReferenceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +154,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 (!getKeyReferenceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyReference_); } @@ -202,15 +179,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; } @@ -230,103 +207,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.
@@ -334,23 +304,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()
@@ -358,15 +326,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();
@@ -376,9 +345,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
@@ -397,8 +366,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;
@@ -408,39 +376,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;
@@ -448,8 +415,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();
@@ -473,8 +439,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) {
@@ -486,8 +451,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 +458,13 @@ public Builder mergeFrom(
      * 
* * string key_reference = 1; - * * @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 +473,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 +480,15 @@ public java.lang.String getKeyReference() {
      * 
* * string key_reference = 1; - * * @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 +496,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 +503,20 @@ public com.google.protobuf.ByteString getKeyReferenceBytes() {
      * 
* * string key_reference = 1; - * * @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 +524,15 @@ public Builder setKeyReference(java.lang.String value) {
      * 
* * string key_reference = 1; - * * @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 +540,23 @@ public Builder clearKeyReference() {
      * 
* * string key_reference = 1; - * * @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 +566,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(); } @@ -625,16 +580,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; @@ -649,4 +604,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 58% 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 6e283508..71557d24 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; - * * @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; - * * @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 68% 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 3d40cd97..e3efbfec 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,59 +53,53 @@ 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) { throw e.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_; /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -131,30 +108,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; } } /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -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.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; } @@ -227,127 +204,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() @@ -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_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 @@ -394,8 +362,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; @@ -405,39 +372,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; @@ -445,8 +411,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(); @@ -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.DeleteInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,21 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; @@ -506,22 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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 { @@ -529,71 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; } - @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); } @@ -603,12 +557,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(); } @@ -617,16 +571,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; @@ -641,4 +595,6 @@ 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/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java index d856251f..efbc253a 100644 --- a/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 @@ -1,52 +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 DeleteInstanceRequestOrBuilder - extends +public interface DeleteInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.DeleteInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + 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 32decc1d..9356178c 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,86 +58,76 @@ 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) {
       throw e.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 @@ -163,29 +136,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 { @@ -196,14 +169,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 @@ -212,29 +182,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 { @@ -245,14 +215,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 @@ -261,29 +228,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 { @@ -294,14 +261,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 @@ -310,29 +274,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 { @@ -343,14 +307,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 @@ -359,29 +320,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 { @@ -390,7 +351,6 @@ public com.google.protobuf.ByteString getTargetNetworkBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -402,7 +362,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 (!getZoneBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zone_); } @@ -450,19 +411,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; } @@ -489,104 +454,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.
@@ -594,23 +552,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()
@@ -618,15 +574,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();
@@ -644,9 +601,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
@@ -665,8 +622,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_;
@@ -680,39 +636,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;
@@ -772,20 +727,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; @@ -794,21 +747,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 { @@ -816,61 +768,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; @@ -878,20 +823,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; @@ -900,21 +843,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 { @@ -922,61 +864,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; @@ -984,20 +919,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; @@ -1006,21 +939,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 { @@ -1028,61 +960,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; @@ -1090,20 +1015,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; @@ -1112,21 +1035,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 { @@ -1134,61 +1056,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; @@ -1196,20 +1111,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; @@ -1218,21 +1131,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 { @@ -1240,68 +1152,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); } @@ -1311,12 +1216,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(); } @@ -1325,16 +1230,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; @@ -1349,4 +1254,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 68% 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 50b43809..04abfd09 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,59 +53,53 @@ 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) { throw e.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_; /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -131,30 +108,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; } } /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -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.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; } @@ -227,127 +204,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() @@ -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_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 @@ -394,8 +362,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; @@ -405,39 +372,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; @@ -445,8 +411,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(); @@ -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.GetInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.GetInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,21 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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; @@ -506,22 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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 { @@ -529,71 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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; } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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; } - @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); } @@ -603,12 +557,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(); } @@ -617,16 +571,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; @@ -641,4 +595,6 @@ 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/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java index 5ae56ccf..0ca16ef7 100644 --- a/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 @@ -1,52 +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 GetInstanceRequestOrBuilder - extends +public interface GetInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.GetInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + 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 71% 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 2194570d..f5b9e0db 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,80 +53,73 @@ 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) {
       throw e.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 @@ -150,15 +127,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 @@ -166,8 +140,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.
@@ -183,14 +155,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 @@ -198,14 +167,11 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * Status of iam policy fetching.
    * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -213,8 +179,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * Status of iam policy fetching.
    * 
@@ -227,7 +191,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { } 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 (policy_ != null) { output.writeMessage(1, getPolicy()); } @@ -256,10 +220,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; @@ -269,21 +235,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; @@ -309,104 +276,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.
@@ -414,23 +374,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()
@@ -438,15 +396,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();
@@ -466,9 +425,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
@@ -487,8 +446,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 {
@@ -507,39 +465,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;
@@ -585,35 +542,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() { @@ -624,8 +572,6 @@ public com.google.iam.v1.Policy getPolicy() { } } /** - * - * *
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -647,8 +593,6 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -656,7 +600,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();
@@ -667,8 +612,6 @@ public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -679,7 +622,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;
         }
@@ -691,8 +635,6 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -712,8 +654,6 @@ public Builder clearPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -722,13 +662,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.
@@ -740,12 +678,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.
@@ -754,16 +691,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_;
@@ -771,31 +706,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() { @@ -806,8 +734,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * Status of iam policy fetching.
      * 
@@ -828,15 +754,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(); @@ -847,8 +772,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Status of iam policy fetching.
      * 
@@ -858,7 +781,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; } @@ -870,8 +794,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Status of iam policy fetching.
      * 
@@ -890,8 +812,6 @@ public Builder clearStatus() { return this; } /** - * - * *
      * Status of iam policy fetching.
      * 
@@ -899,13 +819,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.
      * 
@@ -916,12 +834,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.
      * 
@@ -929,21 +846,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); } @@ -953,12 +870,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(); } @@ -967,16 +884,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; @@ -991,4 +908,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 72% 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 a029bb07..eb4455f8 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_ = ""; @@ -59,15 +41,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) @@ -87,259 +70,226 @@ 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; - } - case 24: - { - int rawValue = input.readEnum(); + description_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 32: - { - enableStackdriverLogging_ = input.readBool(); - break; + 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(); } - case 40: - { - enableStackdriverMonitoring_ = input.readBool(); - break; + networkConfig_ = input.readMessage(com.google.cloud.datafusion.v1beta1.NetworkConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networkConfig_); + networkConfig_ = subBuilder.buildPartial(); } - case 48: - { - privateInstance_ = input.readBool(); - break; + + break; + } + case 66: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - 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; + 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 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; + 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 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; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = 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; + + break; + } + case 90: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - 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; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 96: - { - int rawValue = input.readEnum(); - 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; - } - availableVersion_.add( - input.readMessage( - com.google.cloud.datafusion.v1beta1.Version.parser(), extensionRegistry)); - break; - } - case 162: - { - java.lang.String s = input.readStringRequireUtf8(); + serviceAccount_ = s; + break; + } + case 146: { + java.lang.String s = input.readStringRequireUtf8(); - apiEndpoint_ = s; - break; + displayName_ = s; + break; + } + case 154: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + availableVersion_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 170: - { - 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(); - 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(); + apiEndpoint_ = s; + break; + } + case 170: { + java.lang.String s = input.readStringRequireUtf8(); - p4ServiceAccount_ = s; - break; + gcsBucket_ = s; + break; + } + case 178: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + accelerators_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 194: - { - 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(); - 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: - { - enableRbac_ = input.readBool(); - break; + tenantProjectId_ = s; + break; + } + case 202: { + java.lang.String s = input.readStringRequireUtf8(); + + dataprocServiceAccount_ = s; + break; + } + case 208: { + + enableRbac_ = input.readBool(); + break; + } + case 218: { + com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.Builder subBuilder = null; + if (cryptoKeyConfig_ != null) { + subBuilder = cryptoKeyConfig_.toBuilder(); } - 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; + cryptoKeyConfig_ = input.readMessage(com.google.cloud.datafusion.v1beta1.CryptoKeyConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cryptoKeyConfig_); + cryptoKeyConfig_ = 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) { throw e.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_); @@ -351,38 +301,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.
@@ -390,10 +336,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.
      * 
@@ -402,8 +347,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
@@ -415,8 +358,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,
@@ -427,8 +368,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
@@ -443,8 +382,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * No type specified. The instance creation will fail.
      * 
@@ -453,8 +390,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
@@ -466,8 +401,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,
@@ -478,8 +411,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
@@ -491,6 +422,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(
@@ -515,51 +447,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;
@@ -577,18 +508,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
      * 
@@ -597,8 +525,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Instance is being created
      * 
@@ -607,8 +533,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(1), /** - * - * *
      * Instance is running and ready for requests
      * 
@@ -617,8 +541,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
      * Instance creation failed
      * 
@@ -627,8 +549,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * Instance is being deleted
      * 
@@ -637,8 +557,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
      * Instance is being upgraded
      * 
@@ -647,8 +565,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UPGRADING(5), /** - * - * *
      * Instance is being restarted
      * 
@@ -657,8 +573,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RESTARTING(6), /** - * - * *
      * Instance is being updated on customer request
      * 
@@ -667,8 +581,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UPDATING(7), /** - * - * *
      * Instance is being auto-updated
      * 
@@ -677,8 +589,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ AUTO_UPDATING(8), /** - * - * *
      * Instance is being auto-upgraded
      * 
@@ -690,8 +600,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Instance does not have a state yet
      * 
@@ -700,8 +608,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Instance is being created
      * 
@@ -710,8 +616,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 1; /** - * - * *
      * Instance is running and ready for requests
      * 
@@ -720,8 +624,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
      * Instance creation failed
      * 
@@ -730,8 +632,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * Instance is being deleted
      * 
@@ -740,8 +640,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; /** - * - * *
      * Instance is being upgraded
      * 
@@ -750,8 +648,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADING_VALUE = 5; /** - * - * *
      * Instance is being restarted
      * 
@@ -760,8 +656,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESTARTING_VALUE = 6; /** - * - * *
      * Instance is being updated on customer request
      * 
@@ -770,8 +664,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATING_VALUE = 7; /** - * - * *
      * Instance is being auto-updated
      * 
@@ -780,8 +672,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTO_UPDATING_VALUE = 8; /** - * - * *
      * Instance is being auto-upgraded
      * 
@@ -790,6 +680,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTO_UPGRADING_VALUE = 9; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -814,63 +705,56 @@ 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; - 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; + 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; @@ -890,15 +774,12 @@ private State(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]; - * * @return The name. */ @java.lang.Override @@ -907,30 +788,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]; - * * @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 { @@ -941,14 +822,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 @@ -957,29 +835,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 { @@ -990,54 +868,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 @@ -1048,14 +910,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 @@ -1066,8 +925,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
@@ -1075,7 +932,6 @@ public boolean getEnableStackdriverMonitoring() {
    * 
* * bool private_instance = 6; - * * @return The privateInstance. */ @java.lang.Override @@ -1086,15 +942,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 @@ -1102,26 +955,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.
@@ -1135,23 +981,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_;
   }
@@ -1160,8 +1007,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
@@ -1170,22 +1015,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 8;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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
@@ -1195,12 +1040,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
@@ -1210,16 +1054,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 java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    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
@@ -1229,11 +1073,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 java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1241,23 +1086,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_;
   }
@@ -1266,8 +1112,6 @@ public int getOptionsCount() {
     return internalGetOptions().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1275,22 +1119,22 @@ public int getOptionsCount() {
    *
    * map<string, string> options = 9;
    */
+
   @java.lang.Override
-  public boolean containsOptions(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsOptions(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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.
@@ -1299,12 +1143,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.
@@ -1313,16 +1156,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 java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetOptions().getMap();
+
+  public java.lang.String getOptionsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    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.
@@ -1331,11 +1174,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 java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetOptions().getMap();
+
+  public java.lang.String getOptionsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetOptions().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1345,15 +1189,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 @@ -1361,15 +1201,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 @@ -1377,14 +1213,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() { @@ -1394,15 +1227,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 @@ -1410,15 +1239,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 @@ -1426,14 +1251,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() { @@ -1443,57 +1265,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 @@ -1502,30 +1306,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 { @@ -1536,14 +1340,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 @@ -1552,29 +1353,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 { @@ -1585,15 +1386,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 @@ -1602,30 +1400,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 { @@ -1636,14 +1434,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 @@ -1652,29 +1447,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 { @@ -1684,54 +1479,45 @@ 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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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 { @@ -1742,14 +1528,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 @@ -1758,29 +1541,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 { @@ -1791,8 +1574,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.
@@ -1805,8 +1586,6 @@ public java.util.List getAvailableV
     return availableVersion_;
   }
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1815,13 +1594,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.
@@ -1834,8 +1611,6 @@ public int getAvailableVersionCount() {
     return availableVersion_.size();
   }
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1848,8 +1623,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.
@@ -1866,14 +1639,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 @@ -1882,29 +1652,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 { @@ -1915,15 +1685,12 @@ 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 @@ -1932,30 +1699,30 @@ 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 { @@ -1966,8 +1733,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.
    * 
@@ -1979,8 +1744,6 @@ public java.util.List getAccele return accelerators_; } /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1988,13 +1751,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.
    * 
@@ -2006,8 +1767,6 @@ public int getAcceleratorsCount() { return accelerators_.size(); } /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -2019,8 +1778,6 @@ public com.google.cloud.datafusion.v1beta1.Accelerator getAccelerators(int index return accelerators_.get(index); } /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -2036,14 +1793,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 @@ -2052,29 +1806,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 { @@ -2085,14 +1839,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 @@ -2101,29 +1852,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 { @@ -2134,8 +1885,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.
@@ -2144,7 +1893,6 @@ public com.google.protobuf.ByteString getTenantProjectIdBytes() {
    * 
* * string dataproc_service_account = 25; - * * @return The dataprocServiceAccount. */ @java.lang.Override @@ -2153,15 +1901,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.
@@ -2170,15 +1917,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 { @@ -2189,14 +1937,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 @@ -2207,15 +1952,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 @@ -2223,26 +1965,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.
@@ -2251,13 +1986,11 @@ 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();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2269,7 +2002,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 (!getNameBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -2291,18 +2025,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 (!getStateMessageBytes().isEmpty()) {
@@ -2366,50 +2107,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 (!getStateMessageBytes().isEmpty()) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, stateMessage_);
@@ -2430,8 +2177,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 (!getApiEndpointBytes().isEmpty()) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, apiEndpoint_);
@@ -2440,7 +2187,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 (!getP4ServiceAccountBytes().isEmpty()) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, p4ServiceAccount_);
@@ -2452,10 +2200,12 @@ 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());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -2465,52 +2215,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -2530,11 +2304,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();
@@ -2588,7 +2365,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();
@@ -2598,151 +2376,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() @@ -2750,18 +2521,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(); @@ -2845,9 +2616,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 @@ -2866,8 +2637,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_; @@ -2938,39 +2708,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; @@ -3002,8 +2771,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()); } @@ -3055,10 +2826,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_); } @@ -3090,10 +2860,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_); } @@ -3145,26 +2914,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]; - * * @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; @@ -3173,22 +2939,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]; - * * @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 { @@ -3196,64 +2961,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]; - * * @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]; - * * @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]; - * * @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; @@ -3261,20 +3019,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; @@ -3283,21 +3039,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 { @@ -3305,61 +3060,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; @@ -3367,75 +3115,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. */ @@ -3443,41 +3167,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 @@ -3485,51 +3201,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 @@ -3537,45 +3244,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
@@ -3583,7 +3282,6 @@ public Builder clearEnableStackdriverMonitoring() {
      * 
* * bool private_instance = 6; - * * @return The privateInstance. */ @java.lang.Override @@ -3591,8 +3289,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
@@ -3600,19 +3296,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
@@ -3620,11 +3313,10 @@ public Builder setPrivateInstance(boolean value) {
      * 
* * bool private_instance = 6; - * * @return This builder for chaining. */ public Builder clearPrivateInstance() { - + privateInstance_ = false; onChanged(); return this; @@ -3632,49 +3324,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.
@@ -3696,8 +3375,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.
@@ -3717,8 +3394,6 @@ public Builder setNetworkConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3730,9 +3405,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;
         }
@@ -3744,8 +3417,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.
@@ -3765,8 +3436,6 @@ public Builder clearNetworkConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3775,13 +3444,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.
@@ -3793,14 +3460,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.
@@ -3809,37 +3473,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();
@@ -3851,8 +3513,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
@@ -3861,22 +3521,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 8;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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
@@ -3886,12 +3546,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
@@ -3901,17 +3560,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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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
@@ -3921,11 +3579,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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3933,12 +3592,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
@@ -3947,21 +3605,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 8;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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
@@ -3970,19 +3630,16 @@ 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 java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      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
@@ -3991,26 +3648,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();
@@ -4022,8 +3683,6 @@ public int getOptionsCount() {
       return internalGetOptions().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4031,22 +3690,22 @@ public int getOptionsCount() {
      *
      * map<string, string> options = 9;
      */
+
     @java.lang.Override
-    public boolean containsOptions(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsOptions(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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.
@@ -4055,12 +3714,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.
@@ -4069,17 +3727,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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetOptions().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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.
@@ -4088,11 +3745,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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetOptions().getMap();
+
+    public java.lang.String getOptionsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetOptions().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4100,12 +3758,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.
@@ -4113,21 +3770,23 @@ public Builder clearOptions() {
      *
      * map<string, string> options = 9;
      */
-    public Builder removeOptions(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableOptions().getMutableMap().remove(key);
+
+    public Builder removeOptions(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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.
@@ -4135,19 +3794,16 @@ 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 java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableOptions().getMutableMap().put(key, value);
+    public Builder putOptions(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableOptions().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -4155,65 +3811,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) { @@ -4229,17 +3869,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(); @@ -4250,21 +3887,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; } @@ -4276,15 +3909,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) { @@ -4298,64 +3927,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_; @@ -4363,58 +3976,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) { @@ -4430,17 +4024,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(); @@ -4451,21 +4042,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; } @@ -4477,15 +4064,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) { @@ -4499,64 +4082,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_; @@ -4564,75 +4131,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. */ @@ -4640,26 +4183,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; @@ -4667,21 +4205,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; @@ -4690,22 +4226,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 { @@ -4713,64 +4248,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; @@ -4778,20 +4306,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; @@ -4800,21 +4326,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 { @@ -4822,61 +4347,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; @@ -4884,21 +4402,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; @@ -4907,22 +4423,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 { @@ -4930,64 +4445,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; @@ -4995,20 +4503,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; @@ -5017,21 +4523,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 { @@ -5039,61 +4544,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; @@ -5101,24 +4599,19 @@ 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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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; @@ -5127,25 +4620,21 @@ 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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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 { @@ -5153,73 +4642,57 @@ 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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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; @@ -5227,20 +4700,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; @@ -5249,21 +4720,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 { @@ -5271,86 +4741,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.
@@ -5366,8 +4822,6 @@ public java.util.List getAvailableV
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5383,8 +4837,6 @@ public int getAvailableVersionCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5400,8 +4852,6 @@ public com.google.cloud.datafusion.v1beta1.Version getAvailableVersion(int index
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5424,8 +4874,6 @@ public Builder setAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5445,8 +4893,6 @@ public Builder setAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5468,8 +4914,6 @@ public Builder addAvailableVersion(com.google.cloud.datafusion.v1beta1.Version v
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5492,8 +4936,6 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5513,8 +4955,6 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5534,8 +4974,6 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5547,7 +4985,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);
@@ -5555,8 +4994,6 @@ public Builder addAllAvailableVersion(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5575,8 +5012,6 @@ public Builder clearAvailableVersion() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5595,8 +5030,6 @@ public Builder removeAvailableVersion(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5609,8 +5042,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.
@@ -5621,14 +5052,11 @@ 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.
@@ -5636,8 +5064,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 {
@@ -5645,8 +5073,6 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionO
       }
     }
     /**
-     *
-     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5655,12 +5081,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.
@@ -5670,12 +5094,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.
@@ -5683,22 +5105,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(),
@@ -5710,20 +5126,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; @@ -5732,21 +5146,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 { @@ -5754,61 +5167,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; @@ -5816,21 +5222,19 @@ 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; @@ -5839,22 +5243,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 { @@ -5862,89 +5265,75 @@ 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.
      * 
@@ -5959,8 +5348,6 @@ public java.util.List getAccele } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5975,8 +5362,6 @@ public int getAcceleratorsCount() { } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5991,8 +5376,6 @@ public com.google.cloud.datafusion.v1beta1.Accelerator getAccelerators(int index } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6014,8 +5397,6 @@ public Builder setAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6034,8 +5415,6 @@ public Builder setAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6056,8 +5435,6 @@ public Builder addAccelerators(com.google.cloud.datafusion.v1beta1.Accelerator v return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6079,8 +5456,6 @@ public Builder addAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6099,8 +5474,6 @@ public Builder addAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6119,8 +5492,6 @@ public Builder addAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6131,7 +5502,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); @@ -6139,8 +5511,6 @@ public Builder addAllAccelerators( return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6158,8 +5528,6 @@ public Builder clearAccelerators() { return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6177,8 +5545,6 @@ public Builder removeAccelerators(int index) { return this; } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6190,8 +5556,6 @@ public com.google.cloud.datafusion.v1beta1.Accelerator.Builder getAcceleratorsBu return getAcceleratorsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6201,22 +5565,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 { @@ -6224,8 +5585,6 @@ public com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsO } } /** - * - * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -6233,12 +5592,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.
      * 
@@ -6247,35 +5604,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_; @@ -6283,20 +5635,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; @@ -6305,21 +5655,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 { @@ -6327,61 +5676,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; @@ -6389,20 +5731,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; @@ -6411,21 +5751,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 { @@ -6433,61 +5772,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; @@ -6495,8 +5827,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.
@@ -6505,13 +5835,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; @@ -6520,8 +5850,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.
@@ -6530,14 +5858,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 { @@ -6545,8 +5874,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.
@@ -6555,22 +5882,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.
@@ -6579,18 +5904,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.
@@ -6599,31 +5921,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 @@ -6631,36 +5950,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; @@ -6668,49 +5981,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.
@@ -6732,8 +6032,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.
@@ -6753,8 +6051,6 @@ public Builder setCryptoKeyConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6766,9 +6062,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;
         }
@@ -6780,8 +6074,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.
@@ -6801,8 +6093,6 @@ public Builder clearCryptoKeyConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6811,13 +6101,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.
@@ -6825,19 +6113,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.
@@ -6846,24 +6130,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_;
     }
-
     @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);
     }
 
@@ -6873,12 +6154,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();
   }
@@ -6887,16 +6168,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;
@@ -6911,4 +6192,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 79%
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 c21ad659..532b67f0 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,138 +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]; - * * @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]; - * * @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
@@ -140,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.
@@ -184,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
@@ -196,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
@@ -206,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
@@ -221,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
@@ -233,10 +177,11 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 8;
    */
-  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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
@@ -245,11 +190,11 @@ public interface InstanceOrBuilder
    *
    * 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.
@@ -259,8 +204,6 @@ public interface InstanceOrBuilder
    */
   int getOptionsCount();
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -268,13 +211,15 @@ public interface InstanceOrBuilder
    *
    * 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.
@@ -282,10 +227,9 @@ public interface InstanceOrBuilder
    *
    * 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.
@@ -293,10 +237,11 @@ public interface InstanceOrBuilder
    *
    * map<string, string> options = 9;
    */
-  java.lang.String getOptionsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getOptionsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -304,278 +249,210 @@ public interface InstanceOrBuilder
    *
    * 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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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]; - * - * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @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.
@@ -583,10 +460,9 @@ public interface InstanceOrBuilder
    *
    * 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.
@@ -596,8 +472,6 @@ public interface InstanceOrBuilder
    */
   com.google.cloud.datafusion.v1beta1.Version getAvailableVersion(int index);
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -607,8 +481,6 @@ public interface InstanceOrBuilder
    */
   int getAvailableVersionCount();
   /**
-   *
-   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -616,11 +488,9 @@ public interface InstanceOrBuilder
    *
    * 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.
@@ -628,73 +498,61 @@ public interface InstanceOrBuilder
    *
    * 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.
    * 
@@ -703,8 +561,6 @@ public interface InstanceOrBuilder */ com.google.cloud.datafusion.v1beta1.Accelerator getAccelerators(int index); /** - * - * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -713,80 +569,65 @@ public interface InstanceOrBuilder */ 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.
@@ -795,13 +636,10 @@ public interface InstanceOrBuilder
    * 
* * 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.
@@ -810,53 +648,42 @@ public interface InstanceOrBuilder
    * 
* * 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.
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 70%
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 9b81dabe..8b98ae6a 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,76 +54,69 @@ 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) { throw e.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]; - * * @return The parent. */ @java.lang.Override @@ -149,30 +125,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]; - * * @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 { @@ -183,14 +159,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 @@ -201,15 +174,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 @@ -218,30 +188,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 { @@ -252,8 +222,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
@@ -261,7 +229,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * bool latest_patch_only = 4; - * * @return The latestPatchOnly. */ @java.lang.Override @@ -270,7 +237,6 @@ public boolean getLatestPatchOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -282,7 +248,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -308,13 +275,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 (!getPageTokenBytes().isEmpty()) { 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; @@ -324,18 +293,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; } @@ -354,134 +326,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() @@ -489,15 +452,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(); @@ -513,14 +477,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(); } @@ -535,8 +498,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_; @@ -549,50 +511,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(); @@ -626,9 +584,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) { @@ -640,21 +596,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]; - * * @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; @@ -663,22 +617,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]; - * * @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 { @@ -686,79 +639,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]; - * * @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]; - * * @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]; - * * @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 @@ -766,36 +709,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; @@ -803,21 +740,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; @@ -826,22 +761,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 { @@ -849,73 +783,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
@@ -923,7 +848,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * bool latest_patch_only = 4; - * * @return The latestPatchOnly. */ @java.lang.Override @@ -931,8 +855,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
@@ -940,19 +862,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
@@ -960,18 +879,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); } @@ -981,32 +899,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; @@ -1018,8 +934,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 69% 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 75c325cb..6c38abc3 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,98 +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]; - * * @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]; - * * @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
@@ -100,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 29feab49..5ce103e2 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,38 +55,35 @@ 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) { throw e.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_); @@ -112,27 +92,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.
    * 
@@ -144,8 +119,6 @@ public java.util.List getAvailableV return availableVersions_; } /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -153,13 +126,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.
    * 
@@ -171,8 +142,6 @@ public int getAvailableVersionsCount() { return availableVersions_.size(); } /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -184,8 +153,6 @@ public com.google.cloud.datafusion.v1beta1.Version getAvailableVersions(int inde return availableVersions_.get(index); } /** - * - * *
    * Represents a list of versions that are supported.
    * 
@@ -201,15 +168,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 @@ -218,30 +182,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 { @@ -250,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +225,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)); } @@ -279,8 +243,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +257,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; } @@ -326,147 +291,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(); @@ -482,14 +435,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(); } @@ -504,8 +456,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)) { @@ -525,50 +476,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()) { @@ -587,10 +534,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_); } @@ -619,9 +565,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) { @@ -630,30 +574,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.
      * 
@@ -668,8 +603,6 @@ public java.util.List getAvailableV } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -684,8 +617,6 @@ public int getAvailableVersionsCount() { } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -700,8 +631,6 @@ public com.google.cloud.datafusion.v1beta1.Version getAvailableVersions(int inde } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -723,8 +652,6 @@ public Builder setAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -743,8 +670,6 @@ public Builder setAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -765,8 +690,6 @@ public Builder addAvailableVersions(com.google.cloud.datafusion.v1beta1.Version return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -788,8 +711,6 @@ public Builder addAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -808,8 +729,6 @@ public Builder addAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -828,8 +747,6 @@ public Builder addAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -840,7 +757,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); @@ -848,8 +766,6 @@ public Builder addAllAvailableVersions( return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -867,8 +783,6 @@ public Builder clearAvailableVersions() { return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -886,8 +800,6 @@ public Builder removeAvailableVersions(int index) { return this; } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -899,8 +811,6 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder getAvailableVersionsB return getAvailableVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -910,22 +820,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 { @@ -933,8 +840,6 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersions } } /** - * - * *
      * Represents a list of versions that are supported.
      * 
@@ -942,12 +847,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.
      * 
@@ -956,34 +859,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(), @@ -995,21 +890,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; @@ -1018,22 +911,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 { @@ -1041,71 +933,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); } @@ -1115,32 +1000,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; @@ -1152,8 +1035,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 9dc64875..0385029a 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,72 +54,63 @@ 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) { throw e.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 @@ -145,31 +119,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 { @@ -180,14 +152,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 @@ -198,15 +167,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 @@ -215,30 +181,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 { @@ -247,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -282,7 +248,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 (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -295,17 +262,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; } @@ -329,127 +298,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() @@ -457,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +439,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 @@ -500,8 +460,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_; @@ -513,39 +472,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; @@ -553,8 +511,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(); @@ -585,8 +542,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) { @@ -598,22 +554,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; @@ -622,23 +574,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 { @@ -646,82 +595,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 @@ -729,36 +662,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; @@ -766,21 +693,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; @@ -789,22 +714,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 { @@ -812,71 +736,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); } @@ -886,12 +803,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(); } @@ -900,16 +817,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; @@ -924,4 +841,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 2373ba14..dcf65bdc 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,38 +55,35 @@ 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) { throw e.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_); @@ -112,27 +92,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.
    * 
@@ -144,8 +119,6 @@ public java.util.List getDnsPeer return dnsPeerings_; } /** - * - * *
    * List of dns peering configs.
    * 
@@ -153,13 +126,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.
    * 
@@ -171,8 +142,6 @@ public int getDnsPeeringsCount() { return dnsPeerings_.size(); } /** - * - * *
    * List of dns peering configs.
    * 
@@ -184,8 +153,6 @@ public com.google.cloud.datafusion.v1beta1.DnsPeering getDnsPeerings(int index) return dnsPeerings_.get(index); } /** - * - * *
    * List of dns peering configs.
    * 
@@ -201,15 +168,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 @@ -218,30 +182,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 { @@ -250,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +225,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)); } @@ -279,7 +243,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +257,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; } @@ -325,127 +291,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() @@ -453,17 +409,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(); @@ -479,9 +435,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 @@ -500,8 +456,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)) { @@ -521,39 +476,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; @@ -561,8 +515,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()) { @@ -581,10 +534,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_); } @@ -613,8 +565,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) { @@ -623,29 +574,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.
      * 
@@ -660,8 +603,6 @@ public java.util.List getDnsPeer } } /** - * - * *
      * List of dns peering configs.
      * 
@@ -676,8 +617,6 @@ public int getDnsPeeringsCount() { } } /** - * - * *
      * List of dns peering configs.
      * 
@@ -692,15 +631,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(); @@ -714,8 +652,6 @@ public Builder setDnsPeerings(int index, com.google.cloud.datafusion.v1beta1.Dns return this; } /** - * - * *
      * List of dns peering configs.
      * 
@@ -734,8 +670,6 @@ public Builder setDnsPeerings( return this; } /** - * - * *
      * List of dns peering configs.
      * 
@@ -756,15 +690,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(); @@ -778,8 +711,6 @@ public Builder addDnsPeerings(int index, com.google.cloud.datafusion.v1beta1.Dns return this; } /** - * - * *
      * List of dns peering configs.
      * 
@@ -798,8 +729,6 @@ public Builder addDnsPeerings( return this; } /** - * - * *
      * List of dns peering configs.
      * 
@@ -818,8 +747,6 @@ public Builder addDnsPeerings( return this; } /** - * - * *
      * List of dns peering configs.
      * 
@@ -830,7 +757,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); @@ -838,8 +766,6 @@ public Builder addAllDnsPeerings( return this; } /** - * - * *
      * List of dns peering configs.
      * 
@@ -857,8 +783,6 @@ public Builder clearDnsPeerings() { return this; } /** - * - * *
      * List of dns peering configs.
      * 
@@ -876,20 +800,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.
      * 
@@ -899,22 +820,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 { @@ -922,8 +840,6 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringsOrB } } /** - * - * *
      * List of dns peering configs.
      * 
@@ -931,48 +847,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_; @@ -980,21 +890,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; @@ -1003,22 +911,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 { @@ -1026,71 +933,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); } @@ -1100,12 +1000,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(); } @@ -1114,16 +1014,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; @@ -1138,4 +1038,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 72% 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 2cd47d4b..0751b412 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,78 +56,70 @@ 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) { throw e.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_; /** - * - * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -153,7 +128,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -162,15 +136,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; } } /** - * - * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -179,15 +152,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1; - * * @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 { @@ -198,14 +172,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 @@ -216,15 +187,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 @@ -233,30 +201,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 { @@ -267,14 +235,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 @@ -283,29 +248,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 { @@ -316,14 +281,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 @@ -332,29 +294,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 { @@ -363,7 +325,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -375,7 +336,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -404,7 +366,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 (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -423,19 +386,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; } @@ -463,127 +430,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() @@ -591,15 +548,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(); @@ -617,9 +575,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 @@ -638,8 +596,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_; @@ -653,39 +610,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; @@ -693,8 +649,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(); @@ -733,8 +688,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) { @@ -746,8 +700,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -756,13 +708,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1; - * * @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; @@ -771,8 +723,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -781,14 +731,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1; - * * @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 { @@ -796,8 +747,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -806,22 +755,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1; - * * @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; } /** - * - * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -830,18 +777,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -850,31 +794,28 @@ public Builder clearParent() {
      * 
* * string parent = 1; - * * @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 @@ -882,36 +823,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; @@ -919,21 +854,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; @@ -942,22 +875,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 { @@ -965,64 +897,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; @@ -1030,20 +955,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; @@ -1052,21 +975,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 { @@ -1074,61 +996,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; @@ -1136,20 +1051,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; @@ -1158,21 +1071,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 { @@ -1180,68 +1092,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); } @@ -1251,12 +1156,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(); } @@ -1265,16 +1170,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; @@ -1289,4 +1194,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 71% 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 92f11c7e..3ad573cf 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 { /** - * - * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -34,13 +16,10 @@ public interface ListInstancesRequestOrBuilder
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -49,98 +28,80 @@ public interface ListInstancesRequestOrBuilder
    * 
* * string parent = 1; - * * @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 73% 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 7cac37b5..4107c898 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,48 +56,44 @@ 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) { throw e.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_); @@ -126,27 +105,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.
    * 
@@ -158,8 +132,6 @@ public java.util.List getInstances return instances_; } /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -167,13 +139,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.
    * 
@@ -185,8 +155,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -198,8 +166,6 @@ public com.google.cloud.datafusion.v1beta1.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * Represents a list of Data Fusion instances.
    * 
@@ -207,22 +173,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 @@ -231,30 +195,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 { @@ -265,42 +229,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. */ @@ -308,23 +264,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; @@ -336,7 +289,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)); } @@ -356,7 +310,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -377,17 +332,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; } @@ -415,127 +372,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() @@ -543,17 +490,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 +518,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 @@ -592,8 +539,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)) { @@ -618,39 +564,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; @@ -658,8 +603,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()) { @@ -678,10 +622,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_); } @@ -720,8 +663,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) { @@ -730,29 +672,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.
      * 
@@ -767,8 +701,6 @@ public java.util.List getInstances } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -783,8 +715,6 @@ public int getInstancesCount() { } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -799,15 +729,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(); @@ -821,8 +750,6 @@ public Builder setInstances(int index, com.google.cloud.datafusion.v1beta1.Insta return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -841,8 +768,6 @@ public Builder setInstances( return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -863,15 +788,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(); @@ -885,8 +809,6 @@ public Builder addInstances(int index, com.google.cloud.datafusion.v1beta1.Insta return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -905,8 +827,6 @@ public Builder addInstances( return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -925,8 +845,6 @@ public Builder addInstances( return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -937,7 +855,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); @@ -945,8 +864,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -964,8 +881,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -983,44 +898,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 { @@ -1028,8 +938,6 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuild } } /** - * - * *
      * Represents a list of Data Fusion instances.
      * 
@@ -1037,48 +945,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_; @@ -1086,21 +988,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; @@ -1109,22 +1009,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 { @@ -1132,115 +1031,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. */ @@ -1248,90 +1130,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() { @@ -1341,30 +1213,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); } @@ -1374,12 +1244,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(); } @@ -1388,16 +1258,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; @@ -1412,4 +1282,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 bf0836c2..bdec47b2 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,79 +55,69 @@ 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) { throw e.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 @@ -153,31 +126,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 { @@ -188,14 +159,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 @@ -206,15 +174,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 @@ -223,30 +188,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 { @@ -257,8 +222,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
@@ -267,16 +230,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
@@ -285,19 +244,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; @@ -309,7 +264,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -319,9 +275,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getPageTokenBytes().isEmpty()) { 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); @@ -337,15 +291,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 (!getPageTokenBytes().isEmpty()) { 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; @@ -355,17 +309,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; @@ -392,127 +348,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() @@ -520,15 +466,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(); @@ -544,9 +491,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 @@ -565,8 +512,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_; @@ -579,39 +525,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; @@ -619,8 +564,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(); @@ -654,8 +598,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) { @@ -667,22 +610,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; @@ -691,23 +630,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 { @@ -715,82 +651,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 @@ -798,36 +718,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; @@ -835,21 +749,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; @@ -858,22 +770,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 { @@ -881,64 +792,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; @@ -946,8 +850,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
@@ -956,16 +858,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
@@ -974,19 +872,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
@@ -995,21 +890,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
@@ -1018,7 +907,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. */ @@ -1026,14 +914,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
@@ -1042,18 +928,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); } @@ -1063,12 +948,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(); } @@ -1077,16 +962,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; @@ -1101,4 +986,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 81039d30..b96a12a7 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,38 +55,35 @@ 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) { throw e.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_); @@ -112,27 +92,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
    * 
@@ -144,8 +119,6 @@ public java.util.List getNamespac return namespaces_; } /** - * - * *
    * List of namespaces
    * 
@@ -153,13 +126,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
    * 
@@ -171,8 +142,6 @@ public int getNamespacesCount() { return namespaces_.size(); } /** - * - * *
    * List of namespaces
    * 
@@ -184,8 +153,6 @@ public com.google.cloud.datafusion.v1beta1.Namespace getNamespaces(int index) { return namespaces_.get(index); } /** - * - * *
    * List of namespaces
    * 
@@ -193,22 +160,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 @@ -217,30 +182,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 { @@ -249,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +225,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)); } @@ -278,7 +243,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -291,16 +257,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; } @@ -324,127 +291,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() @@ -452,17 +409,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(); @@ -478,9 +435,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 @@ -499,8 +456,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)) { @@ -520,39 +476,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; @@ -560,8 +515,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()) { @@ -580,10 +534,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_); } @@ -612,8 +565,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) { @@ -622,29 +574,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
      * 
@@ -659,8 +603,6 @@ public java.util.List getNamespac } } /** - * - * *
      * List of namespaces
      * 
@@ -675,8 +617,6 @@ public int getNamespacesCount() { } } /** - * - * *
      * List of namespaces
      * 
@@ -691,15 +631,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(); @@ -713,8 +652,6 @@ public Builder setNamespaces(int index, com.google.cloud.datafusion.v1beta1.Name return this; } /** - * - * *
      * List of namespaces
      * 
@@ -733,8 +670,6 @@ public Builder setNamespaces( return this; } /** - * - * *
      * List of namespaces
      * 
@@ -755,15 +690,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(); @@ -777,8 +711,6 @@ public Builder addNamespaces(int index, com.google.cloud.datafusion.v1beta1.Name return this; } /** - * - * *
      * List of namespaces
      * 
@@ -797,8 +729,6 @@ public Builder addNamespaces( return this; } /** - * - * *
      * List of namespaces
      * 
@@ -817,8 +747,6 @@ public Builder addNamespaces( return this; } /** - * - * *
      * List of namespaces
      * 
@@ -829,7 +757,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); @@ -837,8 +766,6 @@ public Builder addAllNamespaces( return this; } /** - * - * *
      * List of namespaces
      * 
@@ -856,8 +783,6 @@ public Builder clearNamespaces() { return this; } /** - * - * *
      * List of namespaces
      * 
@@ -875,20 +800,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
      * 
@@ -898,22 +820,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 { @@ -921,8 +840,6 @@ public com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBui } } /** - * - * *
      * List of namespaces
      * 
@@ -930,48 +847,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_; @@ -979,21 +890,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; @@ -1002,22 +911,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 { @@ -1025,71 +933,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); } @@ -1099,12 +1000,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(); } @@ -1113,16 +1014,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; @@ -1137,4 +1038,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/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 80253403..9f551059 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,74 +53,65 @@ 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) { throw e.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 @@ -146,29 +120,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 { @@ -179,14 +153,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 @@ -194,25 +165,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.
    * 
@@ -225,7 +189,6 @@ public com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder getIamPolicyOrBuil } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,7 +200,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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -257,7 +221,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; @@ -267,18 +232,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; @@ -302,127 +268,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() @@ -430,15 +387,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(); @@ -454,9 +412,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 @@ -475,8 +433,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_; @@ -491,39 +448,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; @@ -570,20 +526,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; @@ -592,21 +546,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 { @@ -614,61 +567,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; @@ -676,47 +622,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.
      * 
@@ -737,8 +670,6 @@ public Builder setIamPolicy(com.google.cloud.datafusion.v1beta1.IAMPolicy value) return this; } /** - * - * *
      * IAM policy associated with this namespace.
      * 
@@ -757,8 +688,6 @@ public Builder setIamPolicy( return this; } /** - * - * *
      * IAM policy associated with this namespace.
      * 
@@ -769,9 +698,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; } @@ -783,8 +710,6 @@ public Builder mergeIamPolicy(com.google.cloud.datafusion.v1beta1.IAMPolicy valu return this; } /** - * - * *
      * IAM policy associated with this namespace.
      * 
@@ -803,8 +728,6 @@ public Builder clearIamPolicy() { return this; } /** - * - * *
      * IAM policy associated with this namespace.
      * 
@@ -812,13 +735,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.
      * 
@@ -829,14 +750,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.
      * 
@@ -844,24 +762,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); } @@ -871,12 +786,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(); } @@ -885,16 +800,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; @@ -909,4 +824,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 72% 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 1fcd388a..35194a37 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,59 +59,53 @@ 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) {
       throw e.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
@@ -137,7 +114,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string network = 1; - * * @return The network. */ @java.lang.Override @@ -146,15 +122,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
@@ -163,15 +138,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 { @@ -182,8 +158,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
@@ -191,7 +165,6 @@ public com.google.protobuf.ByteString getNetworkBytes() {
    * 
* * string ip_allocation = 2; - * * @return The ipAllocation. */ @java.lang.Override @@ -200,15 +173,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
@@ -216,15 +188,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 { @@ -233,7 +206,6 @@ public com.google.protobuf.ByteString getIpAllocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +217,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 (!getNetworkBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -275,16 +248,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; } @@ -306,103 +280,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
@@ -414,23 +381,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()
@@ -438,15 +403,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -458,9 +424,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
@@ -479,8 +445,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();
@@ -491,39 +456,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;
@@ -531,8 +495,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();
@@ -560,8 +523,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) {
@@ -573,8 +535,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 +543,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 +558,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 +566,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 +582,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 +590,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 +612,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 +629,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 +646,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
@@ -703,13 +653,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 +668,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
@@ -727,14 +675,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 +691,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
@@ -751,22 +698,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
@@ -774,18 +719,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
@@ -793,23 +735,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 +761,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(); } @@ -833,16 +775,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; @@ -857,4 +799,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 f41c8c66..e6cea9dd 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,114 +56,101 @@ 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) { throw e.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 @@ -188,14 +158,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 @@ -203,8 +170,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the operation was created.
    * 
@@ -219,14 +184,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 @@ -234,14 +196,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 @@ -249,8 +208,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation finished running.
    * 
@@ -265,14 +222,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 @@ -281,29 +235,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 { @@ -314,14 +268,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 @@ -330,29 +281,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 { @@ -363,14 +314,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 @@ -379,29 +327,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 { @@ -412,8 +360,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
@@ -423,7 +369,6 @@ public com.google.protobuf.ByteString getStatusDetailBytes() {
    * 
* * bool requested_cancellation = 6; - * * @return The requestedCancellation. */ @java.lang.Override @@ -434,14 +379,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 @@ -450,29 +392,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 { @@ -481,7 +423,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -493,7 +434,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()); } @@ -525,10 +467,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 (!getTargetBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -540,7 +484,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 (!getApiVersionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -553,27 +498,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; } @@ -600,7 +551,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(); @@ -609,127 +561,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() @@ -737,15 +679,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(); @@ -775,9 +718,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 @@ -796,8 +739,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 { @@ -821,39 +763,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; @@ -861,8 +802,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()); } @@ -907,8 +847,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) { @@ -920,47 +859,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.
      * 
@@ -981,15 +907,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(); @@ -1000,8 +925,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1012,7 +935,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; } @@ -1024,8 +947,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1044,8 +965,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1053,13 +972,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.
      * 
@@ -1070,14 +987,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.
      * 
@@ -1085,17 +999,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_; @@ -1103,33 +1014,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() { @@ -1140,8 +1042,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1162,15 +1062,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(); @@ -1181,8 +1080,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1193,7 +1090,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; } @@ -1205,8 +1102,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1225,8 +1120,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1234,13 +1127,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.
      * 
@@ -1251,12 +1142,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.
      * 
@@ -1264,17 +1154,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_; @@ -1282,20 +1169,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; @@ -1304,21 +1189,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 { @@ -1326,61 +1210,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; @@ -1388,20 +1265,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; @@ -1410,21 +1285,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 { @@ -1432,61 +1306,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; @@ -1494,20 +1361,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; @@ -1516,21 +1381,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 { @@ -1538,70 +1402,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
@@ -1630,19 +1482,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
@@ -1652,11 +1501,10 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1664,20 +1512,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; @@ -1686,21 +1532,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 { @@ -1708,68 +1553,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); } @@ -1779,12 +1617,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(); } @@ -1793,16 +1631,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; @@ -1817,4 +1655,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 a1774713..c8988c3e 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
@@ -180,33 +131,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 68% 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 9dc61acc..161cb014 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,65 +54,58 @@ 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) { throw e.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_; /** - * - * *
    * The resource on which DNS peering will be removed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -138,29 +114,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; } } /** - * - * *
    * The resource on which DNS peering will be removed.
    * 
* * string parent = 1; - * * @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 { @@ -171,14 +147,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 @@ -187,29 +160,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 { @@ -218,7 +191,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -260,16 +233,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; } @@ -291,127 +265,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() @@ -419,15 +383,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(); @@ -439,9 +404,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 @@ -460,8 +425,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(); @@ -472,39 +436,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; @@ -512,8 +475,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(); @@ -541,8 +503,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) { @@ -554,20 +515,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The resource on which DNS peering will be removed.
      * 
* * string parent = 1; - * * @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,21 +535,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The resource on which DNS peering will be removed.
      * 
* * string parent = 1; - * * @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 { @@ -598,61 +556,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The resource on which DNS peering will be removed.
      * 
* * string parent = 1; - * * @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; } /** - * - * *
      * The resource on which DNS peering will be removed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The resource on which DNS peering will be removed.
      * 
* * string parent = 1; - * * @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; @@ -660,20 +611,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; @@ -682,21 +631,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 { @@ -704,68 +652,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); } @@ -775,12 +716,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(); } @@ -789,16 +730,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; @@ -813,4 +754,6 @@ 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/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java index c5d5eaef..acdec1b5 100644 --- a/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 @@ -1,75 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface RemoveDnsPeeringRequestOrBuilder - extends +public interface RemoveDnsPeeringRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource on which DNS peering will be removed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The resource on which DNS peering will be removed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + 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(); + 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 69be7362..ed3e5d02 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,42 +52,39 @@ 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) { throw e.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; @@ -115,7 +96,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); } @@ -133,13 +115,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; @@ -158,127 +139,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() @@ -286,15 +257,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(); @@ -302,14 +274,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(); } @@ -324,8 +295,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; } @@ -334,39 +304,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; @@ -374,9 +343,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; @@ -396,8 +363,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) { @@ -406,9 +372,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,13 +384,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(); } @@ -433,16 +398,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; @@ -457,4 +422,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 67% 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 a3e5583a..93f3a95e 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,58 +53,52 @@ 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) { throw e.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_; /** - * - * *
    * The resource on which IAM policy to be removed is attached to.
    * 
* * string resource = 1; - * * @return The resource. */ @java.lang.Override @@ -130,29 +107,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; } } /** - * - * *
    * The resource on which IAM policy to be removed is attached to.
    * 
* * string resource = 1; - * * @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 { @@ -161,7 +138,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,7 +149,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 (!getResourceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } @@ -197,15 +174,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; } @@ -225,127 +202,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() @@ -353,15 +320,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(); @@ -371,9 +339,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 @@ -392,8 +360,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; @@ -403,39 +370,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; @@ -443,8 +409,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(); @@ -468,8 +433,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) { @@ -481,20 +445,18 @@ public Builder mergeFrom( private java.lang.Object resource_ = ""; /** - * - * *
      * The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1; - * * @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; @@ -503,21 +465,20 @@ public java.lang.String getResource() { } } /** - * - * *
      * The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1; - * * @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 { @@ -525,68 +486,61 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1; - * * @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; } /** - * - * *
      * The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1; - * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** - * - * *
      * The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1; - * * @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); } @@ -596,12 +550,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(); } @@ -610,16 +564,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; @@ -634,4 +588,6 @@ 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/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java new file mode 100644 index 00000000..450014af --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java @@ -0,0 +1,29 @@ +// 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 + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The resource on which IAM policy to be removed is attached to.
+   * 
+ * + * string resource = 1; + * @return The resource. + */ + java.lang.String getResource(); + /** + *
+   * The resource on which IAM policy to be removed is attached to.
+   * 
+ * + * string resource = 1; + * @return The bytes for resource. + */ + 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 fa4a68e2..00688915 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,42 +52,39 @@ 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) { throw e.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; @@ -115,7 +96,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); } @@ -133,13 +115,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; @@ -158,127 +139,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() @@ -286,15 +257,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(); @@ -302,9 +274,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 @@ -323,8 +295,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; } @@ -333,39 +304,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; @@ -373,8 +343,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; @@ -394,8 +363,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) { @@ -404,9 +372,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); } @@ -416,12 +384,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(); } @@ -430,16 +398,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; @@ -454,4 +422,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 68% 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 0fe4de77..e139e5b3 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,59 +53,53 @@ 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) { throw e.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_; /** - * - * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -131,30 +108,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; } } /** - * - * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -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.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; } @@ -227,127 +204,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() @@ -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_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 @@ -394,8 +362,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; @@ -405,39 +372,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; @@ -445,8 +411,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(); @@ -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.RestartInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,21 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; @@ -506,22 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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 { @@ -529,71 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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 Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; } - @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); } @@ -603,12 +557,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(); } @@ -617,16 +571,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; @@ -641,4 +595,6 @@ 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/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java similarity index 53% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java index 56ad24ca..dc5e1ea3 100644 --- a/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 @@ -1,52 +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 RestartInstanceRequestOrBuilder - extends +public interface RestartInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RestartInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + 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 74% 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 65865f8d..4a9bc47c 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,76 +54,67 @@ 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) {
       throw e.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_;
   /**
-   *
-   *
    * 
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -147,7 +122,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 1; - * * @return Whether the instance field is set. */ @java.lang.Override @@ -155,8 +129,6 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -164,18 +136,13 @@ public boolean hasInstance() {
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 1; - * * @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_; } /** - * - * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -192,8 +159,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
@@ -204,7 +169,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 @@ -212,8 +176,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
@@ -224,7 +186,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -232,8 +193,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
@@ -251,7 +210,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -263,7 +221,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());
     }
@@ -280,10 +239,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;
@@ -293,21 +254,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;
@@ -334,104 +296,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
@@ -440,23 +394,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()
@@ -464,15 +416,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();
@@ -492,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_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
@@ -513,8 +466,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 {
@@ -533,39 +485,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;
@@ -573,8 +524,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());
       }
@@ -600,8 +550,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) {
@@ -613,13 +562,8 @@ 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_;
     /**
-     *
-     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -627,15 +571,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 1; - * * @return Whether the instance field is set. */ public boolean hasInstance() { return instanceBuilder_ != null || instance_ != null; } /** - * - * *
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -643,21 +584,16 @@ public boolean hasInstance() {
      * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 1; - * * @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(); } } /** - * - * *
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -680,8 +616,6 @@ public Builder setInstance(com.google.cloud.datafusion.v1beta1.Instance value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -702,8 +636,6 @@ public Builder setInstance(
       return this;
     }
     /**
-     *
-     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -716,9 +648,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;
         }
@@ -730,8 +660,6 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1beta1.Instance value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -752,8 +680,6 @@ public Builder clearInstance() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -763,13 +689,11 @@ public Builder clearInstance() {
      * .google.cloud.datafusion.v1beta1.Instance instance = 1;
      */
     public com.google.cloud.datafusion.v1beta1.Instance.Builder getInstanceBuilder() {
-
+      
       onChanged();
       return getInstanceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -782,14 +706,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_;
       }
     }
     /**
-     *
-     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -799,17 +720,14 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde
      * .google.cloud.datafusion.v1beta1.Instance instance = 1;
      */
     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_;
@@ -817,13 +735,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
@@ -834,15 +747,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
@@ -853,21 +763,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
@@ -893,8 +798,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
@@ -906,7 +809,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();
@@ -917,8 +821,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
@@ -934,7 +836,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;
         }
@@ -946,8 +848,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
@@ -971,8 +871,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
@@ -985,13 +883,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
@@ -1007,14 +903,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
@@ -1027,24 +920,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);
     }
 
@@ -1054,12 +944,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();
   }
@@ -1068,16 +958,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;
@@ -1092,4 +982,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 81%
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 421a918b..45f880c7 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,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 UpdateInstanceRequestOrBuilder
-    extends
+public interface UpdateInstanceRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.UpdateInstanceRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -33,13 +15,10 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 1; - * * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -47,13 +26,10 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 1; - * * @return The instance. */ com.google.cloud.datafusion.v1beta1.Instance getInstance(); /** - * - * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -65,8 +41,6 @@ public interface UpdateInstanceRequestOrBuilder
   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
@@ -77,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
@@ -94,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 69%
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 1b9f43cf..8a2f9434 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,52 +54,47 @@ 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) {
       throw e.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_;
   /**
-   *
-   *
    * 
    * Name of the Data Fusion instance which need to be upgraded in the form of
    * projects/{project}/locations/{location}/instances/{instance}
@@ -125,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -134,15 +111,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; } } /** - * - * *
    * Name of the Data Fusion instance which need to be upgraded in the form of
    * projects/{project}/locations/{location}/instances/{instance}
@@ -151,15 +127,16 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -168,7 +145,6 @@ public com.google.protobuf.ByteString getNameBytes() { } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -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.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; } @@ -232,104 +209,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.
@@ -337,23 +306,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()
@@ -361,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();
@@ -379,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_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
@@ -400,8 +368,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;
@@ -411,39 +378,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;
@@ -451,8 +417,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();
@@ -476,8 +441,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) {
@@ -489,8 +453,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -499,13 +461,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -514,8 +476,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -524,14 +484,15 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -539,8 +500,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -549,22 +508,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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 Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -573,18 +530,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -593,23 +547,23 @@ public Builder clearName() {
      * 
* * 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; } - @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 +573,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(); } @@ -633,16 +587,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; @@ -657,4 +611,6 @@ 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/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java index 250d212a..4d41148c 100644 --- a/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 @@ -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 UpgradeInstanceRequestOrBuilder - extends +public interface UpgradeInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the Data Fusion instance which need to be upgraded in the form of
    * projects/{project}/locations/{location}/instances/{instance}
@@ -34,13 +16,10 @@ public interface UpgradeInstanceRequestOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the Data Fusion instance which need to be upgraded in the form of
    * projects/{project}/locations/{location}/instances/{instance}
@@ -49,8 +28,8 @@ public interface UpgradeInstanceRequestOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + 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..a5b94cd0 --- /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,604 @@ +// 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\"V\n\007Version\022\026\n\016version_number\030\001" + + " \001(\t\022\027\n\017default_version\030\002 \001(\010\022\032\n\022availab" + + "le_features\030\003 \003(\t\"\263\001\n\013Accelerator\022V\n\020acc" + + "elerator_type\030\001 \001(\0162<.google.cloud.dataf" + + "usion.v1beta1.Accelerator.AcceleratorTyp" + + "e\"L\n\017AcceleratorType\022 \n\034ACCELERATOR_TYPE" + + "_UNSPECIFIED\020\000\022\007\n\003CDC\020\001\022\016\n\nHEALTHCARE\020\002\"" + + "(\n\017CryptoKeyConfig\022\025\n\rkey_reference\030\001 \001(" + + "\t\"\255\014\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\023\n\013des" + + "cription\030\002 \001(\t\022A\n\004type\030\003 \001(\0162..google.cl" + + "oud.datafusion.v1beta1.Instance.TypeB\003\340A" + + "\002\022\"\n\032enable_stackdriver_logging\030\004 \001(\010\022%\n" + + "\035enable_stackdriver_monitoring\030\005 \001(\010\022\030\n\020" + + "private_instance\030\006 \001(\010\022F\n\016network_config" + + "\030\007 \001(\0132..google.cloud.datafusion.v1beta1" + + ".NetworkConfig\022E\n\006labels\030\010 \003(\01325.google." + + "cloud.datafusion.v1beta1.Instance.Labels" + + "Entry\022G\n\007options\030\t \003(\01326.google.cloud.da" + + "tafusion.v1beta1.Instance.OptionsEntry\0224" + + "\n\013create_time\030\n \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\022C\n\005state\030\014 \001(" + + "\0162/.google.cloud.datafusion.v1beta1.Inst" + + "ance.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\004zo" + + "ne\030\017 \001(\t\022\017\n\007version\030\020 \001(\t\022\036\n\017service_acc" + + "ount\030\021 \001(\tB\005\030\001\340A\003\022\024\n\014display_name\030\022 \001(\t\022" + + "C\n\021available_version\030\023 \003(\0132(.google.clou" + + "d.datafusion.v1beta1.Version\022\031\n\014api_endp" + + "oint\030\024 \001(\tB\003\340A\003\022\027\n\ngcs_bucket\030\025 \001(\tB\003\340A\003" + + "\022B\n\014accelerators\030\026 \003(\0132,.google.cloud.da" + + "tafusion.v1beta1.Accelerator\022\037\n\022p4_servi" + + "ce_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_accoun" + + "t\030\031 \001(\t\022\023\n\013enable_rbac\030\032 \001(\010\022K\n\021crypto_k" + + "ey_config\030\033 \001(\01320.google.cloud.datafusio" + + "n.v1beta1.CryptoKeyConfig\032-\n\013LabelsEntry" + + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032.\n\014Opti" + + "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + "\"F\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t\n\005BASIC\020" + + "\001\022\016\n\nENTERPRISE\020\002\022\r\n\tDEVELOPER\020\003\"\247\001\n\005Sta" + + "te\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\010UPDATIN" + + "G\020\007\022\021\n\rAUTO_UPDATING\020\010\022\022\n\016AUTO_UPGRADING" + + "\020\t:e\352Ab\n\"datafusion.googleapis.com/Insta" + + "nce\022\n\niam_policy\030\002 \001(\0132*.google." + + "cloud.datafusion.v1beta1.IAMPolicy:}\352Az\n" + + "#datafusion.googleapis.com/Namespace\022Spr" + + "ojects/{project}/locations/{location}/in" + + "stances/{instance}/namespaces/{namespace" + + "}\"q\n\026ListNamespacesResponse\022>\n\nnamespace" + + "s\030\001 \003(\0132*.google.cloud.datafusion.v1beta" + + "1.Namespace\022\027\n\017next_page_token\030\002 \001(\t\"\210\001\n" + + "\nDnsPeering\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_project\030\004 \001(\tB\003\340A\001\022\033\n\016target_net" + + "work\030\005 \001(\tB\003\340A\001\"h\n\024AddDnsPeeringRequest\022" + + "\016\n\006parent\030\001 \001(\t\022@\n\013dns_peering\030\002 \001(\0132+.g" + + "oogle.cloud.datafusion.v1beta1.DnsPeerin" + + "g\"\027\n\025AddDnsPeeringResponse\"<\n\027RemoveDnsP" + + "eeringRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\004zone\030\002 " + + "\001(\tB\003\340A\002\"\032\n\030RemoveDnsPeeringResponse\"{\n\026" + + "ListDnsPeeringsRequest\022:\n\006parent\030\001 \001(\tB*" + + "\340A\002\372A$\n\"datafusion.googleapis.com/Instan" + + "ce\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + + "\t\"u\n\027ListDnsPeeringsResponse\022A\n\014dns_peer" + + "ings\030\001 \003(\0132+.google.cloud.datafusion.v1b" + + "eta1.DnsPeering\022\027\n\017next_page_token\030\002 \001(\t" + + "*b\n\rNamespaceView\022\036\n\032NAMESPACE_VIEW_UNSP" + + "ECIFIED\020\000\022\030\n\024NAMESPACE_VIEW_BASIC\020\001\022\027\n\023N" + + "AMESPACE_VIEW_FULL\020\0022\311\026\n\nDataFusion\022\332\001\n\025" + + "ListAvailableVersions\022=.google.cloud.dat" + + "afusion.v1beta1.ListAvailableVersionsReq" + + "uest\032>.google.cloud.datafusion.v1beta1.L" + + "istAvailableVersionsResponse\"B\202\323\344\223\0023\0221/v" + + "1beta1/{parent=projects/*/locations/*}/v" + + "ersions\332A\006parent\022\272\001\n\rListInstances\0225.goo" + + "gle.cloud.datafusion.v1beta1.ListInstanc" + + "esRequest\0326.google.cloud.datafusion.v1be" + + "ta1.ListInstancesResponse\":\202\323\344\223\0024\0222/v1be" + + "ta1/{parent=projects/*/locations/*}/inst" + + "ances\022\251\001\n\013GetInstance\0223.google.cloud.dat" + + "afusion.v1beta1.GetInstanceRequest\032).goo" + + "gle.cloud.datafusion.v1beta1.Instance\":\202" + + "\323\344\223\0024\0222/v1beta1/{name=projects/*/locatio" + + "ns/*/instances/*}\022\354\001\n\016CreateInstance\0226.g" + + "oogle.cloud.datafusion.v1beta1.CreateIns" + + "tanceRequest\032\035.google.longrunning.Operat" + + "ion\"\202\001\202\323\344\223\002>\"2/v1beta1/{parent=projects/" + + "*/locations/*}/instances:\010instance\332A\033par" + + "ent,instance,instance_id\312A\035\n\010Instance\022\021O" + + "perationMetadata\022\327\001\n\016DeleteInstance\0226.go" + + "ogle.cloud.datafusion.v1beta1.DeleteInst" + + "anceRequest\032\035.google.longrunning.Operati" + + "on\"n\202\323\344\223\0024*2/v1beta1/{name=projects/*/lo" + + "cations/*/instances/*}\332A\004name\312A*\n\025google" + + ".protobuf.Empty\022\021OperationMetadata\022\356\001\n\016U" + + "pdateInstance\0226.google.cloud.datafusion." + + "v1beta1.UpdateInstanceRequest\032\035.google.l" + + "ongrunning.Operation\"\204\001\202\323\344\223\002G2;/v1beta1/" + + "{instance.name=projects/*/locations/*/in" + + "stances/*}:\010instance\332A\024instance,update_m" + + "ask\312A\035\n\010Instance\022\021OperationMetadata\022\320\001\n\017" + + "RestartInstance\0227.google.cloud.datafusio" + + "n.v1beta1.RestartInstanceRequest\032\035.googl" + + "e.longrunning.Operation\"e\202\323\344\223\002?\":/v1beta" + + "1/{name=projects/*/locations/*/instances" + + "/*}:restart:\001*\312A\035\n\010Instance\022\021OperationMe" + + "tadata\022\320\001\n\017UpgradeInstance\0227.google.clou" + + "d.datafusion.v1beta1.UpgradeInstanceRequ" + + "est\032\035.google.longrunning.Operation\"e\202\323\344\223" + + "\002?\":/v1beta1/{name=projects/*/locations/" + + "*/instances/*}:upgrade:\001*\312A\035\n\010Instance\022\021" + + "OperationMetadata\022\316\001\n\017RemoveIamPolicy\0227." + + "google.cloud.datafusion.v1beta1.RemoveIa" + + "mPolicyRequest\0328.google.cloud.datafusion" + + ".v1beta1.RemoveIamPolicyResponse\"H\202\323\344\223\002B" + + "\"=/v1beta1/{resource=projects/*/location" + + "s/*/**}:removeIamPolicy:\001*\022\323\001\n\016ListNames" + + "paces\0226.google.cloud.datafusion.v1beta1." + + "ListNamespacesRequest\0327.google.cloud.dat" + + "afusion.v1beta1.ListNamespacesResponse\"P" + + "\202\323\344\223\002A\022?/v1beta1/{parent=projects/*/loca" + + "tions/*/instances/*}/namespaces\332A\006parent" + + "\022\330\001\n\rAddDnsPeering\0225.google.cloud.datafu" + + "sion.v1beta1.AddDnsPeeringRequest\0326.goog" + + "le.cloud.datafusion.v1beta1.AddDnsPeerin" + + "gResponse\"X\202\323\344\223\002I\"D/v1beta1/{parent=proj" + + "ects/*/locations/*/instances/*}/dnsPeeri" + + "ngs:add:\001*\332A\006parent\022\344\001\n\020RemoveDnsPeering" + + "\0228.google.cloud.datafusion.v1beta1.Remov" + + "eDnsPeeringRequest\0329.google.cloud.datafu" + + "sion.v1beta1.RemoveDnsPeeringResponse\"[\202" + + "\323\344\223\002L\"G/v1beta1/{parent=projects/*/locat" + + "ions/*/instances/*}/dnsPeerings:remove:\001" + + "*\332A\006parent\022\334\001\n\017ListDnsPeerings\0227.google." + + "cloud.datafusion.v1beta1.ListDnsPeerings" + + "Request\0328.google.cloud.datafusion.v1beta" + + "1.ListDnsPeeringsResponse\"V\202\323\344\223\002G\022E/v1be" + + "ta1/{parent=projects/*/locations/*/insta" + + "nces/*}/dnsPeerings:list\332A\006parent\032M\312A\031da" + + "tafusion.googleapis.com\322A.https://www.go" + + "ogleapis.com/auth/cloud-platformB\333\001\n#com" + + ".google.cloud.datafusion.v1beta1P\001ZIgoog" + + "le.golang.org/genproto/googleapis/cloud/" + + "datafusion/v1beta1;datafusion\252\002\037Google.C" + + "loud.DataFusion.V1Beta1\312\002\037Google\\Cloud\\D" + + "ataFusion\\V1beta1\352\002\"Google::Cloud::DataF" + + "usion::V1beta1b\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", }); + 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", }); + 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.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 72% 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 932a6e29..c3f8be9c 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; @@ -44,15 +26,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) @@ -72,41 +55,40 @@ 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; + 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; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + availableFeatures_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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(); @@ -115,33 +97,27 @@ 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); } 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 @@ -150,29 +126,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 { @@ -183,14 +159,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 @@ -201,42 +174,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. */ @@ -244,23 +209,20 @@ 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); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,7 +234,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 (!getVersionNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, versionNumber_); } @@ -295,7 +258,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; @@ -313,17 +277,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,7 +304,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(); @@ -348,127 +315,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() @@ -476,15 +434,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(); @@ -498,9 +457,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 @@ -519,8 +478,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_; @@ -537,39 +495,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; @@ -623,25 +580,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; @@ -650,21 +604,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 { @@ -672,76 +625,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 @@ -749,87 +692,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. */ @@ -837,90 +764,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() { @@ -930,30 +847,28 @@ 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(); 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); } @@ -963,12 +878,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(); } @@ -977,16 +892,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; @@ -1001,4 +916,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 68% 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 20616424..fab3465e 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,114 +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 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); } 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/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 3f69c093..00000000 --- a/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java +++ /dev/null @@ -1,456 +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\"V\n\007Version" - + "\022\026\n\016version_number\030\001 \001(\t\022\027\n\017default_vers" - + "ion\030\002 \001(\010\022\032\n\022available_features\030\003 \003(\t\"\307\002" - + "\n\013Accelerator\022Q\n\020accelerator_type\030\001 \001(\0162" - + "7.google.cloud.datafusion.v1.Accelerator" - + ".AcceleratorType\022<\n\005state\030\002 \001(\0162-.google" - + ".cloud.datafusion.v1.Accelerator.State\"_" - + "\n\017AcceleratorType\022 \n\034ACCELERATOR_TYPE_UN" - + "SPECIFIED\020\000\022\007\n\003CDC\020\001\022\016\n\nHEALTHCARE\020\002\022\021\n\r" - + "CCAI_INSIGHTS\020\003\"F\n\005State\022\025\n\021STATE_UNSPEC" - + "IFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DISABLED\020\002\022\013\n\007UN" - + "KNOWN\020\003\"(\n\017CryptoKeyConfig\022\025\n\rkey_refere" - + "nce\030\001 \001(\t\"\204\014\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A" - + "\003\022\023\n\013description\030\002 \001(\t\022<\n\004type\030\003 \001(\0162).g" - + "oogle.cloud.datafusion.v1.Instance.TypeB" - + "\003\340A\002\022\"\n\032enable_stackdriver_logging\030\004 \001(\010" - + "\022%\n\035enable_stackdriver_monitoring\030\005 \001(\010\022" - + "\030\n\020private_instance\030\006 \001(\010\022A\n\016network_con" - + "fig\030\007 \001(\0132).google.cloud.datafusion.v1.N" - + "etworkConfig\022@\n\006labels\030\010 \003(\01320.google.cl" - + "oud.datafusion.v1.Instance.LabelsEntry\022B" - + "\n\007options\030\t \003(\01321.google.cloud.datafusio" - + "n.v1.Instance.OptionsEntry\0224\n\013create_tim" - + "e\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\0224\n\013update_time\030\013 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\022>\n\005state\030\014 \001(\0162*.google.c" - + "loud.datafusion.v1.Instance.StateB\003\340A\003\022\032" - + "\n\rstate_message\030\r \001(\tB\003\340A\003\022\035\n\020service_en" - + "dpoint\030\016 \001(\tB\003\340A\003\022\014\n\004zone\030\017 \001(\t\022\017\n\007versi" - + "on\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\022>\n\021available_vers" - + "ion\030\023 \003(\0132#.google.cloud.datafusion.v1.V" - + "ersion\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\014accelerators\030\026 \003(\013" - + "2\'.google.cloud.datafusion.v1.Accelerato" - + "r\022\037\n\022p4_service_account\030\027 \001(\tB\003\340A\003\022\036\n\021te" - + "nant_project_id\030\030 \001(\tB\003\340A\003\022 \n\030dataproc_s" - + "ervice_account\030\031 \001(\t\022\023\n\013enable_rbac\030\033 \001(" - + "\010\022F\n\021crypto_key_config\030\034 \001(\0132+.google.cl" - + "oud.datafusion.v1.CryptoKeyConfig\032-\n\013Lab" - + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + "\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\t:\0028\001\"F\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t" - + "\n\005BASIC\020\001\022\016\n\nENTERPRISE\020\002\022\r\n\tDEVELOPER\020\003" - + "\"\246\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CRE" - + "ATING\020\001\022\n\n\006ACTIVE\020\002\022\n\n\006FAILED\020\003\022\014\n\010DELET" - + "ING\020\004\022\r\n\tUPGRADING\020\005\022\016\n\nRESTARTING\020\006\022\014\n\010" - + "UPDATING\020\007\022\021\n\rAUTO_UPDATING\020\010\022\022\n\016AUTO_UP" - + "GRADING\020\t:e\352Ab\n\"datafusion.googleapis.co" - + "m/Instance\022 fieldValuesMap; - private final String project; - private final String location; - private final String instance; - - @Deprecated - protected InstanceName() { - project = null; - location = null; - instance = null; - } - - private InstanceName(Builder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - location = Preconditions.checkNotNull(builder.getLocation()); - instance = Preconditions.checkNotNull(builder.getInstance()); - } - - public String getProject() { - return project; - } - - public String getLocation() { - return location; - } - - public String getInstance() { - return instance; - } - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static InstanceName of(String project, String location, String instance) { - return newBuilder().setProject(project).setLocation(location).setInstance(instance).build(); - } - - public static String format(String project, String location, String instance) { - return newBuilder() - .setProject(project) - .setLocation(location) - .setInstance(instance) - .build() - .toString(); - } - - public static InstanceName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - Map matchMap = - PROJECT_LOCATION_INSTANCE.validatedMatch( - formattedString, "InstanceName.parse: formattedString not in valid format"); - return of(matchMap.get("project"), matchMap.get("location"), matchMap.get("instance")); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList<>(values.size()); - for (InstanceName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PROJECT_LOCATION_INSTANCE.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (project != null) { - fieldMapBuilder.put("project", project); - } - if (location != null) { - fieldMapBuilder.put("location", location); - } - if (instance != null) { - fieldMapBuilder.put("instance", instance); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return PROJECT_LOCATION_INSTANCE.instantiate( - "project", project, "location", location, "instance", instance); - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o != null || getClass() == o.getClass()) { - InstanceName that = ((InstanceName) o); - return Objects.equals(this.project, that.project) - && Objects.equals(this.location, that.location) - && Objects.equals(this.instance, that.instance); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(project); - h *= 1000003; - h ^= Objects.hashCode(location); - h *= 1000003; - h ^= Objects.hashCode(instance); - return h; - } - - /** Builder for projects/{project}/locations/{location}/instances/{instance}. */ - public static class Builder { - private String project; - private String location; - private String instance; - - protected Builder() {} - - public String getProject() { - return project; - } - - public String getLocation() { - return location; - } - - public String getInstance() { - return instance; - } - - public Builder setProject(String project) { - this.project = project; - return this; - } - - public Builder setLocation(String location) { - this.location = location; - return this; - } - - public Builder setInstance(String instance) { - this.instance = instance; - return this; - } - - private Builder(InstanceName instanceName) { - this.project = instanceName.project; - this.location = instanceName.location; - this.instance = instanceName.instance; - } - - public InstanceName build() { - return new InstanceName(this); - } - } -} 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/NamespaceName.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceName.java deleted file mode 100644 index f00f73b9..00000000 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceName.java +++ /dev/null @@ -1,261 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 com.google.api.pathtemplate.PathTemplate; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@Generated("by gapic-generator-java") -public class NamespaceName implements ResourceName { - private static final PathTemplate PROJECT_LOCATION_INSTANCE_NAMESPACE = - PathTemplate.createWithoutUrlEncoding( - "projects/{project}/locations/{location}/instances/{instance}/namespaces/{namespace}"); - private volatile Map fieldValuesMap; - private final String project; - private final String location; - private final String instance; - private final String namespace; - - @Deprecated - protected NamespaceName() { - project = null; - location = null; - instance = null; - namespace = null; - } - - private NamespaceName(Builder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - location = Preconditions.checkNotNull(builder.getLocation()); - instance = Preconditions.checkNotNull(builder.getInstance()); - namespace = Preconditions.checkNotNull(builder.getNamespace()); - } - - public String getProject() { - return project; - } - - public String getLocation() { - return location; - } - - public String getInstance() { - return instance; - } - - public String getNamespace() { - return namespace; - } - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static NamespaceName of( - String project, String location, String instance, String namespace) { - return newBuilder() - .setProject(project) - .setLocation(location) - .setInstance(instance) - .setNamespace(namespace) - .build(); - } - - public static String format(String project, String location, String instance, String namespace) { - return newBuilder() - .setProject(project) - .setLocation(location) - .setInstance(instance) - .setNamespace(namespace) - .build() - .toString(); - } - - public static NamespaceName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - Map matchMap = - PROJECT_LOCATION_INSTANCE_NAMESPACE.validatedMatch( - formattedString, "NamespaceName.parse: formattedString not in valid format"); - return of( - matchMap.get("project"), - matchMap.get("location"), - matchMap.get("instance"), - matchMap.get("namespace")); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList<>(values.size()); - for (NamespaceName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PROJECT_LOCATION_INSTANCE_NAMESPACE.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (project != null) { - fieldMapBuilder.put("project", project); - } - if (location != null) { - fieldMapBuilder.put("location", location); - } - if (instance != null) { - fieldMapBuilder.put("instance", instance); - } - if (namespace != null) { - fieldMapBuilder.put("namespace", namespace); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return PROJECT_LOCATION_INSTANCE_NAMESPACE.instantiate( - "project", project, "location", location, "instance", instance, "namespace", namespace); - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o != null || getClass() == o.getClass()) { - NamespaceName that = ((NamespaceName) o); - return Objects.equals(this.project, that.project) - && Objects.equals(this.location, that.location) - && Objects.equals(this.instance, that.instance) - && Objects.equals(this.namespace, that.namespace); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(project); - h *= 1000003; - h ^= Objects.hashCode(location); - h *= 1000003; - h ^= Objects.hashCode(instance); - h *= 1000003; - h ^= Objects.hashCode(namespace); - return h; - } - - /** - * Builder for - * projects/{project}/locations/{location}/instances/{instance}/namespaces/{namespace}. - */ - public static class Builder { - private String project; - private String location; - private String instance; - private String namespace; - - protected Builder() {} - - public String getProject() { - return project; - } - - public String getLocation() { - return location; - } - - public String getInstance() { - return instance; - } - - public String getNamespace() { - return namespace; - } - - public Builder setProject(String project) { - this.project = project; - return this; - } - - public Builder setLocation(String location) { - this.location = location; - return this; - } - - public Builder setInstance(String instance) { - this.instance = instance; - return this; - } - - public Builder setNamespace(String namespace) { - this.namespace = namespace; - return this; - } - - private Builder(NamespaceName namespaceName) { - this.project = namespaceName.project; - this.location = namespaceName.location; - this.instance = namespaceName.instance; - this.namespace = namespaceName.namespace; - } - - public NamespaceName build() { - return new NamespaceName(this); - } - } -} 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/RemoveIamPolicyRequestOrBuilder.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java deleted file mode 100644 index ee9ab77b..00000000 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java +++ /dev/null @@ -1,50 +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 RemoveIamPolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The resource on which IAM policy to be removed is attached to.
-   * 
- * - * string resource = 1; - * - * @return The resource. - */ - java.lang.String getResource(); - /** - * - * - *
-   * The resource on which IAM policy to be removed is attached to.
-   * 
- * - * string resource = 1; - * - * @return The bytes for resource. - */ - com.google.protobuf.ByteString getResourceBytes(); -} 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/V1Beta1.java b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java deleted file mode 100644 index 50005959..00000000 --- a/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java +++ /dev/null @@ -1,675 +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\"V\n\007Version\022\026\n\016version_number\030\001" - + " \001(\t\022\027\n\017default_version\030\002 \001(\010\022\032\n\022availab" - + "le_features\030\003 \003(\t\"\263\001\n\013Accelerator\022V\n\020acc" - + "elerator_type\030\001 \001(\0162<.google.cloud.dataf" - + "usion.v1beta1.Accelerator.AcceleratorTyp" - + "e\"L\n\017AcceleratorType\022 \n\034ACCELERATOR_TYPE" - + "_UNSPECIFIED\020\000\022\007\n\003CDC\020\001\022\016\n\nHEALTHCARE\020\002\"" - + "(\n\017CryptoKeyConfig\022\025\n\rkey_reference\030\001 \001(" - + "\t\"\255\014\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\023\n\013des" - + "cription\030\002 \001(\t\022A\n\004type\030\003 \001(\0162..google.cl" - + "oud.datafusion.v1beta1.Instance.TypeB\003\340A" - + "\002\022\"\n\032enable_stackdriver_logging\030\004 \001(\010\022%\n" - + "\035enable_stackdriver_monitoring\030\005 \001(\010\022\030\n\020" - + "private_instance\030\006 \001(\010\022F\n\016network_config" - + "\030\007 \001(\0132..google.cloud.datafusion.v1beta1" - + ".NetworkConfig\022E\n\006labels\030\010 \003(\01325.google." - + "cloud.datafusion.v1beta1.Instance.Labels" - + "Entry\022G\n\007options\030\t \003(\01326.google.cloud.da" - + "tafusion.v1beta1.Instance.OptionsEntry\0224" - + "\n\013create_time\030\n \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\022C\n\005state\030\014 \001(" - + "\0162/.google.cloud.datafusion.v1beta1.Inst" - + "ance.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\004zo" - + "ne\030\017 \001(\t\022\017\n\007version\030\020 \001(\t\022\036\n\017service_acc" - + "ount\030\021 \001(\tB\005\030\001\340A\003\022\024\n\014display_name\030\022 \001(\t\022" - + "C\n\021available_version\030\023 \003(\0132(.google.clou" - + "d.datafusion.v1beta1.Version\022\031\n\014api_endp" - + "oint\030\024 \001(\tB\003\340A\003\022\027\n\ngcs_bucket\030\025 \001(\tB\003\340A\003" - + "\022B\n\014accelerators\030\026 \003(\0132,.google.cloud.da" - + "tafusion.v1beta1.Accelerator\022\037\n\022p4_servi" - + "ce_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_accoun" - + "t\030\031 \001(\t\022\023\n\013enable_rbac\030\032 \001(\010\022K\n\021crypto_k" - + "ey_config\030\033 \001(\01320.google.cloud.datafusio" - + "n.v1beta1.CryptoKeyConfig\032-\n\013LabelsEntry" - + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032.\n\014Opti" - + "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + "\"F\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t\n\005BASIC\020" - + "\001\022\016\n\nENTERPRISE\020\002\022\r\n\tDEVELOPER\020\003\"\247\001\n\005Sta" - + "te\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\010UPDATIN" - + "G\020\007\022\021\n\rAUTO_UPDATING\020\010\022\022\n\016AUTO_UPGRADING" - + "\020\t:e\352Ab\n\"datafusion.googleapis.com/Insta" - + "nce\022\n\niam_policy\030\002 \001(\0132*.google." - + "cloud.datafusion.v1beta1.IAMPolicy:}\352Az\n" - + "#datafusion.googleapis.com/Namespace\022Spr" - + "ojects/{project}/locations/{location}/in" - + "stances/{instance}/namespaces/{namespace" - + "}\"q\n\026ListNamespacesResponse\022>\n\nnamespace" - + "s\030\001 \003(\0132*.google.cloud.datafusion.v1beta" - + "1.Namespace\022\027\n\017next_page_token\030\002 \001(\t\"\210\001\n" - + "\nDnsPeering\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_project\030\004 \001(\tB\003\340A\001\022\033\n\016target_net" - + "work\030\005 \001(\tB\003\340A\001\"h\n\024AddDnsPeeringRequest\022" - + "\016\n\006parent\030\001 \001(\t\022@\n\013dns_peering\030\002 \001(\0132+.g" - + "oogle.cloud.datafusion.v1beta1.DnsPeerin" - + "g\"\027\n\025AddDnsPeeringResponse\"<\n\027RemoveDnsP" - + "eeringRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\004zone\030\002 " - + "\001(\tB\003\340A\002\"\032\n\030RemoveDnsPeeringResponse\"{\n\026" - + "ListDnsPeeringsRequest\022:\n\006parent\030\001 \001(\tB*" - + "\340A\002\372A$\n\"datafusion.googleapis.com/Instan" - + "ce\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" - + "\t\"u\n\027ListDnsPeeringsResponse\022A\n\014dns_peer" - + "ings\030\001 \003(\0132+.google.cloud.datafusion.v1b" - + "eta1.DnsPeering\022\027\n\017next_page_token\030\002 \001(\t" - + "*b\n\rNamespaceView\022\036\n\032NAMESPACE_VIEW_UNSP" - + "ECIFIED\020\000\022\030\n\024NAMESPACE_VIEW_BASIC\020\001\022\027\n\023N" - + "AMESPACE_VIEW_FULL\020\0022\311\026\n\nDataFusion\022\332\001\n\025" - + "ListAvailableVersions\022=.google.cloud.dat" - + "afusion.v1beta1.ListAvailableVersionsReq" - + "uest\032>.google.cloud.datafusion.v1beta1.L" - + "istAvailableVersionsResponse\"B\202\323\344\223\0023\0221/v" - + "1beta1/{parent=projects/*/locations/*}/v" - + "ersions\332A\006parent\022\272\001\n\rListInstances\0225.goo" - + "gle.cloud.datafusion.v1beta1.ListInstanc" - + "esRequest\0326.google.cloud.datafusion.v1be" - + "ta1.ListInstancesResponse\":\202\323\344\223\0024\0222/v1be" - + "ta1/{parent=projects/*/locations/*}/inst" - + "ances\022\251\001\n\013GetInstance\0223.google.cloud.dat" - + "afusion.v1beta1.GetInstanceRequest\032).goo" - + "gle.cloud.datafusion.v1beta1.Instance\":\202" - + "\323\344\223\0024\0222/v1beta1/{name=projects/*/locatio" - + "ns/*/instances/*}\022\354\001\n\016CreateInstance\0226.g" - + "oogle.cloud.datafusion.v1beta1.CreateIns" - + "tanceRequest\032\035.google.longrunning.Operat" - + "ion\"\202\001\202\323\344\223\002>\"2/v1beta1/{parent=projects/" - + "*/locations/*}/instances:\010instance\332A\033par" - + "ent,instance,instance_id\312A\035\n\010Instance\022\021O" - + "perationMetadata\022\327\001\n\016DeleteInstance\0226.go" - + "ogle.cloud.datafusion.v1beta1.DeleteInst" - + "anceRequest\032\035.google.longrunning.Operati" - + "on\"n\202\323\344\223\0024*2/v1beta1/{name=projects/*/lo" - + "cations/*/instances/*}\332A\004name\312A*\n\025google" - + ".protobuf.Empty\022\021OperationMetadata\022\356\001\n\016U" - + "pdateInstance\0226.google.cloud.datafusion." - + "v1beta1.UpdateInstanceRequest\032\035.google.l" - + "ongrunning.Operation\"\204\001\202\323\344\223\002G2;/v1beta1/" - + "{instance.name=projects/*/locations/*/in" - + "stances/*}:\010instance\332A\024instance,update_m" - + "ask\312A\035\n\010Instance\022\021OperationMetadata\022\320\001\n\017" - + "RestartInstance\0227.google.cloud.datafusio" - + "n.v1beta1.RestartInstanceRequest\032\035.googl" - + "e.longrunning.Operation\"e\202\323\344\223\002?\":/v1beta" - + "1/{name=projects/*/locations/*/instances" - + "/*}:restart:\001*\312A\035\n\010Instance\022\021OperationMe" - + "tadata\022\320\001\n\017UpgradeInstance\0227.google.clou" - + "d.datafusion.v1beta1.UpgradeInstanceRequ" - + "est\032\035.google.longrunning.Operation\"e\202\323\344\223" - + "\002?\":/v1beta1/{name=projects/*/locations/" - + "*/instances/*}:upgrade:\001*\312A\035\n\010Instance\022\021" - + "OperationMetadata\022\316\001\n\017RemoveIamPolicy\0227." - + "google.cloud.datafusion.v1beta1.RemoveIa" - + "mPolicyRequest\0328.google.cloud.datafusion" - + ".v1beta1.RemoveIamPolicyResponse\"H\202\323\344\223\002B" - + "\"=/v1beta1/{resource=projects/*/location" - + "s/*/**}:removeIamPolicy:\001*\022\323\001\n\016ListNames" - + "paces\0226.google.cloud.datafusion.v1beta1." - + "ListNamespacesRequest\0327.google.cloud.dat" - + "afusion.v1beta1.ListNamespacesResponse\"P" - + "\202\323\344\223\002A\022?/v1beta1/{parent=projects/*/loca" - + "tions/*/instances/*}/namespaces\332A\006parent" - + "\022\330\001\n\rAddDnsPeering\0225.google.cloud.datafu" - + "sion.v1beta1.AddDnsPeeringRequest\0326.goog" - + "le.cloud.datafusion.v1beta1.AddDnsPeerin" - + "gResponse\"X\202\323\344\223\002I\"D/v1beta1/{parent=proj" - + "ects/*/locations/*/instances/*}/dnsPeeri" - + "ngs:add:\001*\332A\006parent\022\344\001\n\020RemoveDnsPeering" - + "\0228.google.cloud.datafusion.v1beta1.Remov" - + "eDnsPeeringRequest\0329.google.cloud.datafu" - + "sion.v1beta1.RemoveDnsPeeringResponse\"[\202" - + "\323\344\223\002L\"G/v1beta1/{parent=projects/*/locat" - + "ions/*/instances/*}/dnsPeerings:remove:\001" - + "*\332A\006parent\022\334\001\n\017ListDnsPeerings\0227.google." - + "cloud.datafusion.v1beta1.ListDnsPeerings" - + "Request\0328.google.cloud.datafusion.v1beta" - + "1.ListDnsPeeringsResponse\"V\202\323\344\223\002G\022E/v1be" - + "ta1/{parent=projects/*/locations/*/insta" - + "nces/*}/dnsPeerings:list\332A\006parent\032M\312A\031da" - + "tafusion.googleapis.com\322A.https://www.go" - + "ogleapis.com/auth/cloud-platformB\333\001\n#com" - + ".google.cloud.datafusion.v1beta1P\001ZIgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "datafusion/v1beta1;datafusion\252\002\037Google.C" - + "loud.DataFusion.V1Beta1\312\002\037Google\\Cloud\\D" - + "ataFusion\\V1beta1\352\002\"Google::Cloud::DataF" - + "usion::V1beta1b\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", - }); - 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", - }); - 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.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 9e3b25235740766eaa0a0b9243d6baf0260471ab Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 3 Aug 2021 22:58:11 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/master/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 - .../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 - .../datafusion/v1/DataFusionClientTest.java | 0 .../cloud/datafusion/v1/MockDataFusion.java | 0 .../datafusion/v1/MockDataFusionImpl.java | 0 .../v1beta1/DataFusionClientTest.java | 0 .../datafusion/v1beta1/MockDataFusion.java | 0 .../v1beta1/MockDataFusionImpl.java | 0 .../cloud/datafusion/v1/DataFusionGrpc.java | 1061 ++++++ .../datafusion/v1beta1/DataFusionGrpc.java | 1806 ++++++++++ .../cloud/datafusion/v1/DataFusionGrpc.java | 836 ----- .../cloud/datafusion/v1/Datafusion.java | 389 --- .../datafusion/v1beta1/DataFusionGrpc.java | 1356 -------- .../AddDnsPeeringResponseOrBuilder.java | 9 - .../RemoveDnsPeeringResponseOrBuilder.java | 9 - .../RemoveIamPolicyRequestOrBuilder.java | 29 - .../RemoveIamPolicyResponseOrBuilder.java | 9 - .../cloud/datafusion/v1beta1/V1Beta1.java | 604 ---- .../cloud/datafusion/v1/Accelerator.java | 497 ++- .../datafusion/v1/AcceleratorOrBuilder.java | 30 +- .../datafusion/v1/CreateInstanceRequest.java | 491 +-- .../v1/CreateInstanceRequestOrBuilder.java | 44 +- .../cloud/datafusion/v1/CryptoKeyConfig.java | 301 +- .../v1/CryptoKeyConfigOrBuilder.java | 27 +- .../cloud/datafusion/v1/Datafusion.java | 456 +++ .../datafusion/v1/DeleteInstanceRequest.java | 311 +- .../v1/DeleteInstanceRequestOrBuilder.java | 27 +- .../datafusion/v1/GetInstanceRequest.java | 311 +- .../v1/GetInstanceRequestOrBuilder.java | 27 +- .../google/cloud/datafusion/v1/Instance.java | 3070 ++++++++++------- .../datafusion/v1/InstanceOrBuilder.java | 337 +- .../v1/ListAvailableVersionsRequest.java | 464 +-- ...ListAvailableVersionsRequestOrBuilder.java | 42 +- .../v1/ListAvailableVersionsResponse.java | 464 ++- ...istAvailableVersionsResponseOrBuilder.java | 45 +- .../datafusion/v1/ListInstancesRequest.java | 584 ++-- .../v1/ListInstancesRequestOrBuilder.java | 57 +- .../datafusion/v1/ListInstancesResponse.java | 570 +-- .../v1/ListInstancesResponseOrBuilder.java | 63 +- .../cloud/datafusion/v1/NetworkConfig.java | 380 +- .../datafusion/v1/NetworkConfigOrBuilder.java | 36 +- .../datafusion/v1/OperationMetadata.java | 1018 +++--- .../v1/OperationMetadataOrBuilder.java | 104 +- .../datafusion/v1/RestartInstanceRequest.java | 314 +- .../v1/RestartInstanceRequestOrBuilder.java | 27 +- .../datafusion/v1/UpdateInstanceRequest.java | 436 ++- .../v1/UpdateInstanceRequestOrBuilder.java | 34 +- .../google/cloud/datafusion/v1/Version.java | 442 ++- .../cloud/datafusion/v1/VersionOrBuilder.java | 48 +- .../cloud/datafusion/v1/datafusion.proto | 0 .../cloud/datafusion/v1beta1/Accelerator.java | 379 +- .../v1beta1/AcceleratorOrBuilder.java | 24 +- .../v1beta1/AddDnsPeeringRequest.java | 412 ++- .../AddDnsPeeringRequestOrBuilder.java | 35 +- .../v1beta1/AddDnsPeeringResponse.java | 238 +- .../AddDnsPeeringResponseOrBuilder.java | 24 + .../v1beta1/CreateInstanceRequest.java | 491 +-- .../CreateInstanceRequestOrBuilder.java | 44 +- .../datafusion/v1beta1/CryptoKeyConfig.java | 311 +- .../v1beta1/CryptoKeyConfigOrBuilder.java | 27 +- .../v1beta1/DeleteInstanceRequest.java | 314 +- .../DeleteInstanceRequestOrBuilder.java | 27 +- .../cloud/datafusion/v1beta1/DnsPeering.java | 619 ++-- .../v1beta1/DnsPeeringOrBuilder.java | 63 +- .../v1beta1/GetInstanceRequest.java | 314 +- .../v1beta1/GetInstanceRequestOrBuilder.java | 27 +- .../cloud/datafusion/v1beta1/IAMPolicy.java | 399 ++- .../v1beta1/IAMPolicyOrBuilder.java | 34 +- .../cloud/datafusion/v1beta1/Instance.java | 3063 +++++++++------- .../datafusion/v1beta1/InstanceName.java | 0 .../datafusion/v1beta1/InstanceOrBuilder.java | 337 +- .../v1beta1/ListAvailableVersionsRequest.java | 485 +-- ...ListAvailableVersionsRequestOrBuilder.java | 42 +- .../ListAvailableVersionsResponse.java | 472 ++- ...istAvailableVersionsResponseOrBuilder.java | 45 +- .../v1beta1/ListDnsPeeringsRequest.java | 455 ++- .../ListDnsPeeringsRequestOrBuilder.java | 47 +- .../v1beta1/ListDnsPeeringsResponse.java | 458 ++- .../ListDnsPeeringsResponseOrBuilder.java | 45 +- .../v1beta1/ListInstancesRequest.java | 587 ++-- .../ListInstancesRequestOrBuilder.java | 57 +- .../v1beta1/ListInstancesResponse.java | 574 +-- .../ListInstancesResponseOrBuilder.java | 63 +- .../v1beta1/ListNamespacesRequest.java | 523 +-- .../ListNamespacesRequestOrBuilder.java | 53 +- .../v1beta1/ListNamespacesResponse.java | 461 ++- .../ListNamespacesResponseOrBuilder.java | 45 +- .../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 | 393 ++- .../RemoveDnsPeeringRequestOrBuilder.java | 36 +- .../v1beta1/RemoveDnsPeeringResponse.java | 245 +- .../RemoveDnsPeeringResponseOrBuilder.java | 24 + .../v1beta1/RemoveIamPolicyRequest.java | 314 +- .../RemoveIamPolicyRequestOrBuilder.java | 50 + .../v1beta1/RemoveIamPolicyResponse.java | 238 +- .../RemoveIamPolicyResponseOrBuilder.java | 24 + .../v1beta1/RestartInstanceRequest.java | 314 +- .../RestartInstanceRequestOrBuilder.java | 27 +- .../v1beta1/UpdateInstanceRequest.java | 432 ++- .../UpdateInstanceRequestOrBuilder.java | 34 +- .../v1beta1/UpgradeInstanceRequest.java | 314 +- .../UpgradeInstanceRequestOrBuilder.java | 27 +- .../cloud/datafusion/v1beta1/V1Beta1.java | 675 ++++ .../cloud/datafusion/v1beta1/Version.java | 449 ++- .../datafusion/v1beta1/VersionOrBuilder.java | 48 +- .../cloud/datafusion/v1beta1/v1beta1.proto | 0 126 files changed, 20791 insertions(+), 13565 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/v1beta1/google-cloud-data-fusion => google-cloud-data-fusion}/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java (97%) 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/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/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/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/RemoveDnsPeeringResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.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/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 (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/CreateInstanceRequestOrBuilder.java (66%) 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 (57%) 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 (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/DeleteInstanceRequestOrBuilder.java (50%) 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 (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/GetInstanceRequestOrBuilder.java (51%) 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 (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/InstanceOrBuilder.java (79%) 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 (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/ListAvailableVersionsRequestOrBuilder.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/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 (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/ListInstancesRequestOrBuilder.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/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/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 (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/RestartInstanceRequestOrBuilder.java (53%) 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 (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/UpdateInstanceRequestOrBuilder.java (81%) 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 (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/VersionOrBuilder.java (68%) 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 (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/AddDnsPeeringRequestOrBuilder.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/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 (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/CreateInstanceRequestOrBuilder.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/CryptoKeyConfig.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/CryptoKeyConfigOrBuilder.java (58%) 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 (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/DeleteInstanceRequestOrBuilder.java (51%) 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 (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/GetInstanceRequestOrBuilder.java (51%) 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 (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/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 (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/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 (79%) 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 (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/ListAvailableVersionsRequestOrBuilder.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/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 (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/ListInstancesRequestOrBuilder.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/ListInstancesResponse.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/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/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 (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/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 (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/RemoveDnsPeeringRequestOrBuilder.java (56%) 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 (67%) create mode 100644 proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.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/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 (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/RestartInstanceRequestOrBuilder.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/UpdateInstanceRequest.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/UpdateInstanceRequestOrBuilder.java (81%) 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 (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/UpgradeInstanceRequestOrBuilder.java (58%) 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 (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/VersionOrBuilder.java (68%) 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%) 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 c322c2aa..8a462f61 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 @@ -61,13 +61,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. *
* @@ -808,8 +808,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, @@ -829,7 +832,9 @@ private ListAvailableVersionsPagedResponse(ListAvailableVersionsPage page) { public static class ListAvailableVersionsPage extends AbstractPage< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, + Version, ListAvailableVersionsPage> { private ListAvailableVersionsPage( @@ -859,8 +864,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) { @@ -880,7 +888,10 @@ protected ListAvailableVersionsFixedSizeCollection createCollection( public static class ListInstancesPagedResponse extends AbstractPagedListResponse< - ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage, + ListInstancesRequest, + ListInstancesResponse, + Instance, + ListInstancesPage, ListInstancesFixedSizeCollection> { public static ApiFuture createAsync( @@ -930,7 +941,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 0ec08b5a..84b2accd 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 @@ -29,7 +29,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; @@ -46,9 +45,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 @@ -75,7 +74,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(); @@ -234,7 +234,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 5e0a0fdb..228fec36 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 @@ -75,9 +75,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 @@ -106,7 +106,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< @@ -203,11 +204,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( @@ -242,7 +245,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; @@ -394,7 +398,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< @@ -667,7 +672,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 4734700a..30aec95f 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/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 97% 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 03ece578..a3941e69 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 @@ -61,13 +61,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. *
* @@ -1335,8 +1335,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, @@ -1356,7 +1359,9 @@ private ListAvailableVersionsPagedResponse(ListAvailableVersionsPage page) { public static class ListAvailableVersionsPage extends AbstractPage< - ListAvailableVersionsRequest, ListAvailableVersionsResponse, Version, + ListAvailableVersionsRequest, + ListAvailableVersionsResponse, + Version, ListAvailableVersionsPage> { private ListAvailableVersionsPage( @@ -1386,8 +1391,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) { @@ -1407,7 +1415,10 @@ protected ListAvailableVersionsFixedSizeCollection createCollection( public static class ListInstancesPagedResponse extends AbstractPagedListResponse< - ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage, + ListInstancesRequest, + ListInstancesResponse, + Instance, + ListInstancesPage, ListInstancesFixedSizeCollection> { public static ApiFuture createAsync( @@ -1457,7 +1468,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) { @@ -1477,7 +1491,10 @@ protected ListInstancesFixedSizeCollection createCollection( public static class ListNamespacesPagedResponse extends AbstractPagedListResponse< - ListNamespacesRequest, ListNamespacesResponse, Namespace, ListNamespacesPage, + ListNamespacesRequest, + ListNamespacesResponse, + Namespace, + ListNamespacesPage, ListNamespacesFixedSizeCollection> { public static ApiFuture createAsync( @@ -1527,7 +1544,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) { @@ -1547,7 +1567,10 @@ protected ListNamespacesFixedSizeCollection createCollection( public static class ListDnsPeeringsPagedResponse extends AbstractPagedListResponse< - ListDnsPeeringsRequest, ListDnsPeeringsResponse, DnsPeering, ListDnsPeeringsPage, + ListDnsPeeringsRequest, + ListDnsPeeringsResponse, + DnsPeering, + ListDnsPeeringsPage, ListDnsPeeringsFixedSizeCollection> { public static ApiFuture createAsync( @@ -1597,7 +1620,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 a810d6f7..265c3664 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 @@ -31,7 +31,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; @@ -48,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 @@ -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(); @@ -279,7 +279,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 3acea337..51a00d8e 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 @@ -90,9 +90,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 @@ -122,7 +122,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< @@ -310,11 +311,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( @@ -383,7 +386,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; @@ -584,7 +588,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< @@ -953,7 +958,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 e1f9940c..e108caa5 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/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/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..c0856d84 --- /dev/null +++ b/grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java @@ -0,0 +1,1061 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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") +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..3c840853 --- /dev/null +++ b/grpc-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java @@ -0,0 +1,1806 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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") +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 f663c6cb..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,836 +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") -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 4de72aa0..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,389 +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\"V\n\007Version" + - "\022\026\n\016version_number\030\001 \001(\t\022\027\n\017default_vers" + - "ion\030\002 \001(\010\022\032\n\022available_features\030\003 \003(\t\"\307\002" + - "\n\013Accelerator\022Q\n\020accelerator_type\030\001 \001(\0162" + - "7.google.cloud.datafusion.v1.Accelerator" + - ".AcceleratorType\022<\n\005state\030\002 \001(\0162-.google" + - ".cloud.datafusion.v1.Accelerator.State\"_" + - "\n\017AcceleratorType\022 \n\034ACCELERATOR_TYPE_UN" + - "SPECIFIED\020\000\022\007\n\003CDC\020\001\022\016\n\nHEALTHCARE\020\002\022\021\n\r" + - "CCAI_INSIGHTS\020\003\"F\n\005State\022\025\n\021STATE_UNSPEC" + - "IFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DISABLED\020\002\022\013\n\007UN" + - "KNOWN\020\003\"(\n\017CryptoKeyConfig\022\025\n\rkey_refere" + - "nce\030\001 \001(\t\"\204\014\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A" + - "\003\022\023\n\013description\030\002 \001(\t\022<\n\004type\030\003 \001(\0162).g" + - "oogle.cloud.datafusion.v1.Instance.TypeB" + - "\003\340A\002\022\"\n\032enable_stackdriver_logging\030\004 \001(\010" + - "\022%\n\035enable_stackdriver_monitoring\030\005 \001(\010\022" + - "\030\n\020private_instance\030\006 \001(\010\022A\n\016network_con" + - "fig\030\007 \001(\0132).google.cloud.datafusion.v1.N" + - "etworkConfig\022@\n\006labels\030\010 \003(\01320.google.cl" + - "oud.datafusion.v1.Instance.LabelsEntry\022B" + - "\n\007options\030\t \003(\01321.google.cloud.datafusio" + - "n.v1.Instance.OptionsEntry\0224\n\013create_tim" + - "e\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + - "\0224\n\013update_time\030\013 \001(\0132\032.google.protobuf." + - "TimestampB\003\340A\003\022>\n\005state\030\014 \001(\0162*.google.c" + - "loud.datafusion.v1.Instance.StateB\003\340A\003\022\032" + - "\n\rstate_message\030\r \001(\tB\003\340A\003\022\035\n\020service_en" + - "dpoint\030\016 \001(\tB\003\340A\003\022\014\n\004zone\030\017 \001(\t\022\017\n\007versi" + - "on\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\022>\n\021available_vers" + - "ion\030\023 \003(\0132#.google.cloud.datafusion.v1.V" + - "ersion\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\014accelerators\030\026 \003(\013" + - "2\'.google.cloud.datafusion.v1.Accelerato" + - "r\022\037\n\022p4_service_account\030\027 \001(\tB\003\340A\003\022\036\n\021te" + - "nant_project_id\030\030 \001(\tB\003\340A\003\022 \n\030dataproc_s" + - "ervice_account\030\031 \001(\t\022\023\n\013enable_rbac\030\033 \001(" + - "\010\022F\n\021crypto_key_config\030\034 \001(\0132+.google.cl" + - "oud.datafusion.v1.CryptoKeyConfig\032-\n\013Lab" + - "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + - "\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + - " \001(\t:\0028\001\"F\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t" + - "\n\005BASIC\020\001\022\016\n\nENTERPRISE\020\002\022\r\n\tDEVELOPER\020\003" + - "\"\246\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CRE" + - "ATING\020\001\022\n\n\006ACTIVE\020\002\022\n\n\006FAILED\020\003\022\014\n\010DELET" + - "ING\020\004\022\r\n\tUPGRADING\020\005\022\016\n\nRESTARTING\020\006\022\014\n\010" + - "UPDATING\020\007\022\021\n\rAUTO_UPDATING\020\010\022\022\n\016AUTO_UP" + - "GRADING\020\t:e\352Ab\n\"datafusion.googleapis.co" + - "m/Instance\022 - * 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") -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/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/RemoveIamPolicyRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java deleted file mode 100644 index 450014af..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java +++ /dev/null @@ -1,29 +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 RemoveIamPolicyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The resource on which IAM policy to be removed is attached to.
-   * 
- * - * string resource = 1; - * @return The resource. - */ - java.lang.String getResource(); - /** - *
-   * The resource on which IAM policy to be removed is attached to.
-   * 
- * - * string resource = 1; - * @return The bytes for resource. - */ - 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/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/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 a5b94cd0..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,604 +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\"V\n\007Version\022\026\n\016version_number\030\001" + - " \001(\t\022\027\n\017default_version\030\002 \001(\010\022\032\n\022availab" + - "le_features\030\003 \003(\t\"\263\001\n\013Accelerator\022V\n\020acc" + - "elerator_type\030\001 \001(\0162<.google.cloud.dataf" + - "usion.v1beta1.Accelerator.AcceleratorTyp" + - "e\"L\n\017AcceleratorType\022 \n\034ACCELERATOR_TYPE" + - "_UNSPECIFIED\020\000\022\007\n\003CDC\020\001\022\016\n\nHEALTHCARE\020\002\"" + - "(\n\017CryptoKeyConfig\022\025\n\rkey_reference\030\001 \001(" + - "\t\"\255\014\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\023\n\013des" + - "cription\030\002 \001(\t\022A\n\004type\030\003 \001(\0162..google.cl" + - "oud.datafusion.v1beta1.Instance.TypeB\003\340A" + - "\002\022\"\n\032enable_stackdriver_logging\030\004 \001(\010\022%\n" + - "\035enable_stackdriver_monitoring\030\005 \001(\010\022\030\n\020" + - "private_instance\030\006 \001(\010\022F\n\016network_config" + - "\030\007 \001(\0132..google.cloud.datafusion.v1beta1" + - ".NetworkConfig\022E\n\006labels\030\010 \003(\01325.google." + - "cloud.datafusion.v1beta1.Instance.Labels" + - "Entry\022G\n\007options\030\t \003(\01326.google.cloud.da" + - "tafusion.v1beta1.Instance.OptionsEntry\0224" + - "\n\013create_time\030\n \001(\0132\032.google.protobuf.Ti" + - "mestampB\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.goog" + - "le.protobuf.TimestampB\003\340A\003\022C\n\005state\030\014 \001(" + - "\0162/.google.cloud.datafusion.v1beta1.Inst" + - "ance.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\004zo" + - "ne\030\017 \001(\t\022\017\n\007version\030\020 \001(\t\022\036\n\017service_acc" + - "ount\030\021 \001(\tB\005\030\001\340A\003\022\024\n\014display_name\030\022 \001(\t\022" + - "C\n\021available_version\030\023 \003(\0132(.google.clou" + - "d.datafusion.v1beta1.Version\022\031\n\014api_endp" + - "oint\030\024 \001(\tB\003\340A\003\022\027\n\ngcs_bucket\030\025 \001(\tB\003\340A\003" + - "\022B\n\014accelerators\030\026 \003(\0132,.google.cloud.da" + - "tafusion.v1beta1.Accelerator\022\037\n\022p4_servi" + - "ce_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_accoun" + - "t\030\031 \001(\t\022\023\n\013enable_rbac\030\032 \001(\010\022K\n\021crypto_k" + - "ey_config\030\033 \001(\01320.google.cloud.datafusio" + - "n.v1beta1.CryptoKeyConfig\032-\n\013LabelsEntry" + - "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032.\n\014Opti" + - "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + - "\"F\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t\n\005BASIC\020" + - "\001\022\016\n\nENTERPRISE\020\002\022\r\n\tDEVELOPER\020\003\"\247\001\n\005Sta" + - "te\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\010UPDATIN" + - "G\020\007\022\021\n\rAUTO_UPDATING\020\010\022\022\n\016AUTO_UPGRADING" + - "\020\t:e\352Ab\n\"datafusion.googleapis.com/Insta" + - "nce\022\n\niam_policy\030\002 \001(\0132*.google." + - "cloud.datafusion.v1beta1.IAMPolicy:}\352Az\n" + - "#datafusion.googleapis.com/Namespace\022Spr" + - "ojects/{project}/locations/{location}/in" + - "stances/{instance}/namespaces/{namespace" + - "}\"q\n\026ListNamespacesResponse\022>\n\nnamespace" + - "s\030\001 \003(\0132*.google.cloud.datafusion.v1beta" + - "1.Namespace\022\027\n\017next_page_token\030\002 \001(\t\"\210\001\n" + - "\nDnsPeering\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_project\030\004 \001(\tB\003\340A\001\022\033\n\016target_net" + - "work\030\005 \001(\tB\003\340A\001\"h\n\024AddDnsPeeringRequest\022" + - "\016\n\006parent\030\001 \001(\t\022@\n\013dns_peering\030\002 \001(\0132+.g" + - "oogle.cloud.datafusion.v1beta1.DnsPeerin" + - "g\"\027\n\025AddDnsPeeringResponse\"<\n\027RemoveDnsP" + - "eeringRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\004zone\030\002 " + - "\001(\tB\003\340A\002\"\032\n\030RemoveDnsPeeringResponse\"{\n\026" + - "ListDnsPeeringsRequest\022:\n\006parent\030\001 \001(\tB*" + - "\340A\002\372A$\n\"datafusion.googleapis.com/Instan" + - "ce\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + - "\t\"u\n\027ListDnsPeeringsResponse\022A\n\014dns_peer" + - "ings\030\001 \003(\0132+.google.cloud.datafusion.v1b" + - "eta1.DnsPeering\022\027\n\017next_page_token\030\002 \001(\t" + - "*b\n\rNamespaceView\022\036\n\032NAMESPACE_VIEW_UNSP" + - "ECIFIED\020\000\022\030\n\024NAMESPACE_VIEW_BASIC\020\001\022\027\n\023N" + - "AMESPACE_VIEW_FULL\020\0022\311\026\n\nDataFusion\022\332\001\n\025" + - "ListAvailableVersions\022=.google.cloud.dat" + - "afusion.v1beta1.ListAvailableVersionsReq" + - "uest\032>.google.cloud.datafusion.v1beta1.L" + - "istAvailableVersionsResponse\"B\202\323\344\223\0023\0221/v" + - "1beta1/{parent=projects/*/locations/*}/v" + - "ersions\332A\006parent\022\272\001\n\rListInstances\0225.goo" + - "gle.cloud.datafusion.v1beta1.ListInstanc" + - "esRequest\0326.google.cloud.datafusion.v1be" + - "ta1.ListInstancesResponse\":\202\323\344\223\0024\0222/v1be" + - "ta1/{parent=projects/*/locations/*}/inst" + - "ances\022\251\001\n\013GetInstance\0223.google.cloud.dat" + - "afusion.v1beta1.GetInstanceRequest\032).goo" + - "gle.cloud.datafusion.v1beta1.Instance\":\202" + - "\323\344\223\0024\0222/v1beta1/{name=projects/*/locatio" + - "ns/*/instances/*}\022\354\001\n\016CreateInstance\0226.g" + - "oogle.cloud.datafusion.v1beta1.CreateIns" + - "tanceRequest\032\035.google.longrunning.Operat" + - "ion\"\202\001\202\323\344\223\002>\"2/v1beta1/{parent=projects/" + - "*/locations/*}/instances:\010instance\332A\033par" + - "ent,instance,instance_id\312A\035\n\010Instance\022\021O" + - "perationMetadata\022\327\001\n\016DeleteInstance\0226.go" + - "ogle.cloud.datafusion.v1beta1.DeleteInst" + - "anceRequest\032\035.google.longrunning.Operati" + - "on\"n\202\323\344\223\0024*2/v1beta1/{name=projects/*/lo" + - "cations/*/instances/*}\332A\004name\312A*\n\025google" + - ".protobuf.Empty\022\021OperationMetadata\022\356\001\n\016U" + - "pdateInstance\0226.google.cloud.datafusion." + - "v1beta1.UpdateInstanceRequest\032\035.google.l" + - "ongrunning.Operation\"\204\001\202\323\344\223\002G2;/v1beta1/" + - "{instance.name=projects/*/locations/*/in" + - "stances/*}:\010instance\332A\024instance,update_m" + - "ask\312A\035\n\010Instance\022\021OperationMetadata\022\320\001\n\017" + - "RestartInstance\0227.google.cloud.datafusio" + - "n.v1beta1.RestartInstanceRequest\032\035.googl" + - "e.longrunning.Operation\"e\202\323\344\223\002?\":/v1beta" + - "1/{name=projects/*/locations/*/instances" + - "/*}:restart:\001*\312A\035\n\010Instance\022\021OperationMe" + - "tadata\022\320\001\n\017UpgradeInstance\0227.google.clou" + - "d.datafusion.v1beta1.UpgradeInstanceRequ" + - "est\032\035.google.longrunning.Operation\"e\202\323\344\223" + - "\002?\":/v1beta1/{name=projects/*/locations/" + - "*/instances/*}:upgrade:\001*\312A\035\n\010Instance\022\021" + - "OperationMetadata\022\316\001\n\017RemoveIamPolicy\0227." + - "google.cloud.datafusion.v1beta1.RemoveIa" + - "mPolicyRequest\0328.google.cloud.datafusion" + - ".v1beta1.RemoveIamPolicyResponse\"H\202\323\344\223\002B" + - "\"=/v1beta1/{resource=projects/*/location" + - "s/*/**}:removeIamPolicy:\001*\022\323\001\n\016ListNames" + - "paces\0226.google.cloud.datafusion.v1beta1." + - "ListNamespacesRequest\0327.google.cloud.dat" + - "afusion.v1beta1.ListNamespacesResponse\"P" + - "\202\323\344\223\002A\022?/v1beta1/{parent=projects/*/loca" + - "tions/*/instances/*}/namespaces\332A\006parent" + - "\022\330\001\n\rAddDnsPeering\0225.google.cloud.datafu" + - "sion.v1beta1.AddDnsPeeringRequest\0326.goog" + - "le.cloud.datafusion.v1beta1.AddDnsPeerin" + - "gResponse\"X\202\323\344\223\002I\"D/v1beta1/{parent=proj" + - "ects/*/locations/*/instances/*}/dnsPeeri" + - "ngs:add:\001*\332A\006parent\022\344\001\n\020RemoveDnsPeering" + - "\0228.google.cloud.datafusion.v1beta1.Remov" + - "eDnsPeeringRequest\0329.google.cloud.datafu" + - "sion.v1beta1.RemoveDnsPeeringResponse\"[\202" + - "\323\344\223\002L\"G/v1beta1/{parent=projects/*/locat" + - "ions/*/instances/*}/dnsPeerings:remove:\001" + - "*\332A\006parent\022\334\001\n\017ListDnsPeerings\0227.google." + - "cloud.datafusion.v1beta1.ListDnsPeerings" + - "Request\0328.google.cloud.datafusion.v1beta" + - "1.ListDnsPeeringsResponse\"V\202\323\344\223\002G\022E/v1be" + - "ta1/{parent=projects/*/locations/*/insta" + - "nces/*}/dnsPeerings:list\332A\006parent\032M\312A\031da" + - "tafusion.googleapis.com\322A.https://www.go" + - "ogleapis.com/auth/cloud-platformB\333\001\n#com" + - ".google.cloud.datafusion.v1beta1P\001ZIgoog" + - "le.golang.org/genproto/googleapis/cloud/" + - "datafusion/v1beta1;datafusion\252\002\037Google.C" + - "loud.DataFusion.V1Beta1\312\002\037Google\\Cloud\\D" + - "ataFusion\\V1beta1\352\002\"Google::Cloud::DataF" + - "usion::V1beta1b\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", }); - 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", }); - 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.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 8e2b0191..38eaf5a0 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,51 +71,57 @@ 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) { throw e.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.
@@ -106,9 +129,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.
      * 
@@ -117,6 +141,8 @@ public enum AcceleratorType */ ACCELERATOR_TYPE_UNSPECIFIED(0), /** + * + * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -125,6 +151,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.
@@ -134,6 +162,8 @@ public enum AcceleratorType
      */
     HEALTHCARE(2),
     /**
+     *
+     *
      * 
      * Contact Center AI Insights
      * This accelerator is used to enable import and export pipelines
@@ -147,6 +177,8 @@ public enum AcceleratorType
     ;
 
     /**
+     *
+     *
      * 
      * Default value, if unspecified.
      * 
@@ -155,6 +187,8 @@ public enum AcceleratorType */ public static final int ACCELERATOR_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -163,6 +197,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.
@@ -172,6 +208,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
@@ -182,7 +220,6 @@ public enum AcceleratorType
      */
     public static final int CCAI_INSIGHTS_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -207,40 +244,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);
     }
 
@@ -249,8 +290,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;
@@ -268,15 +308,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
      * 
@@ -285,6 +328,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Indicates that the accelerator is enabled and available to use
      * 
@@ -293,6 +338,8 @@ public enum State */ ENABLED(1), /** + * + * *
      * Indicates that the accelerator is disabled and not available to use
      * 
@@ -301,6 +348,8 @@ public enum State */ DISABLED(2), /** + * + * *
      * Indicates that accelerator state is currently unknown.
      * Requests for enable, disable could be retried while in this state
@@ -313,6 +362,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Default value, do not use
      * 
@@ -321,6 +372,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Indicates that the accelerator is enabled and available to use
      * 
@@ -329,6 +382,8 @@ public enum State */ public static final int ENABLED_VALUE = 1; /** + * + * *
      * Indicates that the accelerator is disabled and not available to use
      * 
@@ -337,6 +392,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
@@ -346,7 +403,6 @@ public enum State
      */
     public static final int UNKNOWN_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -371,50 +427,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;
@@ -434,58 +491,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; @@ -497,9 +575,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()) { @@ -514,13 +593,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; @@ -530,12 +609,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; @@ -559,118 +639,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() @@ -678,16 +767,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(); @@ -699,9 +787,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 @@ -720,7 +808,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(); @@ -731,38 +820,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; @@ -808,73 +898,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; @@ -882,51 +992,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. */ @@ -934,28 +1060,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); } @@ -965,12 +1094,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(); } @@ -979,16 +1108,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; @@ -1003,6 +1132,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 69% 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 c851b61c..9f35ce63 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,72 +71,82 @@ 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) { throw e.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_; /** + * + * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -128,30 +155,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; } } /** + * + * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; + * * @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 { @@ -162,11 +189,14 @@ public java.lang.String getParent() { public static final int INSTANCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceId_; /** + * + * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; + * * @return The instanceId. */ @java.lang.Override @@ -175,29 +205,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; } } /** + * + * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; + * * @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 { @@ -208,11 +238,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 @@ -220,18 +253,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.
    * 
@@ -244,6 +284,7 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +296,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -282,8 +322,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; @@ -293,21 +332,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; @@ -334,117 +371,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() @@ -452,16 +498,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 +524,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 @@ -500,7 +545,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) { @@ -516,38 +562,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; @@ -555,7 +602,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(); @@ -586,7 +634,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) { @@ -598,19 +647,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; + * * @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 +670,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; + * * @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,57 +693,64 @@ public java.lang.String getParent() { } } /** + * + * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; + * * @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; } /** + * + * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; + * * @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; @@ -699,18 +758,20 @@ public Builder setParentBytes( private java.lang.Object instanceId_ = ""; /** + * + * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; + * * @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; @@ -719,20 +780,21 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; + * * @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 { @@ -740,54 +802,61 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; + * * @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; } /** + * + * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; + * * @return This builder for chaining. */ public Builder clearInstanceId() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** + * + * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; + * * @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; @@ -795,34 +864,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.
      * 
@@ -843,14 +925,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(); @@ -861,6 +944,8 @@ public Builder setInstance( return this; } /** + * + * *
      * An instance resource.
      * 
@@ -871,7 +956,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; } @@ -883,6 +970,8 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1.Instance value) { return this; } /** + * + * *
      * An instance resource.
      * 
@@ -901,6 +990,8 @@ public Builder clearInstance() { return this; } /** + * + * *
      * An instance resource.
      * 
@@ -908,11 +999,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.
      * 
@@ -923,11 +1016,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.
      * 
@@ -935,21 +1031,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); } @@ -959,12 +1058,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(); } @@ -973,16 +1072,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; @@ -997,6 +1096,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 66% 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 a5d19aca..79e1d827 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,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 { /** + * + * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; + * * @return The instanceId. */ java.lang.String getInstanceId(); /** + * + * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; + * * @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 82f6a4a0..460e2f59 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,47 +71,52 @@ 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) {
       throw e.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
@@ -102,6 +124,7 @@ private CryptoKeyConfig(
    * 
* * string key_reference = 1; + * * @return The keyReference. */ @java.lang.Override @@ -110,14 +133,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
@@ -125,16 +149,15 @@ public java.lang.String getKeyReference() {
    * 
* * string key_reference = 1; + * * @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 { @@ -143,6 +166,7 @@ public java.lang.String getKeyReference() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +178,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 (!getKeyReferenceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyReference_); } @@ -179,15 +202,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; } @@ -206,97 +229,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.
@@ -304,21 +334,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()
@@ -326,16 +358,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();
@@ -345,9 +376,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
@@ -366,7 +397,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;
@@ -376,38 +408,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;
@@ -451,6 +484,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
@@ -458,13 +493,13 @@ public Builder mergeFrom(
      * 
* * string key_reference = 1; + * * @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; @@ -473,6 +508,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
@@ -480,15 +517,14 @@ public java.lang.String getKeyReference() {
      * 
* * string key_reference = 1; + * * @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 { @@ -496,6 +532,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
@@ -503,20 +541,22 @@ public java.lang.String getKeyReference() {
      * 
* * string key_reference = 1; + * * @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
@@ -524,15 +564,18 @@ public Builder setKeyReference(
      * 
* * string key_reference = 1; + * * @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
@@ -540,23 +583,23 @@ public Builder clearKeyReference() {
      * 
* * string key_reference = 1; + * * @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); } @@ -566,12 +609,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(); } @@ -580,16 +623,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; @@ -604,6 +647,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 57% 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 4f49d23a..c0f113b8 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; + * * @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; + * * @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..3f69c093 --- /dev/null +++ b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java @@ -0,0 +1,456 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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\"V\n\007Version" + + "\022\026\n\016version_number\030\001 \001(\t\022\027\n\017default_vers" + + "ion\030\002 \001(\010\022\032\n\022available_features\030\003 \003(\t\"\307\002" + + "\n\013Accelerator\022Q\n\020accelerator_type\030\001 \001(\0162" + + "7.google.cloud.datafusion.v1.Accelerator" + + ".AcceleratorType\022<\n\005state\030\002 \001(\0162-.google" + + ".cloud.datafusion.v1.Accelerator.State\"_" + + "\n\017AcceleratorType\022 \n\034ACCELERATOR_TYPE_UN" + + "SPECIFIED\020\000\022\007\n\003CDC\020\001\022\016\n\nHEALTHCARE\020\002\022\021\n\r" + + "CCAI_INSIGHTS\020\003\"F\n\005State\022\025\n\021STATE_UNSPEC" + + "IFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DISABLED\020\002\022\013\n\007UN" + + "KNOWN\020\003\"(\n\017CryptoKeyConfig\022\025\n\rkey_refere" + + "nce\030\001 \001(\t\"\204\014\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A" + + "\003\022\023\n\013description\030\002 \001(\t\022<\n\004type\030\003 \001(\0162).g" + + "oogle.cloud.datafusion.v1.Instance.TypeB" + + "\003\340A\002\022\"\n\032enable_stackdriver_logging\030\004 \001(\010" + + "\022%\n\035enable_stackdriver_monitoring\030\005 \001(\010\022" + + "\030\n\020private_instance\030\006 \001(\010\022A\n\016network_con" + + "fig\030\007 \001(\0132).google.cloud.datafusion.v1.N" + + "etworkConfig\022@\n\006labels\030\010 \003(\01320.google.cl" + + "oud.datafusion.v1.Instance.LabelsEntry\022B" + + "\n\007options\030\t \003(\01321.google.cloud.datafusio" + + "n.v1.Instance.OptionsEntry\0224\n\013create_tim" + + "e\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0224\n\013update_time\030\013 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022>\n\005state\030\014 \001(\0162*.google.c" + + "loud.datafusion.v1.Instance.StateB\003\340A\003\022\032" + + "\n\rstate_message\030\r \001(\tB\003\340A\003\022\035\n\020service_en" + + "dpoint\030\016 \001(\tB\003\340A\003\022\014\n\004zone\030\017 \001(\t\022\017\n\007versi" + + "on\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\022>\n\021available_vers" + + "ion\030\023 \003(\0132#.google.cloud.datafusion.v1.V" + + "ersion\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\014accelerators\030\026 \003(\013" + + "2\'.google.cloud.datafusion.v1.Accelerato" + + "r\022\037\n\022p4_service_account\030\027 \001(\tB\003\340A\003\022\036\n\021te" + + "nant_project_id\030\030 \001(\tB\003\340A\003\022 \n\030dataproc_s" + + "ervice_account\030\031 \001(\t\022\023\n\013enable_rbac\030\033 \001(" + + "\010\022F\n\021crypto_key_config\030\034 \001(\0132+.google.cl" + + "oud.datafusion.v1.CryptoKeyConfig\032-\n\013Lab" + + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + "\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001\"F\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t" + + "\n\005BASIC\020\001\022\016\n\nENTERPRISE\020\002\022\r\n\tDEVELOPER\020\003" + + "\"\246\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CRE" + + "ATING\020\001\022\n\n\006ACTIVE\020\002\022\n\n\006FAILED\020\003\022\014\n\010DELET" + + "ING\020\004\022\r\n\tUPGRADING\020\005\022\016\n\nRESTARTING\020\006\022\014\n\010" + + "UPDATING\020\007\022\021\n\rAUTO_UPDATING\020\010\022\022\n\016AUTO_UP" + + "GRADING\020\t:e\352Ab\n\"datafusion.googleapis.co" + + "m/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,53 +70,59 @@ 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) { throw e.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_; /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -108,30 +131,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; } } /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -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.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; } @@ -204,117 +227,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() @@ -322,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +372,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 @@ -362,7 +393,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; @@ -372,38 +404,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; @@ -411,7 +444,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(); @@ -435,7 +469,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) { @@ -447,19 +482,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; @@ -468,21 +505,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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 { @@ -490,64 +528,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; } + @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); } @@ -557,12 +602,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(); } @@ -571,16 +616,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; @@ -595,6 +640,4 @@ 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/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java index 77ba610d..a69a1fc4 100644 --- a/owl-bot-staging/v1/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 @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface DeleteInstanceRequestOrBuilder extends +public interface DeleteInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.DeleteInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + 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 68% 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 56cb71c8..cd50c3e7 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,53 +70,59 @@ 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) { throw e.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_; /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -108,30 +131,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; } } /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -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.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; } @@ -204,117 +227,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() @@ -322,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +372,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 @@ -362,7 +393,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; @@ -372,38 +404,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; @@ -411,7 +444,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(); @@ -435,7 +469,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) { @@ -447,19 +482,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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; @@ -468,21 +505,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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 { @@ -490,64 +528,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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; } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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; } + @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); } @@ -557,12 +602,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(); } @@ -571,16 +616,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; @@ -595,6 +640,4 @@ 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/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java index c3b377c3..8b0909ce 100644 --- a/owl-bot-staging/v1/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 @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface GetInstanceRequestOrBuilder extends +public interface GetInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.GetInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + 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 72% 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 42044d27..5c657dfa 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_ = ""; @@ -41,16 +59,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) @@ -70,226 +87,257 @@ 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(); - - description_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 32: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - enableStackdriverLogging_ = input.readBool(); - break; - } - case 40: { + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - enableStackdriverMonitoring_ = input.readBool(); - break; - } - case 48: { + description_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - privateInstance_ = input.readBool(); - break; - } - case 58: { - com.google.cloud.datafusion.v1.NetworkConfig.Builder subBuilder = null; - if (networkConfig_ != null) { - subBuilder = networkConfig_.toBuilder(); + type_ = rawValue; + break; } - networkConfig_ = input.readMessage(com.google.cloud.datafusion.v1.NetworkConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(networkConfig_); - networkConfig_ = subBuilder.buildPartial(); + case 32: + { + enableStackdriverLogging_ = input.readBool(); + break; } - - break; - } - case 66: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + case 40: + { + enableStackdriverMonitoring_ = 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 48: + { + privateInstance_ = 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 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; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = 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; } - - 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(); - - 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; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + 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; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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_); @@ -301,34 +349,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.
@@ -336,9 +388,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.
      * 
@@ -347,6 +400,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
@@ -358,6 +413,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
@@ -368,6 +425,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
@@ -382,6 +441,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * No type specified. The instance creation will fail.
      * 
@@ -390,6 +451,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
@@ -401,6 +464,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
@@ -411,6 +476,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
@@ -422,7 +489,6 @@ public enum Type
      */
     public static final int DEVELOPER_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -447,50 +513,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;
@@ -508,15 +575,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
      * 
@@ -525,6 +595,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Instance is being created
      * 
@@ -533,6 +605,8 @@ public enum State */ CREATING(1), /** + * + * *
      * Instance is active and ready for requests. This corresponds to 'RUNNING'
      * in datafusion.v1beta1.
@@ -542,6 +616,8 @@ public enum State
      */
     ACTIVE(2),
     /**
+     *
+     *
      * 
      * Instance creation failed
      * 
@@ -550,6 +626,8 @@ public enum State */ FAILED(3), /** + * + * *
      * Instance is being deleted
      * 
@@ -558,6 +636,8 @@ public enum State */ DELETING(4), /** + * + * *
      * Instance is being upgraded
      * 
@@ -566,6 +646,8 @@ public enum State */ UPGRADING(5), /** + * + * *
      * Instance is being restarted
      * 
@@ -574,6 +656,8 @@ public enum State */ RESTARTING(6), /** + * + * *
      * Instance is being updated on customer request
      * 
@@ -582,6 +666,8 @@ public enum State */ UPDATING(7), /** + * + * *
      * Instance is being auto-updated
      * 
@@ -590,6 +676,8 @@ public enum State */ AUTO_UPDATING(8), /** + * + * *
      * Instance is being auto-upgraded
      * 
@@ -601,6 +689,8 @@ public enum State ; /** + * + * *
      * Instance does not have a state yet
      * 
@@ -609,6 +699,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Instance is being created
      * 
@@ -617,6 +709,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.
@@ -626,6 +720,8 @@ public enum State
      */
     public static final int ACTIVE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Instance creation failed
      * 
@@ -634,6 +730,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * Instance is being deleted
      * 
@@ -642,6 +740,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
      * Instance is being upgraded
      * 
@@ -650,6 +750,8 @@ public enum State */ public static final int UPGRADING_VALUE = 5; /** + * + * *
      * Instance is being restarted
      * 
@@ -658,6 +760,8 @@ public enum State */ public static final int RESTARTING_VALUE = 6; /** + * + * *
      * Instance is being updated on customer request
      * 
@@ -666,6 +770,8 @@ public enum State */ public static final int UPDATING_VALUE = 7; /** + * + * *
      * Instance is being auto-updated
      * 
@@ -674,6 +780,8 @@ public enum State */ public static final int AUTO_UPDATING_VALUE = 8; /** + * + * *
      * Instance is being auto-upgraded
      * 
@@ -682,7 +790,6 @@ public enum State */ public static final int AUTO_UPGRADING_VALUE = 9; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -707,56 +814,63 @@ 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; - 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; + 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; @@ -776,12 +890,15 @@ private State(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]; + * * @return The name. */ @java.lang.Override @@ -790,30 +907,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]; + * * @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 { @@ -824,11 +941,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 @@ -837,29 +957,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 { @@ -870,38 +990,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 @@ -912,11 +1048,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 @@ -927,6 +1066,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
@@ -934,6 +1075,7 @@ public boolean getEnableStackdriverMonitoring() {
    * 
* * bool private_instance = 6; + * * @return The privateInstance. */ @java.lang.Override @@ -944,12 +1086,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 @@ -957,19 +1102,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.
@@ -983,24 +1135,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_;
   }
@@ -1009,6 +1160,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
@@ -1017,22 +1170,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 8;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
     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
@@ -1042,11 +1195,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
@@ -1056,16 +1210,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 java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    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
@@ -1075,12 +1229,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 java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1088,24 +1241,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_;
   }
@@ -1114,6 +1266,8 @@ public int getOptionsCount() {
     return internalGetOptions().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1121,22 +1275,22 @@ public int getOptionsCount() {
    *
    * map<string, string> options = 9;
    */
-
   @java.lang.Override
-  public boolean containsOptions(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
+  public boolean containsOptions(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
     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.
@@ -1145,11 +1299,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.
@@ -1158,16 +1313,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 java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetOptions().getMap();
+  public java.lang.String getOptionsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    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.
@@ -1176,12 +1331,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 java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetOptions().getMap();
+  public java.lang.String getOptionsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetOptions().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1191,11 +1345,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 @@ -1203,11 +1361,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 @@ -1215,11 +1377,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() { @@ -1229,11 +1394,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 @@ -1241,11 +1410,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 @@ -1253,11 +1426,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() { @@ -1267,39 +1443,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 @@ -1308,30 +1500,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 { @@ -1342,11 +1534,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 @@ -1355,29 +1550,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 { @@ -1388,12 +1583,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 @@ -1402,30 +1600,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 { @@ -1436,11 +1634,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 @@ -1449,29 +1650,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 { @@ -1482,44 +1683,53 @@ 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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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 { @@ -1530,11 +1740,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 @@ -1543,29 +1756,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 { @@ -1576,6 +1789,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.
@@ -1588,6 +1803,8 @@ public java.util.List getAvailableVersio
     return availableVersion_;
   }
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1596,11 +1813,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.
@@ -1613,6 +1832,8 @@ public int getAvailableVersionCount() {
     return availableVersion_.size();
   }
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1625,6 +1846,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.
@@ -1633,19 +1856,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 @@ -1654,29 +1879,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 { @@ -1687,12 +1912,15 @@ 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 @@ -1701,30 +1929,30 @@ 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 { @@ -1735,6 +1963,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.
    * 
@@ -1746,6 +1976,8 @@ public java.util.List getAccelerator return accelerators_; } /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1753,11 +1985,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.
    * 
@@ -1769,6 +2003,8 @@ public int getAcceleratorsCount() { return accelerators_.size(); } /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1780,6 +2016,8 @@ public com.google.cloud.datafusion.v1.Accelerator getAccelerators(int index) { return accelerators_.get(index); } /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1787,19 +2025,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 @@ -1808,29 +2048,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 { @@ -1841,11 +2081,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 @@ -1854,29 +2097,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 { @@ -1887,6 +2130,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.
@@ -1895,6 +2140,7 @@ public java.lang.String getTenantProjectId() {
    * 
* * string dataproc_service_account = 25; + * * @return The dataprocServiceAccount. */ @java.lang.Override @@ -1903,14 +2149,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.
@@ -1919,16 +2166,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 { @@ -1939,11 +2185,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 @@ -1954,12 +2203,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 @@ -1967,19 +2219,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.
@@ -1993,6 +2252,7 @@ public com.google.cloud.datafusion.v1.CryptoKeyConfigOrBuilder getCryptoKeyConfi
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2004,8 +2264,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 (!getNameBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -2027,18 +2286,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());
     }
@@ -2109,56 +2360,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 (!getStateMessageBytes().isEmpty()) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, stateMessage_);
@@ -2179,8 +2423,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 (!getApiEndpointBytes().isEmpty()) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, apiEndpoint_);
@@ -2189,8 +2433,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 (!getP4ServiceAccountBytes().isEmpty()) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, p4ServiceAccount_);
@@ -2202,12 +2445,10 @@ 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());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -2217,76 +2458,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -2306,14 +2522,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();
@@ -2367,8 +2580,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();
@@ -2378,144 +2590,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() @@ -2523,18 +2742,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(); @@ -2618,9 +2837,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 @@ -2639,7 +2858,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_; @@ -2710,38 +2930,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; @@ -2773,10 +2994,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()); } @@ -2828,9 +3047,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_); } @@ -2862,9 +3082,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_); } @@ -2916,23 +3137,26 @@ 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]; + * * @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; @@ -2941,21 +3165,22 @@ 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]; + * * @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 { @@ -2963,57 +3188,64 @@ 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]; + * * @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]; + * * @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]; + * * @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; @@ -3021,18 +3253,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; @@ -3041,20 +3275,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 { @@ -3062,54 +3297,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; @@ -3117,51 +3359,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. */ @@ -3169,33 +3433,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 @@ -3203,42 +3475,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 @@ -3246,37 +3527,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
@@ -3284,6 +3573,7 @@ public Builder clearEnableStackdriverMonitoring() {
      * 
* * bool private_instance = 6; + * * @return The privateInstance. */ @java.lang.Override @@ -3291,6 +3581,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
@@ -3298,16 +3590,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
@@ -3315,10 +3610,11 @@ public Builder setPrivateInstance(boolean value) {
      * 
* * bool private_instance = 6; + * * @return This builder for chaining. */ public Builder clearPrivateInstance() { - + privateInstance_ = false; onChanged(); return this; @@ -3326,36 +3622,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.
@@ -3377,6 +3686,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.
@@ -3396,6 +3707,8 @@ public Builder setNetworkConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3407,7 +3720,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;
         }
@@ -3419,6 +3734,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.
@@ -3438,6 +3755,8 @@ public Builder clearNetworkConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3446,11 +3765,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.
@@ -3462,11 +3783,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.
@@ -3475,35 +3799,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();
@@ -3515,6 +3841,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
@@ -3523,22 +3851,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 8;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       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
@@ -3548,11 +3876,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
@@ -3562,16 +3891,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 java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      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
@@ -3581,12 +3911,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 java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3594,11 +3923,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
@@ -3607,23 +3937,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 8;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      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
@@ -3632,16 +3960,19 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 8;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      if (value == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      if (value == null) {
+        throw new java.lang.NullPointerException();
+      }
+      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
@@ -3650,30 +3981,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();
@@ -3685,6 +4012,8 @@ public int getOptionsCount() {
       return internalGetOptions().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -3692,22 +4021,22 @@ public int getOptionsCount() {
      *
      * map<string, string> options = 9;
      */
-
     @java.lang.Override
-    public boolean containsOptions(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
+    public boolean containsOptions(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       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.
@@ -3716,11 +4045,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.
@@ -3729,16 +4059,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 java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetOptions().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      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.
@@ -3747,12 +4078,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 java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetOptions().getMap();
+    public java.lang.String getOptionsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetOptions().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3760,11 +4090,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.
@@ -3772,23 +4103,21 @@ public Builder clearOptions() {
      *
      * map<string, string> options = 9;
      */
-
-    public Builder removeOptions(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableOptions().getMutableMap()
-          .remove(key);
+    public Builder removeOptions(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      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.
@@ -3796,16 +4125,19 @@ public Builder removeOptions(
      *
      * map<string, string> options = 9;
      */
-    public Builder putOptions(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      if (value == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableOptions().getMutableMap()
-          .put(key, value);
+    public Builder putOptions(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      if (value == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableOptions().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -3813,49 +4145,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) { @@ -3871,14 +4219,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(); @@ -3889,17 +4240,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; } @@ -3911,11 +4266,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) { @@ -3929,48 +4288,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_; @@ -3978,39 +4353,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) { @@ -4026,14 +4420,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(); @@ -4044,17 +4441,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; } @@ -4066,11 +4467,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) { @@ -4084,48 +4489,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_; @@ -4133,51 +4554,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. */ @@ -4185,21 +4628,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; @@ -4207,19 +4655,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; @@ -4228,21 +4678,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 { @@ -4250,57 +4701,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; @@ -4308,18 +4766,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; @@ -4328,20 +4788,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 { @@ -4349,54 +4810,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; @@ -4404,19 +4872,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; @@ -4425,21 +4895,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 { @@ -4447,57 +4918,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; @@ -4505,18 +4983,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; @@ -4525,20 +5005,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 { @@ -4546,54 +5027,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; @@ -4601,19 +5089,24 @@ 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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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; @@ -4622,21 +5115,25 @@ 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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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 { @@ -4644,57 +5141,73 @@ 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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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; @@ -4702,18 +5215,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; @@ -4722,20 +5237,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 { @@ -4743,72 +5259,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.
@@ -4824,6 +5354,8 @@ public java.util.List getAvailableVersio
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4839,6 +5371,8 @@ public int getAvailableVersionCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4854,6 +5388,8 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersion(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4861,8 +5397,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();
@@ -4876,6 +5411,8 @@ public Builder setAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4895,6 +5432,8 @@ public Builder setAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4916,6 +5455,8 @@ public Builder addAvailableVersion(com.google.cloud.datafusion.v1.Version value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4923,8 +5464,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();
@@ -4938,6 +5478,8 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4957,6 +5499,8 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4976,6 +5520,8 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4987,8 +5533,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);
@@ -4996,6 +5541,8 @@ public Builder addAllAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5014,6 +5561,8 @@ public Builder clearAvailableVersion() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5032,6 +5581,8 @@ public Builder removeAvailableVersion(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5039,11 +5590,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.
@@ -5051,14 +5603,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.
@@ -5066,8 +5620,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 {
@@ -5075,6 +5629,8 @@ public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5083,10 +5639,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.
@@ -5094,12 +5652,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.
@@ -5107,16 +5666,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(),
@@ -5128,18 +5693,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; @@ -5148,20 +5715,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 { @@ -5169,54 +5737,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; @@ -5224,19 +5799,21 @@ 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; @@ -5245,21 +5822,22 @@ 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 { @@ -5267,75 +5845,89 @@ 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.
      * 
@@ -5350,6 +5942,8 @@ public java.util.List getAccelerator } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5364,6 +5958,8 @@ public int getAcceleratorsCount() { } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5378,14 +5974,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(); @@ -5399,6 +5996,8 @@ public Builder setAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5417,6 +6016,8 @@ public Builder setAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5437,14 +6038,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(); @@ -5458,6 +6060,8 @@ public Builder addAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5476,6 +6080,8 @@ public Builder addAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5494,6 +6100,8 @@ public Builder addAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5504,8 +6112,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); @@ -5513,6 +6120,8 @@ public Builder addAllAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5530,6 +6139,8 @@ public Builder clearAccelerators() { return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5547,39 +6158,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 { @@ -5587,6 +6203,8 @@ public com.google.cloud.datafusion.v1.AcceleratorOrBuilder getAcceleratorsOrBuil } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5594,42 +6212,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_; @@ -5637,18 +6261,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; @@ -5657,20 +6283,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 { @@ -5678,54 +6305,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; @@ -5733,18 +6367,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; @@ -5753,20 +6389,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 { @@ -5774,54 +6411,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; @@ -5829,6 +6473,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.
@@ -5837,13 +6483,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; @@ -5852,6 +6498,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.
@@ -5860,15 +6508,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 { @@ -5876,6 +6523,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.
@@ -5884,20 +6533,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.
@@ -5906,15 +6557,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.
@@ -5923,28 +6577,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 @@ -5952,30 +6609,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; @@ -5983,36 +6646,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.
@@ -6034,6 +6710,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.
@@ -6053,6 +6731,8 @@ public Builder setCryptoKeyConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6064,7 +6744,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;
         }
@@ -6076,6 +6758,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.
@@ -6095,6 +6779,8 @@ public Builder clearCryptoKeyConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6103,11 +6789,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.
@@ -6119,11 +6807,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.
@@ -6132,21 +6823,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_;
     }
+
     @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);
     }
 
@@ -6156,12 +6850,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();
   }
@@ -6170,16 +6864,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;
@@ -6194,6 +6888,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/InstanceOrBuilder.java b/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java
similarity index 79%
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 b8b5da0b..506c164e 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,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 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]; + * * @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]; + * * @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 +140,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 +184,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 +196,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 +206,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 +221,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
@@ -177,11 +233,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 8;
    */
-
-  java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue);
+  java.lang.String getLabelsOrDefault(java.lang.String key, 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
@@ -190,11 +245,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.
@@ -204,6 +259,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getOptionsCount();
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -211,15 +268,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.
@@ -227,9 +282,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.
@@ -237,11 +293,10 @@ boolean containsOptions(
    *
    * map<string, string> options = 9;
    */
-
-  java.lang.String getOptionsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue);
+  java.lang.String getOptionsOrDefault(java.lang.String key, java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -249,210 +304,278 @@ 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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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.
@@ -460,9 +583,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.
@@ -472,6 +596,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.
@@ -481,6 +607,8 @@ java.lang.String getOptionsOrThrow(
    */
   int getAvailableVersionCount();
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -488,9 +616,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.
@@ -498,61 +628,73 @@ 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.
    * 
@@ -561,6 +703,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.
    * 
@@ -569,65 +713,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.
@@ -636,10 +795,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.
@@ -648,42 +810,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.
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 72%
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 41ece2fc..ba5e4897 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,69 +71,76 @@ 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) { throw e.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]; + * * @return The parent. */ @java.lang.Override @@ -125,30 +149,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]; + * * @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 { @@ -159,11 +183,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 @@ -174,12 +201,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 @@ -188,30 +218,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 { @@ -222,6 +252,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
@@ -229,6 +261,7 @@ public java.lang.String getPageToken() {
    * 
* * bool latest_patch_only = 4; + * * @return The latestPatchOnly. */ @java.lang.Override @@ -237,6 +270,7 @@ public boolean getLatestPatchOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,8 +282,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -275,15 +308,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 (!getPageTokenBytes().isEmpty()) { 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; @@ -293,21 +324,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; } @@ -326,125 +354,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() @@ -452,16 +489,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(); @@ -477,9 +513,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 @@ -498,7 +534,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_; @@ -511,38 +548,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; @@ -550,7 +588,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(); @@ -584,7 +623,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) { @@ -596,19 +636,21 @@ 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]; + * * @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; @@ -617,21 +659,22 @@ 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]; + * * @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 { @@ -639,69 +682,79 @@ 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]; + * * @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]; + * * @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]; + * * @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 @@ -709,30 +762,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; @@ -740,19 +799,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; @@ -761,21 +822,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 { @@ -783,64 +845,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
@@ -848,6 +919,7 @@ public Builder setPageTokenBytes(
      * 
* * bool latest_patch_only = 4; + * * @return The latestPatchOnly. */ @java.lang.Override @@ -855,6 +927,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
@@ -862,16 +936,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
@@ -879,17 +956,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); } @@ -899,12 +977,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(); } @@ -913,16 +991,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; @@ -937,6 +1015,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 69% 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 ab11aa51..d312385c 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,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 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]; + * * @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]; + * * @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 +100,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 3c88ffec..fdb7e4c1 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,35 +72,38 @@ 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) { throw e.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_); @@ -92,22 +112,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.
    * 
@@ -119,6 +144,8 @@ public java.util.List getAvailableVersio return availableVersions_; } /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -126,11 +153,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.
    * 
@@ -142,6 +171,8 @@ public int getAvailableVersionsCount() { return availableVersions_.size(); } /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -153,6 +184,8 @@ public com.google.cloud.datafusion.v1.Version getAvailableVersions(int index) { return availableVersions_.get(index); } /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -160,20 +193,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 @@ -182,30 +217,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 { @@ -214,6 +249,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,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 { for (int i = 0; i < availableVersions_.size(); i++) { output.writeMessage(1, availableVersions_.get(i)); } @@ -243,8 +278,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +292,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -291,117 +325,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() @@ -409,17 +453,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(); @@ -435,13 +479,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(); } @@ -456,7 +501,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)) { @@ -476,38 +522,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; @@ -515,7 +562,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()) { @@ -534,9 +583,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_); } @@ -565,7 +615,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) { @@ -574,21 +625,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.
      * 
@@ -603,6 +662,8 @@ public java.util.List getAvailableVersio } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -617,6 +678,8 @@ public int getAvailableVersionsCount() { } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -631,14 +694,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(); @@ -652,6 +716,8 @@ public Builder setAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -670,6 +736,8 @@ public Builder setAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -690,14 +758,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(); @@ -711,6 +780,8 @@ public Builder addAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -729,6 +800,8 @@ public Builder addAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -747,6 +820,8 @@ public Builder addAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -757,8 +832,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); @@ -766,6 +840,8 @@ public Builder addAllAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -783,6 +859,8 @@ public Builder clearAvailableVersions() { return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -800,17 +878,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.
      * 
@@ -820,19 +901,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 { @@ -840,6 +924,8 @@ public com.google.cloud.datafusion.v1.VersionOrBuilder getAvailableVersionsOrBui } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -847,38 +933,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(), @@ -890,19 +985,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; @@ -911,21 +1008,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 { @@ -933,64 +1031,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); } @@ -1000,12 +1105,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(); } @@ -1014,16 +1120,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; @@ -1038,6 +1144,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 72% 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 fcccf039..a994be64 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,70 +73,78 @@ 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) { throw e.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_; /** + * + * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -128,6 +153,7 @@ private ListInstancesRequest(
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -136,14 +162,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; } } /** + * + * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -152,16 +179,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1; + * * @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 { @@ -172,11 +198,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 @@ -187,12 +216,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 @@ -201,30 +233,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 { @@ -235,11 +267,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 @@ -248,29 +283,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 { @@ -281,11 +316,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 @@ -294,29 +332,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 { @@ -325,6 +363,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,8 +375,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -366,8 +404,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 (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -386,23 +423,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; } @@ -430,117 +463,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() @@ -548,16 +590,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(); @@ -575,9 +616,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 @@ -596,7 +637,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_; @@ -610,38 +652,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; @@ -649,7 +692,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(); @@ -688,7 +732,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) { @@ -700,6 +745,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -708,13 +755,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1; + * * @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; @@ -723,6 +770,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -731,15 +780,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1; + * * @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 { @@ -747,6 +795,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -755,20 +805,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1; + * * @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; } /** + * + * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -777,15 +829,18 @@ public Builder setParent(
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -794,28 +849,31 @@ public Builder clearParent() {
      * 
* * string parent = 1; + * * @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 @@ -823,30 +881,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; @@ -854,19 +918,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; @@ -875,21 +941,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 { @@ -897,57 +964,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; @@ -955,18 +1029,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; @@ -975,20 +1051,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 { @@ -996,54 +1073,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; @@ -1051,18 +1135,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; @@ -1071,20 +1157,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 { @@ -1092,61 +1179,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); } @@ -1156,12 +1250,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(); } @@ -1170,16 +1264,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; @@ -1194,6 +1288,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 71% 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 c8a3d974..ef280121 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 { /** + * + * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -16,10 +34,13 @@ public interface ListInstancesRequestOrBuilder extends
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -28,80 +49,98 @@ public interface ListInstancesRequestOrBuilder extends
    * 
* * string parent = 1; + * * @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 a1325638..cb5801a8 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,44 +73,47 @@ 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) { throw e.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_); @@ -105,22 +125,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.
    * 
@@ -132,6 +157,8 @@ public java.util.List getInstancesList( return instances_; } /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -139,11 +166,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.
    * 
@@ -155,6 +184,8 @@ public int getInstancesCount() { return instances_.size(); } /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -166,6 +197,8 @@ public com.google.cloud.datafusion.v1.Instance getInstances(int index) { return instances_.get(index); } /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -173,20 +206,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 @@ -195,30 +230,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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 { @@ -229,34 +264,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. */ @@ -264,20 +307,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; @@ -289,8 +335,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)); } @@ -310,8 +355,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -332,19 +376,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; } @@ -372,117 +414,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() @@ -490,17 +541,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(); @@ -518,9 +569,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 @@ -539,7 +590,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)) { @@ -564,38 +616,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; @@ -603,7 +656,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()) { @@ -622,9 +676,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_); } @@ -663,7 +718,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) { @@ -672,21 +728,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.
      * 
@@ -701,6 +764,8 @@ public java.util.List getInstancesList( } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -715,6 +780,8 @@ public int getInstancesCount() { } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -729,14 +796,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(); @@ -750,6 +818,8 @@ public Builder setInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -768,6 +838,8 @@ public Builder setInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -788,14 +860,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(); @@ -809,14 +882,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()); @@ -827,6 +901,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -845,6 +921,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -855,8 +933,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); @@ -864,6 +941,8 @@ public Builder addAllInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -881,6 +960,8 @@ public Builder clearInstances() { return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -898,39 +979,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 { @@ -938,6 +1024,8 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstancesOrBuilder( } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -945,42 +1033,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_; @@ -988,19 +1082,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; @@ -1009,21 +1105,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 { @@ -1031,98 +1128,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. */ @@ -1130,80 +1244,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() { @@ -1213,28 +1337,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); } @@ -1244,12 +1370,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(); } @@ -1258,16 +1384,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; @@ -1282,6 +1408,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/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 50aadd41..7befa496 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,53 +76,59 @@ 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) {
       throw e.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
@@ -114,6 +137,7 @@ private NetworkConfig(
    * 
* * string network = 1; + * * @return The network. */ @java.lang.Override @@ -122,14 +146,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
@@ -138,16 +163,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 { @@ -158,6 +182,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
@@ -165,6 +191,7 @@ public java.lang.String getNetwork() {
    * 
* * string ip_allocation = 2; + * * @return The ipAllocation. */ @java.lang.Override @@ -173,14 +200,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
@@ -188,16 +216,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 { @@ -206,6 +233,7 @@ public java.lang.String getIpAllocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,8 +245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNetworkBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -248,17 +275,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; } @@ -279,97 +305,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
@@ -381,21 +414,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()
@@ -403,16 +438,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -424,9 +458,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
@@ -445,7 +479,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();
@@ -456,38 +491,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;
@@ -535,6 +571,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
@@ -543,13 +581,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; @@ -558,6 +596,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
@@ -566,15 +606,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 { @@ -582,6 +621,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
@@ -590,20 +631,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
@@ -612,15 +655,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
@@ -629,16 +675,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; @@ -646,6 +692,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
@@ -653,13 +701,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; @@ -668,6 +716,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
@@ -675,15 +725,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 { @@ -691,6 +740,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
@@ -698,20 +749,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
@@ -719,15 +772,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
@@ -735,23 +791,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); } @@ -761,12 +817,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(); } @@ -775,16 +831,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; @@ -799,6 +855,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 98ef8e67..4d1471bb 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,126 +74,142 @@ 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) { throw e.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 @@ -184,11 +217,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 @@ -196,6 +232,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -210,11 +248,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 @@ -222,11 +263,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 @@ -234,6 +278,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -248,11 +294,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 @@ -261,29 +310,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 { @@ -294,11 +343,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 @@ -307,29 +359,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 { @@ -340,11 +392,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 @@ -353,29 +408,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 { @@ -386,6 +441,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
@@ -395,6 +452,7 @@ public java.lang.String getStatusDetail() {
    * 
* * bool requested_cancellation = 6; + * * @return The requestedCancellation. */ @java.lang.Override @@ -405,11 +463,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 @@ -418,29 +479,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 { @@ -449,21 +510,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); @@ -475,6 +537,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
@@ -484,22 +548,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 java.lang.NullPointerException(); }
+  public boolean containsAdditionalStatus(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
     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
@@ -510,11 +574,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
@@ -525,16 +590,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 java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetAdditionalStatus().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    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
@@ -545,12 +611,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 java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetAdditionalStatus().getMap();
+  public java.lang.String getAdditionalStatusOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetAdditionalStatus().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -558,6 +623,7 @@ public java.lang.String getAdditionalStatusOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -569,8 +635,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());
     }
@@ -592,12 +657,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (!getApiVersionBytes().isEmpty()) {
       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);
   }
 
@@ -608,12 +669,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 (!getTargetBytes().isEmpty()) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_);
@@ -625,21 +684,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 (!getApiVersionBytes().isEmpty()) {
       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;
@@ -649,35 +707,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;
   }
@@ -704,8 +755,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()) {
@@ -717,140 +767,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() @@ -858,16 +915,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(); @@ -898,9 +954,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 @@ -919,7 +975,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_; @@ -946,38 +1003,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; @@ -985,7 +1043,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()); } @@ -1011,8 +1070,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; @@ -1041,38 +1099,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.
      * 
@@ -1093,14 +1165,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(); @@ -1111,6 +1184,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -1121,7 +1196,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; } @@ -1133,6 +1208,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -1151,6 +1228,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -1158,11 +1237,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.
      * 
@@ -1173,11 +1254,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.
      * 
@@ -1185,14 +1269,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_; @@ -1200,24 +1287,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() { @@ -1228,6 +1324,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1248,14 +1346,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(); @@ -1266,6 +1365,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1276,7 +1377,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; } @@ -1288,6 +1389,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1306,6 +1409,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1313,11 +1418,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.
      * 
@@ -1328,11 +1435,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.
      * 
@@ -1340,14 +1448,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_; @@ -1355,18 +1466,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; @@ -1375,20 +1488,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 { @@ -1396,54 +1510,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; @@ -1451,18 +1572,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; @@ -1471,20 +1594,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 { @@ -1492,54 +1616,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; @@ -1547,18 +1678,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; @@ -1567,20 +1700,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 { @@ -1588,61 +1722,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
@@ -1668,16 +1814,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
@@ -1687,10 +1836,11 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1698,18 +1848,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; @@ -1718,20 +1870,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 { @@ -1739,75 +1892,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(); @@ -1819,6 +1982,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
@@ -1828,22 +1993,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 java.lang.NullPointerException(); }
+    public boolean containsAdditionalStatus(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       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
@@ -1854,11 +2019,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
@@ -1869,16 +2035,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 java.lang.NullPointerException(); }
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       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
@@ -1889,10 +2057,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 java.lang.NullPointerException(); }
+    public java.lang.String getAdditionalStatusOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       java.util.Map map =
           internalGetAdditionalStatus().getMap();
       if (!map.containsKey(key)) {
@@ -1902,11 +2070,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
@@ -1916,23 +2085,21 @@ public Builder clearAdditionalStatus() {
      *
      * map<string, string> additional_status = 8;
      */
-
-    public Builder removeAdditionalStatus(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableAdditionalStatus().getMutableMap()
-          .remove(key);
+    public Builder removeAdditionalStatus(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      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
@@ -1942,16 +2109,19 @@ 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 java.lang.NullPointerException(); }
-      if (value == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableAdditionalStatus().getMutableMap()
-          .put(key, value);
+    public Builder putAdditionalStatus(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      if (value == null) {
+        throw new java.lang.NullPointerException();
+      }
+      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
@@ -1961,16 +2131,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);
     }
 
@@ -1980,12 +2148,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();
   }
@@ -1994,16 +2162,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;
@@ -2018,6 +2186,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 ba8bef5c..1a418876 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
@@ -131,31 +180,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
@@ -167,6 +224,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
@@ -176,15 +235,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
@@ -194,9 +251,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
@@ -206,11 +264,11 @@ boolean containsAdditionalStatus(
    *
    * map<string, string> additional_status = 8;
    */
-
   java.lang.String getAdditionalStatusOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue);
+      java.lang.String key, 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
@@ -220,7 +278,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 68%
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 4969c068..89481482 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,53 +70,59 @@ 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) { throw e.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_; /** + * + * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -108,30 +131,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; } } /** + * + * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -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.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; } @@ -204,117 +227,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() @@ -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.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 @@ -362,7 +394,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; @@ -372,38 +405,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; @@ -411,7 +445,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(); @@ -435,7 +470,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) { @@ -447,19 +483,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; @@ -468,21 +506,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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 { @@ -490,64 +529,71 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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 Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; } + @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); } @@ -557,12 +603,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(); } @@ -571,16 +617,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; @@ -595,6 +641,4 @@ 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/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java index 838b9357..c1d95c82 100644 --- a/owl-bot-staging/v1/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 @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1/datafusion.proto package com.google.cloud.datafusion.v1; -public interface RestartInstanceRequestOrBuilder extends +public interface RestartInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.RestartInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + 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 73% 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 35be778b..48796de2 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,35 +1,47 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; -/** - * Protobuf type {@code google.cloud.datafusion.v1.UpdateInstanceRequest} - */ -public final class UpdateInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.datafusion.v1.UpdateInstanceRequest} */ +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) @@ -48,67 +60,76 @@ 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) { throw e.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_; /** + * + * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -116,6 +137,7 @@ private UpdateInstanceRequest(
    * 
* * .google.cloud.datafusion.v1.Instance instance = 1; + * * @return Whether the instance field is set. */ @java.lang.Override @@ -123,6 +145,8 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -130,13 +154,18 @@ public boolean hasInstance() {
    * 
* * .google.cloud.datafusion.v1.Instance instance = 1; + * * @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_; } /** + * + * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -153,6 +182,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
@@ -163,6 +194,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 @@ -170,6 +202,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
@@ -180,6 +214,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -187,6 +222,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
@@ -204,6 +241,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,8 +253,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());
     }
@@ -233,12 +270,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;
@@ -248,22 +283,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;
@@ -290,113 +324,118 @@ 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;
   }
-  /**
-   * Protobuf type {@code google.cloud.datafusion.v1.UpdateInstanceRequest}
-   */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  /** Protobuf type {@code google.cloud.datafusion.v1.UpdateInstanceRequest} */
+  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()
@@ -404,16 +443,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();
@@ -433,9 +471,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
@@ -454,7 +492,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 {
@@ -473,38 +512,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;
@@ -512,7 +552,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());
       }
@@ -538,7 +579,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) {
@@ -550,8 +592,13 @@ 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_;
     /**
+     *
+     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -559,12 +606,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.datafusion.v1.Instance instance = 1; + * * @return Whether the instance field is set. */ public boolean hasInstance() { return instanceBuilder_ != null || instance_ != null; } /** + * + * *
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -572,16 +622,21 @@ public boolean hasInstance() {
      * 
* * .google.cloud.datafusion.v1.Instance instance = 1; + * * @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(); } } /** + * + * *
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -604,6 +659,8 @@ public Builder setInstance(com.google.cloud.datafusion.v1.Instance value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -612,8 +669,7 @@ public Builder setInstance(com.google.cloud.datafusion.v1.Instance value) {
      *
      * .google.cloud.datafusion.v1.Instance instance = 1;
      */
-    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();
@@ -624,6 +680,8 @@ public Builder setInstance(
       return this;
     }
     /**
+     *
+     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -636,7 +694,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;
         }
@@ -648,6 +708,8 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1.Instance value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -668,6 +730,8 @@ public Builder clearInstance() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -677,11 +741,13 @@ public Builder clearInstance() {
      * .google.cloud.datafusion.v1.Instance instance = 1;
      */
     public com.google.cloud.datafusion.v1.Instance.Builder getInstanceBuilder() {
-      
+
       onChanged();
       return getInstanceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -694,11 +760,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_;
       }
     }
     /**
+     *
+     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -708,14 +777,17 @@ public com.google.cloud.datafusion.v1.InstanceOrBuilder getInstanceOrBuilder() {
      * .google.cloud.datafusion.v1.Instance instance = 1;
      */
     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_;
@@ -723,8 +795,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
@@ -735,12 +812,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
@@ -751,16 +831,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
@@ -786,6 +871,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
@@ -797,8 +884,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();
@@ -809,6 +895,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
@@ -824,7 +912,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;
         }
@@ -836,6 +924,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
@@ -859,6 +949,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
@@ -871,11 +963,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
@@ -891,11 +985,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
@@ -908,21 +1005,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);
     }
 
@@ -932,12 +1032,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();
   }
@@ -946,16 +1046,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;
@@ -970,6 +1070,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 81%
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 c77f1674..7b7c31d6 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,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 UpdateInstanceRequestOrBuilder extends
+public interface UpdateInstanceRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1.UpdateInstanceRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -15,10 +33,13 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * .google.cloud.datafusion.v1.Instance instance = 1; + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -26,10 +47,13 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * .google.cloud.datafusion.v1.Instance instance = 1; + * * @return The instance. */ com.google.cloud.datafusion.v1.Instance getInstance(); /** + * + * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -41,6 +65,8 @@ public interface UpdateInstanceRequestOrBuilder extends
   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 +77,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 +94,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 73%
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 a2b6b7e4..36cee9fb 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;
@@ -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,40 +73,41 @@ 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;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          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;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.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();
@@ -98,27 +116,33 @@ 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);
   }
 
   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 @@ -127,29 +151,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 { @@ -160,11 +184,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 @@ -175,34 +202,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. */ @@ -210,20 +245,23 @@ 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); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +273,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getVersionNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, versionNumber_); } @@ -259,8 +296,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; @@ -278,19 +314,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -305,8 +338,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(); @@ -316,97 +348,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.
@@ -414,21 +453,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()
@@ -436,16 +477,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();
@@ -459,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_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
@@ -480,7 +520,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_;
@@ -497,38 +538,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;
@@ -582,22 +624,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; @@ -606,20 +651,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 { @@ -627,66 +673,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 @@ -694,71 +750,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. */ @@ -766,80 +838,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() { @@ -849,28 +931,30 @@ 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(); 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); } @@ -880,12 +964,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(); } @@ -894,16 +978,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; @@ -918,6 +1002,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 68% 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 0c98a0f4..7f26416b 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,80 +1,114 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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); } 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 1dfbe7b9..e42225db 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,45 +70,50 @@ 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) { throw e.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.
@@ -99,9 +121,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.
      * 
@@ -110,6 +133,8 @@ public enum AcceleratorType */ ACCELERATOR_TYPE_UNSPECIFIED(0), /** + * + * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -118,6 +143,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.
@@ -130,6 +157,8 @@ public enum AcceleratorType
     ;
 
     /**
+     *
+     *
      * 
      * Default value, if unspecified.
      * 
@@ -138,6 +167,8 @@ public enum AcceleratorType */ public static final int ACCELERATOR_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Change Data Capture accelerator for CDF.
      * 
@@ -146,6 +177,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.
@@ -155,7 +188,6 @@ public enum AcceleratorType
      */
     public static final int HEALTHCARE_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -180,39 +212,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);
     }
 
@@ -221,8 +256,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;
@@ -242,31 +276,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; @@ -278,9 +324,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); @@ -292,9 +340,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; @@ -304,12 +354,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; @@ -330,118 +381,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() @@ -449,16 +509,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(); @@ -468,9 +527,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 @@ -489,7 +548,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; @@ -499,38 +559,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; @@ -538,7 +599,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()); } @@ -573,80 +635,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); } @@ -656,12 +743,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(); } @@ -670,16 +757,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; @@ -694,6 +781,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 68% 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 ce449d1a..90060473 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,65 +70,74 @@ 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) { throw e.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_; /** + * + * *
    * The resource on which DNS peering will be created.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -120,29 +146,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; } } /** + * + * *
    * The resource on which DNS peering will be created.
    * 
* * string parent = 1; + * * @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 { @@ -153,11 +179,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 @@ -165,18 +194,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.
    * 
@@ -189,6 +225,7 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringOrBu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +237,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -221,8 +257,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; @@ -232,19 +267,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; @@ -269,117 +303,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() @@ -387,16 +431,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(); @@ -412,9 +455,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 @@ -433,7 +476,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_; @@ -448,38 +492,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; @@ -487,7 +532,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(); @@ -514,7 +560,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) { @@ -526,18 +573,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The resource on which DNS peering will be created.
      * 
* * string parent = 1; + * * @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; @@ -546,20 +595,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The resource on which DNS peering will be created.
      * 
* * string parent = 1; + * * @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 { @@ -567,54 +617,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The resource on which DNS peering will be created.
      * 
* * string parent = 1; + * * @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; } /** + * + * *
      * The resource on which DNS peering will be created.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The resource on which DNS peering will be created.
      * 
* * string parent = 1; + * * @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; @@ -622,34 +679,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.
      * 
@@ -670,6 +740,8 @@ public Builder setDnsPeering(com.google.cloud.datafusion.v1beta1.DnsPeering valu return this; } /** + * + * *
      * Dns peering config.
      * 
@@ -688,6 +760,8 @@ public Builder setDnsPeering( return this; } /** + * + * *
      * Dns peering config.
      * 
@@ -698,7 +772,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; } @@ -710,6 +786,8 @@ public Builder mergeDnsPeering(com.google.cloud.datafusion.v1beta1.DnsPeering va return this; } /** + * + * *
      * Dns peering config.
      * 
@@ -728,6 +806,8 @@ public Builder clearDnsPeering() { return this; } /** + * + * *
      * Dns peering config.
      * 
@@ -735,11 +815,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.
      * 
@@ -750,11 +832,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.
      * 
@@ -762,21 +847,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); } @@ -786,12 +874,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(); } @@ -800,16 +888,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; @@ -824,6 +912,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 63% 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 ff87698b..96426b71 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,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 AddDnsPeeringRequestOrBuilder extends +public interface AddDnsPeeringRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.AddDnsPeeringRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource on which DNS peering will be created.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The resource on which DNS peering will be created.
    * 
* * string parent = 1; + * * @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 2cf30deb..14004536 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,39 +68,42 @@ 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) { throw e.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; @@ -96,8 +115,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); } @@ -115,12 +133,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; @@ -139,117 +158,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() @@ -257,16 +286,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(); @@ -274,9 +302,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 @@ -295,7 +323,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; } @@ -304,38 +333,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; @@ -343,7 +373,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; @@ -363,7 +394,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) { @@ -372,9 +404,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); } @@ -384,12 +416,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(); } @@ -398,16 +430,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; @@ -422,6 +454,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 69% 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 7a5fa1c9..56d35a24 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,72 +71,82 @@ 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) { throw e.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_; /** + * + * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -128,30 +155,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; } } /** + * + * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; + * * @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 { @@ -162,11 +189,14 @@ public java.lang.String getParent() { public static final int INSTANCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceId_; /** + * + * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; + * * @return The instanceId. */ @java.lang.Override @@ -175,29 +205,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; } } /** + * + * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; + * * @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 { @@ -208,11 +238,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 @@ -220,18 +253,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.
    * 
@@ -244,6 +284,7 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +296,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -282,8 +322,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; @@ -293,21 +332,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; @@ -334,117 +371,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() @@ -452,16 +499,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 +525,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 @@ -500,7 +546,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) { @@ -516,38 +563,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; @@ -555,7 +603,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(); @@ -586,7 +635,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) { @@ -598,19 +648,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; + * * @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,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; + * * @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,57 +694,64 @@ public java.lang.String getParent() { } } /** + * + * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; + * * @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; } /** + * + * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The instance's project and location in the format
      * projects/{project}/locations/{location}.
      * 
* * string parent = 1; + * * @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; @@ -699,18 +759,20 @@ public Builder setParentBytes( private java.lang.Object instanceId_ = ""; /** + * + * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; + * * @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; @@ -719,20 +781,21 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; + * * @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 { @@ -740,54 +803,61 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; + * * @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; } /** + * + * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; + * * @return This builder for chaining. */ public Builder clearInstanceId() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** + * + * *
      * The name of the instance to create.
      * 
* * string instance_id = 2; + * * @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; @@ -795,34 +865,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.
      * 
@@ -843,6 +926,8 @@ public Builder setInstance(com.google.cloud.datafusion.v1beta1.Instance value) { return this; } /** + * + * *
      * An instance resource.
      * 
@@ -861,6 +946,8 @@ public Builder setInstance( return this; } /** + * + * *
      * An instance resource.
      * 
@@ -871,7 +958,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; } @@ -883,6 +972,8 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1beta1.Instance value) return this; } /** + * + * *
      * An instance resource.
      * 
@@ -901,6 +992,8 @@ public Builder clearInstance() { return this; } /** + * + * *
      * An instance resource.
      * 
@@ -908,11 +1001,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.
      * 
@@ -923,11 +1018,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.
      * 
@@ -935,21 +1033,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); } @@ -959,12 +1060,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(); } @@ -973,16 +1074,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; @@ -997,6 +1098,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 67% 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 11d3f1b4..39030772 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,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 { /** + * + * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The instance's project and location in the format
    * projects/{project}/locations/{location}.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; + * * @return The instanceId. */ java.lang.String getInstanceId(); /** + * + * *
    * The name of the instance to create.
    * 
* * string instance_id = 2; + * * @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 69% 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 6bba991b..eb07ad28 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,47 +71,52 @@ 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) {
       throw e.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
@@ -102,6 +124,7 @@ private CryptoKeyConfig(
    * 
* * string key_reference = 1; + * * @return The keyReference. */ @java.lang.Override @@ -110,14 +133,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
@@ -125,16 +149,15 @@ public java.lang.String getKeyReference() {
    * 
* * string key_reference = 1; + * * @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 { @@ -143,6 +166,7 @@ public java.lang.String getKeyReference() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +178,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 (!getKeyReferenceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyReference_); } @@ -179,15 +202,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; } @@ -207,96 +230,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.
@@ -304,21 +334,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()
@@ -326,16 +358,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();
@@ -345,9 +376,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
@@ -366,7 +397,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;
@@ -376,38 +408,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;
@@ -415,7 +448,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();
@@ -439,7 +473,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) {
@@ -451,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
@@ -458,13 +495,13 @@ public Builder mergeFrom(
      * 
* * string key_reference = 1; + * * @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; @@ -473,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
@@ -480,15 +519,14 @@ public java.lang.String getKeyReference() {
      * 
* * string key_reference = 1; + * * @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 { @@ -496,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
@@ -503,20 +543,22 @@ public java.lang.String getKeyReference() {
      * 
* * string key_reference = 1; + * * @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
@@ -524,15 +566,18 @@ public Builder setKeyReference(
      * 
* * string key_reference = 1; + * * @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
@@ -540,23 +585,23 @@ public Builder clearKeyReference() {
      * 
* * string key_reference = 1; + * * @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); } @@ -566,12 +611,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(); } @@ -580,16 +625,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; @@ -604,6 +649,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 58% 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 71557d24..6e283508 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; + * * @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; + * * @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 68% 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 e3efbfec..3d40cd97 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,53 +70,59 @@ 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) { throw e.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_; /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -108,30 +131,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; } } /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -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.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; } @@ -204,117 +227,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() @@ -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_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 @@ -362,7 +394,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; @@ -372,38 +405,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; @@ -411,7 +445,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(); @@ -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.DeleteInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +483,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; @@ -468,21 +506,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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 { @@ -490,64 +529,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; } + @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); } @@ -557,12 +603,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(); } @@ -571,16 +617,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; @@ -595,6 +641,4 @@ 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/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java index efbc253a..d856251f 100644 --- a/owl-bot-staging/v1beta1/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 @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface DeleteInstanceRequestOrBuilder extends +public interface DeleteInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.DeleteInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + 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 9356178c..32decc1d 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,76 +75,86 @@ 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) {
       throw e.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 @@ -136,29 +163,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 { @@ -169,11 +196,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 @@ -182,29 +212,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 { @@ -215,11 +245,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 @@ -228,29 +261,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 { @@ -261,11 +294,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 @@ -274,29 +310,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 { @@ -307,11 +343,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 @@ -320,29 +359,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 { @@ -351,6 +390,7 @@ public java.lang.String getTargetNetwork() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -362,8 +402,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 (!getZoneBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zone_); } @@ -411,23 +450,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; } @@ -454,97 +489,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.
@@ -552,21 +594,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()
@@ -574,16 +618,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();
@@ -601,9 +644,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
@@ -622,7 +665,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_;
@@ -636,38 +680,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;
@@ -727,18 +772,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; @@ -747,20 +794,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 { @@ -768,54 +816,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; @@ -823,18 +878,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; @@ -843,20 +900,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 { @@ -864,54 +922,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; @@ -919,18 +984,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; @@ -939,20 +1006,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 { @@ -960,54 +1028,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; @@ -1015,18 +1090,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; @@ -1035,20 +1112,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 { @@ -1056,54 +1134,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; @@ -1111,18 +1196,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; @@ -1131,20 +1218,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 { @@ -1152,61 +1240,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); } @@ -1216,12 +1311,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(); } @@ -1230,16 +1325,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; @@ -1254,6 +1349,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 68% 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 04abfd09..50b43809 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,53 +70,59 @@ 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) { throw e.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_; /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -108,30 +131,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; } } /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -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.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; } @@ -204,117 +227,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() @@ -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_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 @@ -362,7 +394,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; @@ -372,38 +405,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; @@ -411,7 +445,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(); @@ -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.GetInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.GetInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +483,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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; @@ -468,21 +506,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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 { @@ -490,64 +529,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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; } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The instance resource name in the format
      * projects/{project}/locations/{location}/instances/{instance}.
      * 
* * 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; } + @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); } @@ -557,12 +603,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(); } @@ -571,16 +617,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; @@ -595,6 +641,4 @@ 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/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java index 0ca16ef7..5ae56ccf 100644 --- a/owl-bot-staging/v1beta1/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 @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface GetInstanceRequestOrBuilder extends +public interface GetInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.GetInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The instance resource name in the format
    * projects/{project}/locations/{location}/instances/{instance}.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + 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 71% 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 f5b9e0db..2194570d 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,73 +69,80 @@ 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) {
       throw e.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 @@ -127,12 +150,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 @@ -140,6 +166,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.
@@ -155,11 +183,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 @@ -167,11 +198,14 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * Status of iam policy fetching.
    * 
* * .google.rpc.Status status = 2; + * * @return The status. */ @java.lang.Override @@ -179,6 +213,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
    * Status of iam policy fetching.
    * 
@@ -191,6 +227,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { } 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 (policy_ != null) { output.writeMessage(1, getPolicy()); } @@ -220,12 +256,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; @@ -235,22 +269,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; @@ -276,97 +309,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.
@@ -374,21 +414,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()
@@ -396,16 +438,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();
@@ -425,9 +466,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
@@ -446,7 +487,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 {
@@ -465,38 +507,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;
@@ -542,26 +585,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() { @@ -572,6 +624,8 @@ public com.google.iam.v1.Policy getPolicy() { } } /** + * + * *
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -593,6 +647,8 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -600,8 +656,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();
@@ -612,6 +667,8 @@ public Builder setPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -622,8 +679,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;
         }
@@ -635,6 +691,8 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -654,6 +712,8 @@ public Builder clearPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Policy definition if IAM policy fetching is successful,
      * otherwise empty.
@@ -662,11 +722,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.
@@ -678,11 +740,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.
@@ -691,14 +754,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_;
@@ -706,24 +771,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() { @@ -734,6 +806,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
      * Status of iam policy fetching.
      * 
@@ -754,14 +828,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(); @@ -772,6 +847,8 @@ public Builder setStatus( return this; } /** + * + * *
      * Status of iam policy fetching.
      * 
@@ -781,8 +858,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; } @@ -794,6 +870,8 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Status of iam policy fetching.
      * 
@@ -812,6 +890,8 @@ public Builder clearStatus() { return this; } /** + * + * *
      * Status of iam policy fetching.
      * 
@@ -819,11 +899,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.
      * 
@@ -834,11 +916,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.
      * 
@@ -846,21 +929,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); } @@ -870,12 +953,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(); } @@ -884,16 +967,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; @@ -908,6 +991,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 72% 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 eb4455f8..a029bb07 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_ = ""; @@ -41,16 +59,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) @@ -70,226 +87,259 @@ 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(); - - description_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 32: { - - enableStackdriverLogging_ = input.readBool(); - break; - } - case 40: { + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - enableStackdriverMonitoring_ = input.readBool(); - break; - } - case 48: { + description_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - privateInstance_ = input.readBool(); - break; - } - case 58: { - com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder subBuilder = null; - if (networkConfig_ != null) { - subBuilder = networkConfig_.toBuilder(); + type_ = rawValue; + break; } - networkConfig_ = input.readMessage(com.google.cloud.datafusion.v1beta1.NetworkConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(networkConfig_); - networkConfig_ = subBuilder.buildPartial(); + case 32: + { + enableStackdriverLogging_ = input.readBool(); + break; } - - break; - } - case 66: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + case 40: + { + enableStackdriverMonitoring_ = 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 48: + { + privateInstance_ = 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 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; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = 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; } - - 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(); - - 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; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + 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; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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_); @@ -301,34 +351,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.
@@ -336,9 +390,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.
      * 
@@ -347,6 +402,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
@@ -358,6 +415,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,
@@ -368,6 +427,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
@@ -382,6 +443,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * No type specified. The instance creation will fail.
      * 
@@ -390,6 +453,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
@@ -401,6 +466,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,
@@ -411,6 +478,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
@@ -422,7 +491,6 @@ public enum Type
      */
     public static final int DEVELOPER_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -447,50 +515,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;
@@ -508,15 +577,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
      * 
@@ -525,6 +597,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Instance is being created
      * 
@@ -533,6 +607,8 @@ public enum State */ CREATING(1), /** + * + * *
      * Instance is running and ready for requests
      * 
@@ -541,6 +617,8 @@ public enum State */ RUNNING(2), /** + * + * *
      * Instance creation failed
      * 
@@ -549,6 +627,8 @@ public enum State */ FAILED(3), /** + * + * *
      * Instance is being deleted
      * 
@@ -557,6 +637,8 @@ public enum State */ DELETING(4), /** + * + * *
      * Instance is being upgraded
      * 
@@ -565,6 +647,8 @@ public enum State */ UPGRADING(5), /** + * + * *
      * Instance is being restarted
      * 
@@ -573,6 +657,8 @@ public enum State */ RESTARTING(6), /** + * + * *
      * Instance is being updated on customer request
      * 
@@ -581,6 +667,8 @@ public enum State */ UPDATING(7), /** + * + * *
      * Instance is being auto-updated
      * 
@@ -589,6 +677,8 @@ public enum State */ AUTO_UPDATING(8), /** + * + * *
      * Instance is being auto-upgraded
      * 
@@ -600,6 +690,8 @@ public enum State ; /** + * + * *
      * Instance does not have a state yet
      * 
@@ -608,6 +700,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Instance is being created
      * 
@@ -616,6 +710,8 @@ public enum State */ public static final int CREATING_VALUE = 1; /** + * + * *
      * Instance is running and ready for requests
      * 
@@ -624,6 +720,8 @@ public enum State */ public static final int RUNNING_VALUE = 2; /** + * + * *
      * Instance creation failed
      * 
@@ -632,6 +730,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * Instance is being deleted
      * 
@@ -640,6 +740,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
      * Instance is being upgraded
      * 
@@ -648,6 +750,8 @@ public enum State */ public static final int UPGRADING_VALUE = 5; /** + * + * *
      * Instance is being restarted
      * 
@@ -656,6 +760,8 @@ public enum State */ public static final int RESTARTING_VALUE = 6; /** + * + * *
      * Instance is being updated on customer request
      * 
@@ -664,6 +770,8 @@ public enum State */ public static final int UPDATING_VALUE = 7; /** + * + * *
      * Instance is being auto-updated
      * 
@@ -672,6 +780,8 @@ public enum State */ public static final int AUTO_UPDATING_VALUE = 8; /** + * + * *
      * Instance is being auto-upgraded
      * 
@@ -680,7 +790,6 @@ public enum State */ public static final int AUTO_UPGRADING_VALUE = 9; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -705,56 +814,63 @@ 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; - 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; + 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; @@ -774,12 +890,15 @@ private State(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]; + * * @return The name. */ @java.lang.Override @@ -788,30 +907,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]; + * * @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 { @@ -822,11 +941,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 @@ -835,29 +957,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 { @@ -868,38 +990,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 @@ -910,11 +1048,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 @@ -925,6 +1066,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
@@ -932,6 +1075,7 @@ public boolean getEnableStackdriverMonitoring() {
    * 
* * bool private_instance = 6; + * * @return The privateInstance. */ @java.lang.Override @@ -942,12 +1086,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 @@ -955,19 +1102,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.
@@ -981,24 +1135,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_;
   }
@@ -1007,6 +1160,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
@@ -1015,22 +1170,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 8;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
     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
@@ -1040,11 +1195,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
@@ -1054,16 +1210,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 java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    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
@@ -1073,12 +1229,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 java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1086,24 +1241,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_;
   }
@@ -1112,6 +1266,8 @@ public int getOptionsCount() {
     return internalGetOptions().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -1119,22 +1275,22 @@ public int getOptionsCount() {
    *
    * map<string, string> options = 9;
    */
-
   @java.lang.Override
-  public boolean containsOptions(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
+  public boolean containsOptions(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
     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.
@@ -1143,11 +1299,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.
@@ -1156,16 +1313,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 java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetOptions().getMap();
+  public java.lang.String getOptionsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    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.
@@ -1174,12 +1331,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 java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetOptions().getMap();
+  public java.lang.String getOptionsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetOptions().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1189,11 +1345,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 @@ -1201,11 +1361,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 @@ -1213,11 +1377,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() { @@ -1227,11 +1394,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 @@ -1239,11 +1410,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 @@ -1251,11 +1426,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() { @@ -1265,39 +1443,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 @@ -1306,30 +1502,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 { @@ -1340,11 +1536,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 @@ -1353,29 +1552,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 { @@ -1386,12 +1585,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 @@ -1400,30 +1602,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 { @@ -1434,11 +1636,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 @@ -1447,29 +1652,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 { @@ -1480,44 +1685,53 @@ 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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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 { @@ -1528,11 +1742,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 @@ -1541,29 +1758,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 { @@ -1574,6 +1791,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.
@@ -1586,6 +1805,8 @@ public java.util.List getAvailableV
     return availableVersion_;
   }
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1594,11 +1815,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.
@@ -1611,6 +1834,8 @@ public int getAvailableVersionCount() {
     return availableVersion_.size();
   }
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -1623,6 +1848,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.
@@ -1639,11 +1866,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 @@ -1652,29 +1882,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 { @@ -1685,12 +1915,15 @@ 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 @@ -1699,30 +1932,30 @@ 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 { @@ -1733,6 +1966,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.
    * 
@@ -1744,6 +1979,8 @@ public java.util.List getAccele return accelerators_; } /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1751,11 +1988,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.
    * 
@@ -1767,6 +2006,8 @@ public int getAcceleratorsCount() { return accelerators_.size(); } /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1778,6 +2019,8 @@ public com.google.cloud.datafusion.v1beta1.Accelerator getAccelerators(int index return accelerators_.get(index); } /** + * + * *
    * List of accelerators enabled for this CDF instance.
    * 
@@ -1793,11 +2036,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 @@ -1806,29 +2052,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 { @@ -1839,11 +2085,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 @@ -1852,29 +2101,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 { @@ -1885,6 +2134,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.
@@ -1893,6 +2144,7 @@ public java.lang.String getTenantProjectId() {
    * 
* * string dataproc_service_account = 25; + * * @return The dataprocServiceAccount. */ @java.lang.Override @@ -1901,14 +2153,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.
@@ -1917,16 +2170,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 { @@ -1937,11 +2189,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 @@ -1952,12 +2207,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 @@ -1965,19 +2223,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.
@@ -1986,11 +2251,13 @@ 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();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2002,8 +2269,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 (!getNameBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -2025,25 +2291,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 (!getStateMessageBytes().isEmpty()) {
@@ -2107,56 +2366,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 (!getStateMessageBytes().isEmpty()) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, stateMessage_);
@@ -2177,8 +2430,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 (!getApiEndpointBytes().isEmpty()) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, apiEndpoint_);
@@ -2187,8 +2440,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 (!getP4ServiceAccountBytes().isEmpty()) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, p4ServiceAccount_);
@@ -2200,12 +2452,10 @@ 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());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -2215,76 +2465,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -2304,14 +2530,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();
@@ -2365,8 +2588,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();
@@ -2376,144 +2598,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() @@ -2521,18 +2750,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(); @@ -2616,9 +2845,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 @@ -2637,7 +2866,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_; @@ -2708,38 +2938,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; @@ -2771,10 +3002,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()); } @@ -2826,9 +3055,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_); } @@ -2860,9 +3090,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_); } @@ -2914,23 +3145,26 @@ 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]; + * * @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; @@ -2939,21 +3173,22 @@ 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]; + * * @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 { @@ -2961,57 +3196,64 @@ 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]; + * * @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]; + * * @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]; + * * @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; @@ -3019,18 +3261,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; @@ -3039,20 +3283,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 { @@ -3060,54 +3305,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; @@ -3115,51 +3367,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. */ @@ -3167,33 +3443,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 @@ -3201,42 +3485,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 @@ -3244,37 +3537,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
@@ -3282,6 +3583,7 @@ public Builder clearEnableStackdriverMonitoring() {
      * 
* * bool private_instance = 6; + * * @return The privateInstance. */ @java.lang.Override @@ -3289,6 +3591,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
@@ -3296,16 +3600,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
@@ -3313,10 +3620,11 @@ public Builder setPrivateInstance(boolean value) {
      * 
* * bool private_instance = 6; + * * @return This builder for chaining. */ public Builder clearPrivateInstance() { - + privateInstance_ = false; onChanged(); return this; @@ -3324,36 +3632,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.
@@ -3375,6 +3696,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.
@@ -3394,6 +3717,8 @@ public Builder setNetworkConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3405,7 +3730,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;
         }
@@ -3417,6 +3744,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.
@@ -3436,6 +3765,8 @@ public Builder clearNetworkConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Network configuration options. These are required when a private Data
      * Fusion instance is to be created.
@@ -3444,11 +3775,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.
@@ -3460,11 +3793,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.
@@ -3473,35 +3809,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();
@@ -3513,6 +3851,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
@@ -3521,22 +3861,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 8;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       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
@@ -3546,11 +3886,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
@@ -3560,16 +3901,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 java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      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
@@ -3579,12 +3921,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 java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3592,11 +3933,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
@@ -3605,23 +3947,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 8;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      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
@@ -3630,16 +3970,19 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 8;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      if (value == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      if (value == null) {
+        throw new java.lang.NullPointerException();
+      }
+      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
@@ -3648,30 +3991,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();
@@ -3683,6 +4022,8 @@ public int getOptionsCount() {
       return internalGetOptions().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -3690,22 +4031,22 @@ public int getOptionsCount() {
      *
      * map<string, string> options = 9;
      */
-
     @java.lang.Override
-    public boolean containsOptions(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
+    public boolean containsOptions(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       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.
@@ -3714,11 +4055,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.
@@ -3727,16 +4069,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 java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetOptions().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      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.
@@ -3745,12 +4088,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 java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetOptions().getMap();
+    public java.lang.String getOptionsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetOptions().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3758,11 +4100,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.
@@ -3770,23 +4113,21 @@ public Builder clearOptions() {
      *
      * map<string, string> options = 9;
      */
-
-    public Builder removeOptions(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableOptions().getMutableMap()
-          .remove(key);
+    public Builder removeOptions(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      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.
@@ -3794,16 +4135,19 @@ public Builder removeOptions(
      *
      * map<string, string> options = 9;
      */
-    public Builder putOptions(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      if (value == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableOptions().getMutableMap()
-          .put(key, value);
+    public Builder putOptions(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      if (value == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableOptions().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Map of additional options used to configure the behavior of
      * Data Fusion instance.
@@ -3811,49 +4155,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) { @@ -3869,14 +4229,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(); @@ -3887,17 +4250,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; } @@ -3909,11 +4276,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) { @@ -3927,48 +4298,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_; @@ -3976,39 +4363,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) { @@ -4024,14 +4430,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(); @@ -4042,17 +4451,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; } @@ -4064,11 +4477,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) { @@ -4082,48 +4499,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_; @@ -4131,51 +4564,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. */ @@ -4183,21 +4640,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; @@ -4205,19 +4667,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; @@ -4226,21 +4690,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 { @@ -4248,57 +4713,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; @@ -4306,18 +4778,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; @@ -4326,20 +4800,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 { @@ -4347,54 +4822,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; @@ -4402,19 +4884,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; @@ -4423,21 +4907,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 { @@ -4445,57 +4930,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; @@ -4503,18 +4995,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; @@ -4523,20 +5017,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 { @@ -4544,54 +5039,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; @@ -4599,19 +5101,24 @@ 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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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; @@ -4620,21 +5127,25 @@ 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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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 { @@ -4642,57 +5153,73 @@ 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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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; @@ -4700,18 +5227,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; @@ -4720,20 +5249,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 { @@ -4741,72 +5271,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.
@@ -4822,6 +5366,8 @@ public java.util.List getAvailableV
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4837,6 +5383,8 @@ public int getAvailableVersionCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4852,6 +5400,8 @@ public com.google.cloud.datafusion.v1beta1.Version getAvailableVersion(int index
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4874,6 +5424,8 @@ public Builder setAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4893,6 +5445,8 @@ public Builder setAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4914,6 +5468,8 @@ public Builder addAvailableVersion(com.google.cloud.datafusion.v1beta1.Version v
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4936,6 +5492,8 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4955,6 +5513,8 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4974,6 +5534,8 @@ public Builder addAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -4985,8 +5547,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);
@@ -4994,6 +5555,8 @@ public Builder addAllAvailableVersion(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5012,6 +5575,8 @@ public Builder clearAvailableVersion() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5030,6 +5595,8 @@ public Builder removeAvailableVersion(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5042,6 +5609,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.
@@ -5052,11 +5621,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.
@@ -5064,8 +5636,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 {
@@ -5073,6 +5645,8 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersionO
       }
     }
     /**
+     *
+     *
      * 
      * Available versions that the instance can be upgraded to using
      * UpdateInstanceRequest.
@@ -5081,10 +5655,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.
@@ -5094,10 +5670,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.
@@ -5105,16 +5683,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(),
@@ -5126,18 +5710,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; @@ -5146,20 +5732,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 { @@ -5167,54 +5754,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; @@ -5222,19 +5816,21 @@ 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; @@ -5243,21 +5839,22 @@ 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 { @@ -5265,75 +5862,89 @@ 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.
      * 
@@ -5348,6 +5959,8 @@ public java.util.List getAccele } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5362,6 +5975,8 @@ public int getAcceleratorsCount() { } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5376,6 +5991,8 @@ public com.google.cloud.datafusion.v1beta1.Accelerator getAccelerators(int index } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5397,6 +6014,8 @@ public Builder setAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5415,6 +6034,8 @@ public Builder setAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5435,6 +6056,8 @@ public Builder addAccelerators(com.google.cloud.datafusion.v1beta1.Accelerator v return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5456,6 +6079,8 @@ public Builder addAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5474,6 +6099,8 @@ public Builder addAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5492,6 +6119,8 @@ public Builder addAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5502,8 +6131,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); @@ -5511,6 +6139,8 @@ public Builder addAllAccelerators( return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5528,6 +6158,8 @@ public Builder clearAccelerators() { return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5545,6 +6177,8 @@ public Builder removeAccelerators(int index) { return this; } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5556,6 +6190,8 @@ public com.google.cloud.datafusion.v1beta1.Accelerator.Builder getAcceleratorsBu return getAcceleratorsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5565,19 +6201,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 { @@ -5585,6 +6224,8 @@ public com.google.cloud.datafusion.v1beta1.AcceleratorOrBuilder getAcceleratorsO } } /** + * + * *
      * List of accelerators enabled for this CDF instance.
      * 
@@ -5592,10 +6233,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.
      * 
@@ -5604,30 +6247,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_; @@ -5635,18 +6283,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; @@ -5655,20 +6305,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 { @@ -5676,54 +6327,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; @@ -5731,18 +6389,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; @@ -5751,20 +6411,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 { @@ -5772,54 +6433,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; @@ -5827,6 +6495,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.
@@ -5835,13 +6505,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; @@ -5850,6 +6520,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.
@@ -5858,15 +6530,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 { @@ -5874,6 +6545,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.
@@ -5882,20 +6555,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.
@@ -5904,15 +6579,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.
@@ -5921,28 +6599,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 @@ -5950,30 +6631,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; @@ -5981,36 +6668,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.
@@ -6032,6 +6732,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.
@@ -6051,6 +6753,8 @@ public Builder setCryptoKeyConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6062,7 +6766,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;
         }
@@ -6074,6 +6780,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.
@@ -6093,6 +6801,8 @@ public Builder clearCryptoKeyConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The crypto key configuration. This field is used by the Customer-Managed
      * Encryption Keys (CMEK) feature.
@@ -6101,11 +6811,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.
@@ -6113,15 +6825,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.
@@ -6130,21 +6846,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_;
     }
+
     @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);
     }
 
@@ -6154,12 +6873,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();
   }
@@ -6168,16 +6887,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;
@@ -6192,6 +6911,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 79%
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 532b67f0..c21ad659 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,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 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]; + * * @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]; + * * @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 +140,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 +184,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 +196,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 +206,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 +221,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
@@ -177,11 +233,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 8;
    */
-
-  java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue);
+  java.lang.String getLabelsOrDefault(java.lang.String key, 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
@@ -190,11 +245,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.
@@ -204,6 +259,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getOptionsCount();
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -211,15 +268,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.
@@ -227,9 +282,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.
@@ -237,11 +293,10 @@ boolean containsOptions(
    *
    * map<string, string> options = 9;
    */
-
-  java.lang.String getOptionsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue);
+  java.lang.String getOptionsOrDefault(java.lang.String key, java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Map of additional options used to configure the behavior of
    * Data Fusion instance.
@@ -249,210 +304,278 @@ 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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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]; + * + * string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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.
@@ -460,9 +583,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.
@@ -472,6 +596,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.
@@ -481,6 +607,8 @@ java.lang.String getOptionsOrThrow(
    */
   int getAvailableVersionCount();
   /**
+   *
+   *
    * 
    * Available versions that the instance can be upgraded to using
    * UpdateInstanceRequest.
@@ -488,9 +616,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.
@@ -498,61 +628,73 @@ 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.
    * 
@@ -561,6 +703,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.
    * 
@@ -569,65 +713,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.
@@ -636,10 +795,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.
@@ -648,42 +810,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.
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 70%
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 8b98ae6a..9b81dabe 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,69 +71,76 @@ 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) { throw e.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]; + * * @return The parent. */ @java.lang.Override @@ -125,30 +149,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]; + * * @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 { @@ -159,11 +183,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 @@ -174,12 +201,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 @@ -188,30 +218,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 { @@ -222,6 +252,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
@@ -229,6 +261,7 @@ public java.lang.String getPageToken() {
    * 
* * bool latest_patch_only = 4; + * * @return The latestPatchOnly. */ @java.lang.Override @@ -237,6 +270,7 @@ public boolean getLatestPatchOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,8 +282,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -275,15 +308,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 (!getPageTokenBytes().isEmpty()) { 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; @@ -293,21 +324,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; } @@ -326,125 +354,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() @@ -452,16 +489,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(); @@ -477,13 +513,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(); } @@ -498,7 +535,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_; @@ -511,46 +549,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(); @@ -584,7 +626,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) { @@ -596,19 +640,21 @@ 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]; + * * @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; @@ -617,21 +663,22 @@ 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]; + * * @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 { @@ -639,69 +686,79 @@ 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]; + * * @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]; + * * @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]; + * * @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 @@ -709,30 +766,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; @@ -740,19 +803,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; @@ -761,21 +826,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 { @@ -783,64 +849,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
@@ -848,6 +923,7 @@ public Builder setPageTokenBytes(
      * 
* * bool latest_patch_only = 4; + * * @return The latestPatchOnly. */ @java.lang.Override @@ -855,6 +931,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
@@ -862,16 +940,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
@@ -879,17 +960,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); } @@ -899,30 +981,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; @@ -934,9 +1018,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 69% 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 6c38abc3..75c325cb 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,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 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]; + * * @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]; + * * @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 +100,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 5ce103e2..29feab49 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,35 +72,38 @@ 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) { throw e.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_); @@ -92,22 +112,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.
    * 
@@ -119,6 +144,8 @@ public java.util.List getAvailableV return availableVersions_; } /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -126,11 +153,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.
    * 
@@ -142,6 +171,8 @@ public int getAvailableVersionsCount() { return availableVersions_.size(); } /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -153,6 +184,8 @@ public com.google.cloud.datafusion.v1beta1.Version getAvailableVersions(int inde return availableVersions_.get(index); } /** + * + * *
    * Represents a list of versions that are supported.
    * 
@@ -168,12 +201,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 @@ -182,30 +218,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 { @@ -214,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +262,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)); } @@ -243,8 +279,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,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.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; } @@ -291,135 +326,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(); @@ -435,13 +482,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(); } @@ -456,7 +504,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)) { @@ -476,46 +525,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()) { @@ -534,9 +587,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_); } @@ -565,7 +619,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) { @@ -574,21 +630,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.
      * 
@@ -603,6 +668,8 @@ public java.util.List getAvailableV } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -617,6 +684,8 @@ public int getAvailableVersionsCount() { } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -631,6 +700,8 @@ public com.google.cloud.datafusion.v1beta1.Version getAvailableVersions(int inde } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -652,6 +723,8 @@ public Builder setAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -670,6 +743,8 @@ public Builder setAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -690,6 +765,8 @@ public Builder addAvailableVersions(com.google.cloud.datafusion.v1beta1.Version return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -711,6 +788,8 @@ public Builder addAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -729,6 +808,8 @@ public Builder addAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -747,6 +828,8 @@ public Builder addAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -757,8 +840,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); @@ -766,6 +848,8 @@ public Builder addAllAvailableVersions( return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -783,6 +867,8 @@ public Builder clearAvailableVersions() { return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -800,6 +886,8 @@ public Builder removeAvailableVersions(int index) { return this; } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -811,6 +899,8 @@ public com.google.cloud.datafusion.v1beta1.Version.Builder getAvailableVersionsB return getAvailableVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -820,19 +910,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 { @@ -840,6 +933,8 @@ public com.google.cloud.datafusion.v1beta1.VersionOrBuilder getAvailableVersions } } /** + * + * *
      * Represents a list of versions that are supported.
      * 
@@ -847,10 +942,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.
      * 
@@ -859,26 +956,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(), @@ -890,19 +995,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; @@ -911,21 +1018,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 { @@ -933,64 +1041,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); } @@ -1000,30 +1115,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; @@ -1035,9 +1152,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 0385029a..9dc64875 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,63 +71,72 @@ 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) { throw e.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 @@ -119,29 +145,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 { @@ -152,11 +180,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 @@ -167,12 +198,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 @@ -181,30 +215,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 { @@ -213,6 +247,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +259,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -248,8 +282,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 (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -262,19 +295,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; } @@ -298,117 +329,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() @@ -416,16 +457,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(); @@ -439,9 +479,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 @@ -460,7 +500,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_; @@ -472,38 +513,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; @@ -511,7 +553,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(); @@ -542,7 +585,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) { @@ -554,18 +598,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; @@ -574,20 +622,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 { @@ -595,66 +646,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 @@ -662,30 +729,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; @@ -693,19 +766,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; @@ -714,21 +789,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 { @@ -736,64 +812,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); } @@ -803,12 +886,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(); } @@ -817,16 +900,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; @@ -841,6 +924,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 dcf65bdc..2373ba14 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,35 +72,38 @@ 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) { throw e.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_); @@ -92,22 +112,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.
    * 
@@ -119,6 +144,8 @@ public java.util.List getDnsPeer return dnsPeerings_; } /** + * + * *
    * List of dns peering configs.
    * 
@@ -126,11 +153,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.
    * 
@@ -142,6 +171,8 @@ public int getDnsPeeringsCount() { return dnsPeerings_.size(); } /** + * + * *
    * List of dns peering configs.
    * 
@@ -153,6 +184,8 @@ public com.google.cloud.datafusion.v1beta1.DnsPeering getDnsPeerings(int index) return dnsPeerings_.get(index); } /** + * + * *
    * List of dns peering configs.
    * 
@@ -168,12 +201,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 @@ -182,30 +218,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 { @@ -214,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +262,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)); } @@ -243,8 +279,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +292,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -291,117 +325,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() @@ -409,17 +453,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(); @@ -435,9 +479,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 @@ -456,7 +500,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)) { @@ -476,38 +521,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; @@ -515,7 +561,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()) { @@ -534,9 +581,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_); } @@ -565,7 +613,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) { @@ -574,21 +623,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.
      * 
@@ -603,6 +660,8 @@ public java.util.List getDnsPeer } } /** + * + * *
      * List of dns peering configs.
      * 
@@ -617,6 +676,8 @@ public int getDnsPeeringsCount() { } } /** + * + * *
      * List of dns peering configs.
      * 
@@ -631,14 +692,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(); @@ -652,6 +714,8 @@ public Builder setDnsPeerings( return this; } /** + * + * *
      * List of dns peering configs.
      * 
@@ -670,6 +734,8 @@ public Builder setDnsPeerings( return this; } /** + * + * *
      * List of dns peering configs.
      * 
@@ -690,14 +756,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(); @@ -711,6 +778,8 @@ public Builder addDnsPeerings( return this; } /** + * + * *
      * List of dns peering configs.
      * 
@@ -729,6 +798,8 @@ public Builder addDnsPeerings( return this; } /** + * + * *
      * List of dns peering configs.
      * 
@@ -747,6 +818,8 @@ public Builder addDnsPeerings( return this; } /** + * + * *
      * List of dns peering configs.
      * 
@@ -757,8 +830,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); @@ -766,6 +838,8 @@ public Builder addAllDnsPeerings( return this; } /** + * + * *
      * List of dns peering configs.
      * 
@@ -783,6 +857,8 @@ public Builder clearDnsPeerings() { return this; } /** + * + * *
      * List of dns peering configs.
      * 
@@ -800,17 +876,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.
      * 
@@ -820,19 +899,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 { @@ -840,6 +922,8 @@ public com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder getDnsPeeringsOrB } } /** + * + * *
      * List of dns peering configs.
      * 
@@ -847,42 +931,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_; @@ -890,19 +980,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; @@ -911,21 +1003,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 { @@ -933,64 +1026,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); } @@ -1000,12 +1100,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(); } @@ -1014,16 +1114,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; @@ -1038,6 +1138,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 72% 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 0751b412..2cd47d4b 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,70 +73,78 @@ 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) { throw e.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_; /** + * + * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -128,6 +153,7 @@ private ListInstancesRequest(
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -136,14 +162,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; } } /** + * + * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -152,16 +179,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1; + * * @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 { @@ -172,11 +198,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 @@ -187,12 +216,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 @@ -201,30 +233,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 { @@ -235,11 +267,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 @@ -248,29 +283,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 { @@ -281,11 +316,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 @@ -294,29 +332,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 { @@ -325,6 +363,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,8 +375,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -366,8 +404,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 (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -386,23 +423,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; } @@ -430,117 +463,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() @@ -548,16 +591,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(); @@ -575,9 +617,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 @@ -596,7 +638,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_; @@ -610,38 +653,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; @@ -649,7 +693,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(); @@ -688,7 +733,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) { @@ -700,6 +746,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -708,13 +756,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1; + * * @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; @@ -723,6 +771,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -731,15 +781,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1; + * * @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 { @@ -747,6 +796,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -755,20 +806,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1; + * * @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; } /** + * + * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -777,15 +830,18 @@ public Builder setParent(
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The project and location for which to retrieve instance information
      * in the format projects/{project}/locations/{location}. If the location is
@@ -794,28 +850,31 @@ public Builder clearParent() {
      * 
* * string parent = 1; + * * @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 @@ -823,30 +882,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; @@ -854,19 +919,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; @@ -875,21 +942,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 { @@ -897,57 +965,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; @@ -955,18 +1030,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; @@ -975,20 +1052,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 { @@ -996,54 +1074,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; @@ -1051,18 +1136,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; @@ -1071,20 +1158,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 { @@ -1092,61 +1180,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); } @@ -1156,12 +1251,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(); } @@ -1170,16 +1265,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; @@ -1194,6 +1289,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 71% 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 3ad573cf..92f11c7e 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 { /** + * + * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -16,10 +34,13 @@ public interface ListInstancesRequestOrBuilder extends
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The project and location for which to retrieve instance information
    * in the format projects/{project}/locations/{location}. If the location is
@@ -28,80 +49,98 @@ public interface ListInstancesRequestOrBuilder extends
    * 
* * string parent = 1; + * * @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 73% 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 4107c898..7cac37b5 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,44 +73,48 @@ 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) { throw e.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_); @@ -105,22 +126,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.
    * 
@@ -132,6 +158,8 @@ public java.util.List getInstances return instances_; } /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -139,11 +167,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.
    * 
@@ -155,6 +185,8 @@ public int getInstancesCount() { return instances_.size(); } /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -166,6 +198,8 @@ public com.google.cloud.datafusion.v1beta1.Instance getInstances(int index) { return instances_.get(index); } /** + * + * *
    * Represents a list of Data Fusion instances.
    * 
@@ -173,20 +207,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 @@ -195,30 +231,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 { @@ -229,34 +265,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. */ @@ -264,20 +308,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; @@ -289,8 +336,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)); } @@ -310,8 +356,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -332,19 +377,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; } @@ -372,117 +415,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() @@ -490,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(); @@ -518,9 +571,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 @@ -539,7 +592,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)) { @@ -564,38 +618,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; @@ -603,7 +658,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()) { @@ -622,9 +678,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_); } @@ -663,7 +720,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) { @@ -672,21 +730,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.
      * 
@@ -701,6 +767,8 @@ public java.util.List getInstances } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -715,6 +783,8 @@ public int getInstancesCount() { } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -729,14 +799,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(); @@ -750,6 +821,8 @@ public Builder setInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -768,6 +841,8 @@ public Builder setInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -788,14 +863,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(); @@ -809,6 +885,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -827,6 +905,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -845,6 +925,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -855,8 +937,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); @@ -864,6 +945,8 @@ public Builder addAllInstances( return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -881,6 +964,8 @@ public Builder clearInstances() { return this; } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -898,39 +983,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 { @@ -938,6 +1028,8 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstancesOrBuild } } /** + * + * *
      * Represents a list of Data Fusion instances.
      * 
@@ -945,42 +1037,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_; @@ -988,19 +1086,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; @@ -1009,21 +1109,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 { @@ -1031,98 +1132,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. */ @@ -1130,80 +1248,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() { @@ -1213,28 +1341,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); } @@ -1244,12 +1374,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(); } @@ -1258,16 +1388,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; @@ -1282,6 +1412,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 bdec47b2..bf0836c2 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,69 +72,79 @@ 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) { throw e.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 @@ -126,29 +153,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 { @@ -159,11 +188,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 @@ -174,12 +206,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 @@ -188,30 +223,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 { @@ -222,6 +257,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
@@ -230,12 +267,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
@@ -244,15 +285,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; @@ -264,8 +309,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -275,7 +319,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!getPageTokenBytes().isEmpty()) { 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); @@ -291,15 +337,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 (!getPageTokenBytes().isEmpty()) { 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; @@ -309,19 +355,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; @@ -348,117 +392,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() @@ -466,16 +520,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(); @@ -491,9 +544,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 @@ -512,7 +565,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_; @@ -525,38 +579,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; @@ -564,7 +619,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(); @@ -598,7 +654,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) { @@ -610,18 +667,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; @@ -630,20 +691,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 { @@ -651,66 +715,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 @@ -718,30 +798,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; @@ -749,19 +835,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; @@ -770,21 +858,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 { @@ -792,57 +881,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; @@ -850,6 +946,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
@@ -858,12 +956,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
@@ -872,16 +974,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
@@ -890,15 +995,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
@@ -907,6 +1018,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. */ @@ -914,12 +1026,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
@@ -928,17 +1042,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); } @@ -948,12 +1063,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(); } @@ -962,16 +1077,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; @@ -986,6 +1101,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 b96a12a7..81039d30 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,35 +72,38 @@ 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) { throw e.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_); @@ -92,22 +112,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
    * 
@@ -119,6 +144,8 @@ public java.util.List getNamespac return namespaces_; } /** + * + * *
    * List of namespaces
    * 
@@ -126,11 +153,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
    * 
@@ -142,6 +171,8 @@ public int getNamespacesCount() { return namespaces_.size(); } /** + * + * *
    * List of namespaces
    * 
@@ -153,6 +184,8 @@ public com.google.cloud.datafusion.v1beta1.Namespace getNamespaces(int index) { return namespaces_.get(index); } /** + * + * *
    * List of namespaces
    * 
@@ -160,20 +193,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 @@ -182,30 +217,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 { @@ -214,6 +249,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,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 { for (int i = 0; i < namespaces_.size(); i++) { output.writeMessage(1, namespaces_.get(i)); } @@ -243,8 +278,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +291,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; } @@ -291,117 +324,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() @@ -409,17 +452,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(); @@ -435,9 +478,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 @@ -456,7 +499,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)) { @@ -476,38 +520,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; @@ -515,7 +560,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()) { @@ -534,9 +580,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_); } @@ -565,7 +612,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) { @@ -574,21 +622,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
      * 
@@ -603,6 +659,8 @@ public java.util.List getNamespac } } /** + * + * *
      * List of namespaces
      * 
@@ -617,6 +675,8 @@ public int getNamespacesCount() { } } /** + * + * *
      * List of namespaces
      * 
@@ -631,14 +691,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(); @@ -652,6 +713,8 @@ public Builder setNamespaces( return this; } /** + * + * *
      * List of namespaces
      * 
@@ -670,6 +733,8 @@ public Builder setNamespaces( return this; } /** + * + * *
      * List of namespaces
      * 
@@ -690,14 +755,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(); @@ -711,6 +777,8 @@ public Builder addNamespaces( return this; } /** + * + * *
      * List of namespaces
      * 
@@ -729,6 +797,8 @@ public Builder addNamespaces( return this; } /** + * + * *
      * List of namespaces
      * 
@@ -747,6 +817,8 @@ public Builder addNamespaces( return this; } /** + * + * *
      * List of namespaces
      * 
@@ -757,8 +829,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); @@ -766,6 +837,8 @@ public Builder addAllNamespaces( return this; } /** + * + * *
      * List of namespaces
      * 
@@ -783,6 +856,8 @@ public Builder clearNamespaces() { return this; } /** + * + * *
      * List of namespaces
      * 
@@ -800,17 +875,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
      * 
@@ -820,19 +898,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 { @@ -840,6 +921,8 @@ public com.google.cloud.datafusion.v1beta1.NamespaceOrBuilder getNamespacesOrBui } } /** + * + * *
      * List of namespaces
      * 
@@ -847,42 +930,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_; @@ -890,19 +979,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; @@ -911,21 +1002,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 { @@ -933,64 +1025,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); } @@ -1000,12 +1099,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(); } @@ -1014,16 +1113,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; @@ -1038,6 +1137,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/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 9f551059..80253403 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,65 +70,74 @@ 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) { throw e.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 @@ -120,29 +146,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 { @@ -153,11 +179,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 @@ -165,18 +194,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.
    * 
@@ -189,6 +225,7 @@ public com.google.cloud.datafusion.v1beta1.IAMPolicyOrBuilder getIamPolicyOrBuil } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +237,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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -221,8 +257,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; @@ -232,19 +267,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; @@ -268,118 +302,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() @@ -387,16 +430,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(); @@ -412,9 +454,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 @@ -433,7 +475,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_; @@ -448,38 +491,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; @@ -526,18 +570,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; @@ -546,20 +592,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 { @@ -567,54 +614,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; @@ -622,34 +676,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.
      * 
@@ -670,6 +737,8 @@ public Builder setIamPolicy(com.google.cloud.datafusion.v1beta1.IAMPolicy value) return this; } /** + * + * *
      * IAM policy associated with this namespace.
      * 
@@ -688,6 +757,8 @@ public Builder setIamPolicy( return this; } /** + * + * *
      * IAM policy associated with this namespace.
      * 
@@ -698,7 +769,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; } @@ -710,6 +783,8 @@ public Builder mergeIamPolicy(com.google.cloud.datafusion.v1beta1.IAMPolicy valu return this; } /** + * + * *
      * IAM policy associated with this namespace.
      * 
@@ -728,6 +803,8 @@ public Builder clearIamPolicy() { return this; } /** + * + * *
      * IAM policy associated with this namespace.
      * 
@@ -735,11 +812,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.
      * 
@@ -750,11 +829,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.
      * 
@@ -762,21 +844,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); } @@ -786,12 +871,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(); } @@ -800,16 +885,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; @@ -824,6 +909,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 72% 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 35194a37..1fcd388a 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,53 +76,59 @@ 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) {
       throw e.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
@@ -114,6 +137,7 @@ private NetworkConfig(
    * 
* * string network = 1; + * * @return The network. */ @java.lang.Override @@ -122,14 +146,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
@@ -138,16 +163,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 { @@ -158,6 +182,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
@@ -165,6 +191,7 @@ public java.lang.String getNetwork() {
    * 
* * string ip_allocation = 2; + * * @return The ipAllocation. */ @java.lang.Override @@ -173,14 +200,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
@@ -188,16 +216,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 { @@ -206,6 +233,7 @@ public java.lang.String getIpAllocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,8 +245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNetworkBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -248,17 +275,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; } @@ -280,96 +306,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
@@ -381,21 +414,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()
@@ -403,16 +438,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -424,9 +458,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
@@ -445,7 +479,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();
@@ -456,38 +491,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;
@@ -495,7 +531,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();
@@ -523,7 +560,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) {
@@ -535,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
@@ -543,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; @@ -558,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
@@ -566,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 { @@ -582,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
@@ -590,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
@@ -612,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
@@ -629,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; @@ -646,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 Data
@@ -653,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; @@ -668,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 Data
@@ -675,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 { @@ -691,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 Data
@@ -698,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 Data
@@ -719,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 Data
@@ -735,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); } @@ -761,12 +819,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(); } @@ -775,16 +833,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; @@ -799,6 +857,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 e6cea9dd..f41c8c66 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,101 +73,114 @@ 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) { throw e.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 @@ -158,11 +188,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 @@ -170,6 +203,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -184,11 +219,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 @@ -196,11 +234,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 @@ -208,6 +249,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -222,11 +265,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 @@ -235,29 +281,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 { @@ -268,11 +314,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 @@ -281,29 +330,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 { @@ -314,11 +363,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 @@ -327,29 +379,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 { @@ -360,6 +412,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
@@ -369,6 +423,7 @@ public java.lang.String getStatusDetail() {
    * 
* * bool requested_cancellation = 6; + * * @return The requestedCancellation. */ @java.lang.Override @@ -379,11 +434,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 @@ -392,29 +450,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 { @@ -423,6 +481,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -434,8 +493,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()); } @@ -467,12 +525,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 (!getTargetBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -484,8 +540,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 (!getApiVersionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -498,33 +553,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; } @@ -551,8 +600,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(); @@ -561,117 +609,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() @@ -679,16 +737,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(); @@ -718,9 +775,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 @@ -739,7 +796,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 { @@ -763,38 +821,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; @@ -802,7 +861,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()); } @@ -847,7 +907,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) { @@ -859,34 +920,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.
      * 
@@ -907,14 +981,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(); @@ -925,6 +1000,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -935,7 +1012,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; } @@ -947,6 +1024,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -965,6 +1044,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -972,11 +1053,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.
      * 
@@ -987,11 +1070,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.
      * 
@@ -999,14 +1085,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_; @@ -1014,24 +1103,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() { @@ -1042,6 +1140,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1062,14 +1162,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(); @@ -1080,6 +1181,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1090,7 +1193,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; } @@ -1102,6 +1205,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1120,6 +1225,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1127,11 +1234,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.
      * 
@@ -1142,11 +1251,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.
      * 
@@ -1154,14 +1264,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_; @@ -1169,18 +1282,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; @@ -1189,20 +1304,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 { @@ -1210,54 +1326,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; @@ -1265,18 +1388,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; @@ -1285,20 +1410,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 { @@ -1306,54 +1432,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; @@ -1361,18 +1494,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; @@ -1381,20 +1516,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 { @@ -1402,61 +1538,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
@@ -1482,16 +1630,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
@@ -1501,10 +1652,11 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1512,18 +1664,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; @@ -1532,20 +1686,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 { @@ -1553,61 +1708,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); } @@ -1617,12 +1779,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(); } @@ -1631,16 +1793,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; @@ -1655,6 +1817,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 c8988c3e..a1774713 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
@@ -131,27 +180,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 68% 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 161cb014..9dc61acc 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,58 +71,65 @@ 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) { throw e.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_; /** + * + * *
    * The resource on which DNS peering will be removed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -114,29 +138,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; } } /** + * + * *
    * The resource on which DNS peering will be removed.
    * 
* * string parent = 1; + * * @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 { @@ -147,11 +171,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 @@ -160,29 +187,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 { @@ -191,6 +218,7 @@ public java.lang.String getZone() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +230,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -233,17 +260,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; } @@ -265,117 +291,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() @@ -383,16 +419,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(); @@ -404,9 +439,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 @@ -425,7 +460,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(); @@ -436,38 +472,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; @@ -475,7 +512,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(); @@ -503,7 +541,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) { @@ -515,18 +554,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The resource on which DNS peering will be removed.
      * 
* * string parent = 1; + * * @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; @@ -535,20 +576,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The resource on which DNS peering will be removed.
      * 
* * string parent = 1; + * * @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 { @@ -556,54 +598,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The resource on which DNS peering will be removed.
      * 
* * string parent = 1; + * * @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; } /** + * + * *
      * The resource on which DNS peering will be removed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The resource on which DNS peering will be removed.
      * 
* * string parent = 1; + * * @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; @@ -611,18 +660,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; @@ -631,20 +682,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 { @@ -652,61 +704,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); } @@ -716,12 +775,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(); } @@ -730,16 +789,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; @@ -754,6 +813,4 @@ 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/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java index acdec1b5..c5d5eaef 100644 --- a/owl-bot-staging/v1beta1/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 @@ -1,49 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface RemoveDnsPeeringRequestOrBuilder extends +public interface RemoveDnsPeeringRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource on which DNS peering will be removed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The resource on which DNS peering will be removed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + 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(); + 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 ed3e5d02..69be7362 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,39 +68,42 @@ 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) { throw e.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; @@ -96,8 +115,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); } @@ -115,12 +133,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; @@ -139,117 +158,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() @@ -257,16 +286,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(); @@ -274,13 +302,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(); } @@ -295,7 +324,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; } @@ -304,38 +334,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; @@ -343,7 +374,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; @@ -363,7 +396,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) { @@ -372,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); } @@ -384,12 +418,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(); } @@ -398,16 +433,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; @@ -422,6 +457,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 67% 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 93f3a95e..a3e5583a 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,52 +70,58 @@ 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) { throw e.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_; /** + * + * *
    * The resource on which IAM policy to be removed is attached to.
    * 
* * string resource = 1; + * * @return The resource. */ @java.lang.Override @@ -107,29 +130,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; } } /** + * + * *
    * The resource on which IAM policy to be removed is attached to.
    * 
* * string resource = 1; + * * @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 { @@ -138,6 +161,7 @@ public java.lang.String getResource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +173,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 (!getResourceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } @@ -174,15 +197,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; } @@ -202,117 +225,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() @@ -320,16 +353,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +371,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 @@ -360,7 +392,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; @@ -370,38 +403,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; @@ -409,7 +443,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(); @@ -433,7 +468,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) { @@ -445,18 +481,20 @@ public Builder mergeFrom( private java.lang.Object resource_ = ""; /** + * + * *
      * The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1; + * * @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; @@ -465,20 +503,21 @@ public java.lang.String getResource() { } } /** + * + * *
      * The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1; + * * @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 { @@ -486,61 +525,68 @@ public java.lang.String getResource() { } } /** + * + * *
      * The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1; + * * @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; } /** + * + * *
      * The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1; + * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
      * The resource on which IAM policy to be removed is attached to.
      * 
* * string resource = 1; + * * @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); } @@ -550,12 +596,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(); } @@ -564,16 +610,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; @@ -588,6 +634,4 @@ 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/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java new file mode 100644 index 00000000..ee9ab77b --- /dev/null +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java @@ -0,0 +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 + // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The resource on which IAM policy to be removed is attached to.
+   * 
+ * + * string resource = 1; + * + * @return The resource. + */ + java.lang.String getResource(); + /** + * + * + *
+   * The resource on which IAM policy to be removed is attached to.
+   * 
+ * + * string resource = 1; + * + * @return The bytes for resource. + */ + 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 00688915..fa4a68e2 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,39 +68,42 @@ 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) { throw e.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; @@ -96,8 +115,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); } @@ -115,12 +133,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; @@ -139,117 +158,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() @@ -257,16 +286,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(); @@ -274,9 +302,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 @@ -295,7 +323,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; } @@ -304,38 +333,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; @@ -343,7 +373,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; @@ -363,7 +394,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) { @@ -372,9 +404,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); } @@ -384,12 +416,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(); } @@ -398,16 +430,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; @@ -422,6 +454,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 68% 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 e139e5b3..0fe4de77 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,53 +70,59 @@ 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) { throw e.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_; /** + * + * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -108,30 +131,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; } } /** + * + * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -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.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; } @@ -204,117 +227,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() @@ -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_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 @@ -362,7 +394,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; @@ -372,38 +405,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; @@ -411,7 +445,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(); @@ -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.RestartInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.datafusion.v1beta1.RestartInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +483,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; @@ -468,21 +506,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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 { @@ -490,64 +529,71 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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 Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Name of the Data Fusion instance which need to be restarted in the form of
      * projects/{project}/locations/{location}/instances/{instance}
      * 
* * 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; } + @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); } @@ -557,12 +603,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(); } @@ -571,16 +617,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; @@ -595,6 +641,4 @@ 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/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java index dc5e1ea3..56ad24ca 100644 --- a/owl-bot-staging/v1beta1/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 @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datafusion/v1beta1/v1beta1.proto package com.google.cloud.datafusion.v1beta1; -public interface RestartInstanceRequestOrBuilder extends +public interface RestartInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.RestartInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Name of the Data Fusion instance which need to be restarted in the form of
    * projects/{project}/locations/{location}/instances/{instance}
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + 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 74% 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 4a9bc47c..65865f8d 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,67 +70,76 @@ 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) {
       throw e.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_;
   /**
+   *
+   *
    * 
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -122,6 +147,7 @@ private UpdateInstanceRequest(
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 1; + * * @return Whether the instance field is set. */ @java.lang.Override @@ -129,6 +155,8 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -136,13 +164,18 @@ public boolean hasInstance() {
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 1; + * * @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_; } /** + * + * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -159,6 +192,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
@@ -169,6 +204,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 @@ -176,6 +212,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
@@ -186,6 +224,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -193,6 +232,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
@@ -210,6 +251,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -221,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 {
     if (instance_ != null) {
       output.writeMessage(1, getInstance());
     }
@@ -239,12 +280,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;
@@ -254,22 +293,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;
@@ -296,96 +334,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
@@ -394,21 +440,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()
@@ -416,16 +464,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();
@@ -445,9 +492,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
@@ -466,7 +513,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 {
@@ -485,38 +533,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;
@@ -524,7 +573,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());
       }
@@ -550,7 +600,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) {
@@ -562,8 +613,13 @@ 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_;
     /**
+     *
+     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -571,12 +627,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 1; + * * @return Whether the instance field is set. */ public boolean hasInstance() { return instanceBuilder_ != null || instance_ != null; } /** + * + * *
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -584,16 +643,21 @@ public boolean hasInstance() {
      * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 1; + * * @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(); } } /** + * + * *
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -616,6 +680,8 @@ public Builder setInstance(com.google.cloud.datafusion.v1beta1.Instance value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -636,6 +702,8 @@ public Builder setInstance(
       return this;
     }
     /**
+     *
+     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -648,7 +716,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;
         }
@@ -660,6 +730,8 @@ public Builder mergeInstance(com.google.cloud.datafusion.v1beta1.Instance value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -680,6 +752,8 @@ public Builder clearInstance() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -689,11 +763,13 @@ public Builder clearInstance() {
      * .google.cloud.datafusion.v1beta1.Instance instance = 1;
      */
     public com.google.cloud.datafusion.v1beta1.Instance.Builder getInstanceBuilder() {
-      
+
       onChanged();
       return getInstanceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -706,11 +782,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_;
       }
     }
     /**
+     *
+     *
      * 
      * The instance resource that replaces the resource on the server. Currently,
      * Data Fusion only allows replacing labels, options, and stack driver
@@ -720,14 +799,17 @@ public com.google.cloud.datafusion.v1beta1.InstanceOrBuilder getInstanceOrBuilde
      * .google.cloud.datafusion.v1beta1.Instance instance = 1;
      */
     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_;
@@ -735,8 +817,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
@@ -747,12 +834,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
@@ -763,16 +853,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
@@ -798,6 +893,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
@@ -809,8 +906,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();
@@ -821,6 +917,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
@@ -836,7 +934,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;
         }
@@ -848,6 +946,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
@@ -871,6 +971,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
@@ -883,11 +985,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
@@ -903,11 +1007,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
@@ -920,21 +1027,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);
     }
 
@@ -944,12 +1054,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();
   }
@@ -958,16 +1068,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;
@@ -982,6 +1092,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 81%
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 45f880c7..421a918b 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,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 UpdateInstanceRequestOrBuilder extends
+public interface UpdateInstanceRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.UpdateInstanceRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -15,10 +33,13 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 1; + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -26,10 +47,13 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * .google.cloud.datafusion.v1beta1.Instance instance = 1; + * * @return The instance. */ com.google.cloud.datafusion.v1beta1.Instance getInstance(); /** + * + * *
    * The instance resource that replaces the resource on the server. Currently,
    * Data Fusion only allows replacing labels, options, and stack driver
@@ -41,6 +65,8 @@ public interface UpdateInstanceRequestOrBuilder extends
   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 +77,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 +94,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 69%
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 8a2f9434..1b9f43cf 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,47 +71,52 @@ 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) {
       throw e.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_;
   /**
+   *
+   *
    * 
    * Name of the Data Fusion instance which need to be upgraded in the form of
    * projects/{project}/locations/{location}/instances/{instance}
@@ -103,6 +125,7 @@ private UpgradeInstanceRequest(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -111,14 +134,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; } } /** + * + * *
    * Name of the Data Fusion instance which need to be upgraded in the form of
    * projects/{project}/locations/{location}/instances/{instance}
@@ -127,16 +151,15 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -145,6 +168,7 @@ public java.lang.String getName() { } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -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.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; } @@ -209,96 +232,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.
@@ -306,21 +337,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()
@@ -328,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();
@@ -347,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_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
@@ -368,7 +400,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;
@@ -378,38 +411,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;
@@ -417,7 +451,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();
@@ -441,7 +476,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) {
@@ -453,6 +489,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -461,13 +499,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -476,6 +514,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -484,15 +524,14 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -500,6 +539,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -508,20 +549,22 @@ public java.lang.String getName() {
      * 
* * 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 Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -530,15 +573,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Name of the Data Fusion instance which need to be upgraded in the form of
      * projects/{project}/locations/{location}/instances/{instance}
@@ -547,23 +593,23 @@ public Builder clearName() {
      * 
* * 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; } + @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); } @@ -573,12 +619,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(); } @@ -587,16 +633,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; @@ -611,6 +657,4 @@ 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/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/v1beta1/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java rename to proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java index 4d41148c..250d212a 100644 --- a/owl-bot-staging/v1beta1/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 @@ -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 UpgradeInstanceRequestOrBuilder extends +public interface UpgradeInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datafusion.v1beta1.UpgradeInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the Data Fusion instance which need to be upgraded in the form of
    * projects/{project}/locations/{location}/instances/{instance}
@@ -16,10 +34,13 @@ public interface UpgradeInstanceRequestOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Name of the Data Fusion instance which need to be upgraded in the form of
    * projects/{project}/locations/{location}/instances/{instance}
@@ -28,8 +49,8 @@ public interface UpgradeInstanceRequestOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + 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..50005959 --- /dev/null +++ b/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java @@ -0,0 +1,675 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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\"V\n\007Version\022\026\n\016version_number\030\001" + + " \001(\t\022\027\n\017default_version\030\002 \001(\010\022\032\n\022availab" + + "le_features\030\003 \003(\t\"\263\001\n\013Accelerator\022V\n\020acc" + + "elerator_type\030\001 \001(\0162<.google.cloud.dataf" + + "usion.v1beta1.Accelerator.AcceleratorTyp" + + "e\"L\n\017AcceleratorType\022 \n\034ACCELERATOR_TYPE" + + "_UNSPECIFIED\020\000\022\007\n\003CDC\020\001\022\016\n\nHEALTHCARE\020\002\"" + + "(\n\017CryptoKeyConfig\022\025\n\rkey_reference\030\001 \001(" + + "\t\"\255\014\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\023\n\013des" + + "cription\030\002 \001(\t\022A\n\004type\030\003 \001(\0162..google.cl" + + "oud.datafusion.v1beta1.Instance.TypeB\003\340A" + + "\002\022\"\n\032enable_stackdriver_logging\030\004 \001(\010\022%\n" + + "\035enable_stackdriver_monitoring\030\005 \001(\010\022\030\n\020" + + "private_instance\030\006 \001(\010\022F\n\016network_config" + + "\030\007 \001(\0132..google.cloud.datafusion.v1beta1" + + ".NetworkConfig\022E\n\006labels\030\010 \003(\01325.google." + + "cloud.datafusion.v1beta1.Instance.Labels" + + "Entry\022G\n\007options\030\t \003(\01326.google.cloud.da" + + "tafusion.v1beta1.Instance.OptionsEntry\0224" + + "\n\013create_time\030\n \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\022C\n\005state\030\014 \001(" + + "\0162/.google.cloud.datafusion.v1beta1.Inst" + + "ance.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\004zo" + + "ne\030\017 \001(\t\022\017\n\007version\030\020 \001(\t\022\036\n\017service_acc" + + "ount\030\021 \001(\tB\005\030\001\340A\003\022\024\n\014display_name\030\022 \001(\t\022" + + "C\n\021available_version\030\023 \003(\0132(.google.clou" + + "d.datafusion.v1beta1.Version\022\031\n\014api_endp" + + "oint\030\024 \001(\tB\003\340A\003\022\027\n\ngcs_bucket\030\025 \001(\tB\003\340A\003" + + "\022B\n\014accelerators\030\026 \003(\0132,.google.cloud.da" + + "tafusion.v1beta1.Accelerator\022\037\n\022p4_servi" + + "ce_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_accoun" + + "t\030\031 \001(\t\022\023\n\013enable_rbac\030\032 \001(\010\022K\n\021crypto_k" + + "ey_config\030\033 \001(\01320.google.cloud.datafusio" + + "n.v1beta1.CryptoKeyConfig\032-\n\013LabelsEntry" + + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032.\n\014Opti" + + "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + "\"F\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t\n\005BASIC\020" + + "\001\022\016\n\nENTERPRISE\020\002\022\r\n\tDEVELOPER\020\003\"\247\001\n\005Sta" + + "te\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\010UPDATIN" + + "G\020\007\022\021\n\rAUTO_UPDATING\020\010\022\022\n\016AUTO_UPGRADING" + + "\020\t:e\352Ab\n\"datafusion.googleapis.com/Insta" + + "nce\022\n\niam_policy\030\002 \001(\0132*.google." + + "cloud.datafusion.v1beta1.IAMPolicy:}\352Az\n" + + "#datafusion.googleapis.com/Namespace\022Spr" + + "ojects/{project}/locations/{location}/in" + + "stances/{instance}/namespaces/{namespace" + + "}\"q\n\026ListNamespacesResponse\022>\n\nnamespace" + + "s\030\001 \003(\0132*.google.cloud.datafusion.v1beta" + + "1.Namespace\022\027\n\017next_page_token\030\002 \001(\t\"\210\001\n" + + "\nDnsPeering\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_project\030\004 \001(\tB\003\340A\001\022\033\n\016target_net" + + "work\030\005 \001(\tB\003\340A\001\"h\n\024AddDnsPeeringRequest\022" + + "\016\n\006parent\030\001 \001(\t\022@\n\013dns_peering\030\002 \001(\0132+.g" + + "oogle.cloud.datafusion.v1beta1.DnsPeerin" + + "g\"\027\n\025AddDnsPeeringResponse\"<\n\027RemoveDnsP" + + "eeringRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\004zone\030\002 " + + "\001(\tB\003\340A\002\"\032\n\030RemoveDnsPeeringResponse\"{\n\026" + + "ListDnsPeeringsRequest\022:\n\006parent\030\001 \001(\tB*" + + "\340A\002\372A$\n\"datafusion.googleapis.com/Instan" + + "ce\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + + "\t\"u\n\027ListDnsPeeringsResponse\022A\n\014dns_peer" + + "ings\030\001 \003(\0132+.google.cloud.datafusion.v1b" + + "eta1.DnsPeering\022\027\n\017next_page_token\030\002 \001(\t" + + "*b\n\rNamespaceView\022\036\n\032NAMESPACE_VIEW_UNSP" + + "ECIFIED\020\000\022\030\n\024NAMESPACE_VIEW_BASIC\020\001\022\027\n\023N" + + "AMESPACE_VIEW_FULL\020\0022\311\026\n\nDataFusion\022\332\001\n\025" + + "ListAvailableVersions\022=.google.cloud.dat" + + "afusion.v1beta1.ListAvailableVersionsReq" + + "uest\032>.google.cloud.datafusion.v1beta1.L" + + "istAvailableVersionsResponse\"B\202\323\344\223\0023\0221/v" + + "1beta1/{parent=projects/*/locations/*}/v" + + "ersions\332A\006parent\022\272\001\n\rListInstances\0225.goo" + + "gle.cloud.datafusion.v1beta1.ListInstanc" + + "esRequest\0326.google.cloud.datafusion.v1be" + + "ta1.ListInstancesResponse\":\202\323\344\223\0024\0222/v1be" + + "ta1/{parent=projects/*/locations/*}/inst" + + "ances\022\251\001\n\013GetInstance\0223.google.cloud.dat" + + "afusion.v1beta1.GetInstanceRequest\032).goo" + + "gle.cloud.datafusion.v1beta1.Instance\":\202" + + "\323\344\223\0024\0222/v1beta1/{name=projects/*/locatio" + + "ns/*/instances/*}\022\354\001\n\016CreateInstance\0226.g" + + "oogle.cloud.datafusion.v1beta1.CreateIns" + + "tanceRequest\032\035.google.longrunning.Operat" + + "ion\"\202\001\202\323\344\223\002>\"2/v1beta1/{parent=projects/" + + "*/locations/*}/instances:\010instance\332A\033par" + + "ent,instance,instance_id\312A\035\n\010Instance\022\021O" + + "perationMetadata\022\327\001\n\016DeleteInstance\0226.go" + + "ogle.cloud.datafusion.v1beta1.DeleteInst" + + "anceRequest\032\035.google.longrunning.Operati" + + "on\"n\202\323\344\223\0024*2/v1beta1/{name=projects/*/lo" + + "cations/*/instances/*}\332A\004name\312A*\n\025google" + + ".protobuf.Empty\022\021OperationMetadata\022\356\001\n\016U" + + "pdateInstance\0226.google.cloud.datafusion." + + "v1beta1.UpdateInstanceRequest\032\035.google.l" + + "ongrunning.Operation\"\204\001\202\323\344\223\002G2;/v1beta1/" + + "{instance.name=projects/*/locations/*/in" + + "stances/*}:\010instance\332A\024instance,update_m" + + "ask\312A\035\n\010Instance\022\021OperationMetadata\022\320\001\n\017" + + "RestartInstance\0227.google.cloud.datafusio" + + "n.v1beta1.RestartInstanceRequest\032\035.googl" + + "e.longrunning.Operation\"e\202\323\344\223\002?\":/v1beta" + + "1/{name=projects/*/locations/*/instances" + + "/*}:restart:\001*\312A\035\n\010Instance\022\021OperationMe" + + "tadata\022\320\001\n\017UpgradeInstance\0227.google.clou" + + "d.datafusion.v1beta1.UpgradeInstanceRequ" + + "est\032\035.google.longrunning.Operation\"e\202\323\344\223" + + "\002?\":/v1beta1/{name=projects/*/locations/" + + "*/instances/*}:upgrade:\001*\312A\035\n\010Instance\022\021" + + "OperationMetadata\022\316\001\n\017RemoveIamPolicy\0227." + + "google.cloud.datafusion.v1beta1.RemoveIa" + + "mPolicyRequest\0328.google.cloud.datafusion" + + ".v1beta1.RemoveIamPolicyResponse\"H\202\323\344\223\002B" + + "\"=/v1beta1/{resource=projects/*/location" + + "s/*/**}:removeIamPolicy:\001*\022\323\001\n\016ListNames" + + "paces\0226.google.cloud.datafusion.v1beta1." + + "ListNamespacesRequest\0327.google.cloud.dat" + + "afusion.v1beta1.ListNamespacesResponse\"P" + + "\202\323\344\223\002A\022?/v1beta1/{parent=projects/*/loca" + + "tions/*/instances/*}/namespaces\332A\006parent" + + "\022\330\001\n\rAddDnsPeering\0225.google.cloud.datafu" + + "sion.v1beta1.AddDnsPeeringRequest\0326.goog" + + "le.cloud.datafusion.v1beta1.AddDnsPeerin" + + "gResponse\"X\202\323\344\223\002I\"D/v1beta1/{parent=proj" + + "ects/*/locations/*/instances/*}/dnsPeeri" + + "ngs:add:\001*\332A\006parent\022\344\001\n\020RemoveDnsPeering" + + "\0228.google.cloud.datafusion.v1beta1.Remov" + + "eDnsPeeringRequest\0329.google.cloud.datafu" + + "sion.v1beta1.RemoveDnsPeeringResponse\"[\202" + + "\323\344\223\002L\"G/v1beta1/{parent=projects/*/locat" + + "ions/*/instances/*}/dnsPeerings:remove:\001" + + "*\332A\006parent\022\334\001\n\017ListDnsPeerings\0227.google." + + "cloud.datafusion.v1beta1.ListDnsPeerings" + + "Request\0328.google.cloud.datafusion.v1beta" + + "1.ListDnsPeeringsResponse\"V\202\323\344\223\002G\022E/v1be" + + "ta1/{parent=projects/*/locations/*/insta" + + "nces/*}/dnsPeerings:list\332A\006parent\032M\312A\031da" + + "tafusion.googleapis.com\322A.https://www.go" + + "ogleapis.com/auth/cloud-platformB\333\001\n#com" + + ".google.cloud.datafusion.v1beta1P\001ZIgoog" + + "le.golang.org/genproto/googleapis/cloud/" + + "datafusion/v1beta1;datafusion\252\002\037Google.C" + + "loud.DataFusion.V1Beta1\312\002\037Google\\Cloud\\D" + + "ataFusion\\V1beta1\352\002\"Google::Cloud::DataF" + + "usion::V1beta1b\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", + }); + 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", + }); + 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.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 72% 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 c3f8be9c..932a6e29 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; @@ -26,16 +44,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) @@ -55,40 +72,41 @@ 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; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + 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; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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(); @@ -97,27 +115,33 @@ 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); } 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 @@ -126,29 +150,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 { @@ -159,11 +183,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 @@ -174,34 +201,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. */ @@ -209,20 +244,23 @@ 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); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +272,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 (!getVersionNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, versionNumber_); } @@ -258,8 +295,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; @@ -277,19 +313,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -304,8 +338,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(); @@ -315,118 +348,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() @@ -434,16 +476,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(); @@ -457,9 +498,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 @@ -478,7 +519,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_; @@ -495,38 +537,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; @@ -580,22 +623,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; @@ -604,20 +650,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 { @@ -625,66 +672,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 @@ -692,71 +749,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. */ @@ -764,80 +837,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() { @@ -847,28 +930,30 @@ 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(); 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); } @@ -878,12 +963,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(); } @@ -892,16 +977,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; @@ -916,6 +1001,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 68% 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 fab3465e..20616424 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,80 +1,114 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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); } 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 From 3efb8d8b1d7ba597e2f4d69f1558bed670ffa049 Mon Sep 17 00:00:00 2001 From: Neenu1995 Date: Thu, 5 Aug 2021 18:58:00 -0400 Subject: [PATCH 3/4] chore: add clirr ignored differences --- pom.xml | 2 +- .../clirr-ignored-differences.xml | 4 ++++ .../clirr-ignored-differences.xml | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index eba042d1..bc0c360b 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.13.1 + 1.0.0 diff --git a/proto-google-cloud-data-fusion-v1/clirr-ignored-differences.xml b/proto-google-cloud-data-fusion-v1/clirr-ignored-differences.xml index aef005f6..c62a7c50 100644 --- a/proto-google-cloud-data-fusion-v1/clirr-ignored-differences.xml +++ b/proto-google-cloud-data-fusion-v1/clirr-ignored-differences.xml @@ -16,4 +16,8 @@ com/google/cloud/datafusion/v1/*OrBuilder boolean has*(*) + + 8001 + com/google/cloud/datafusion/v1/InstanceName* + diff --git a/proto-google-cloud-data-fusion-v1beta1/clirr-ignored-differences.xml b/proto-google-cloud-data-fusion-v1beta1/clirr-ignored-differences.xml index 5de8e032..cb02b727 100644 --- a/proto-google-cloud-data-fusion-v1beta1/clirr-ignored-differences.xml +++ b/proto-google-cloud-data-fusion-v1beta1/clirr-ignored-differences.xml @@ -16,4 +16,8 @@ com/google/cloud/datafusion/v1beta1/*OrBuilder boolean has*(*) + + 8001 + com/google/cloud/datafusion/v1beta1/NamespaceName* + From a56ae08ac6da06ce61006d78445675efb66b35fd Mon Sep 17 00:00:00 2001 From: Neenu1995 Date: Mon, 9 Aug 2021 15:41:41 -0400 Subject: [PATCH 4/4] chore: fix dependencies --- proto-google-cloud-data-fusion-v1/pom.xml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/proto-google-cloud-data-fusion-v1/pom.xml b/proto-google-cloud-data-fusion-v1/pom.xml index 7fbd6365..201edf4f 100644 --- a/proto-google-cloud-data-fusion-v1/pom.xml +++ b/proto-google-cloud-data-fusion-v1/pom.xml @@ -21,14 +21,6 @@ com.google.api.grpc proto-google-common-protos - - com.google.api - api-common - - - com.google.guava - guava -